17 Jul 1998
http://www.ibm.com/nc/pubs
Migrating Release 2.5 to Release 3
When an IBM Network Station is replacing a certain type of terminal or environment, it may be desirable to override the default behavior of the IBM Network Station to behave like the terminal it is intended to replace. This document describes some solutions to configure the IBM Network Stations for some typical environments. The solutions shown in the Release 2.5 section apply to all Network Stations. The solutions shown in the Release 3 section apply to a specific user (except where indicated).
IBM provides program support for configuration files automatically edited through the ordinary use of the IBM Network Station Manager program, and the files manually edited in accordance with the full-screen solutions in this document.
Refer to Editing Configuration Files for information on what editor to use and tips on how to edit the configuration files.
These solutions show IBM supported changes that you can make by hand editing certain configuration files. The changes shown in this section apply to all IBM Network Stations.
In this section we refer to placeholders for path names. When you
see the following placeholders in the example files, replace them with the
directory paths that are shown in the tables below:
| BOOTPATH/ |
---|---|
AS/400 | /QIBM/ProdData/NetworkStation/ |
OS/390 | /usr/lpp/tcpip/nstation/standard/ |
PC Server | /nstation/ |
RS/6000 | /usr/netstation/ |
VM/ESA | /QIBM/ProdData/NetworkStation/ |
| DBOOTPATH/ |
---|---|
AS/400 | /QIBM/ProdData/NetworkStation/ |
OS/390 | /usr/lpp/tcpip/nstation/standard/ |
PC Server | c:\nstation\ (where c:\ is the default installation drive and path) |
RS/6000 | /usr/netstation/ |
VM/ESA | /QIBM/ProdData/NetworkStation/ |
| MODS/ |
---|---|
AS/400 | /QIBM/ProdData/NetworkStation/mods/ |
OS/390 | /usr/lpp/tcpip/nstation/standard/mods/ |
PC Server | /nstation/mods/ |
RS/6000 | /usr/netstation/mods/ |
VM/ESA | /QIBM/ProdData/NetworkStation/mods/ |
| DMODS/ |
---|---|
AS/400 | /QIBM/ProdData/NetworkStation/mods/ |
OS/390 | /usr/lpp/tcpip/nstation/standard/mods/ |
PC Server | c:\nstation\mods\ (where c:\ is the default installation drive and path) |
RS/6000 | /usr/netstation/mods/ |
VM/ESA | /QIBM/ProdData/NetworkStation/mods/ |
| NSM_PROD_SYSDEFAULTS/ |
---|---|
AS/400 | /QIBM/ProdData/NetworkStation/SysDefaults/ |
OS/390 | /usr/lpp/tcpip/nstation/standard/SysDefaults/ |
PC Server | /nstation/ProdData/SysDef/ |
RS/6000 | /usr/netstation/SysDefaults/ |
VM/ESA | /QIBM/ProdData/NetworkStation/SysDefaults/ |
| NSM_ADMIN_SYSDEFAULTS/ |
---|---|
AS/400 | /QIBM/UserData/NetworkStation/SysDefaults/ |
OS/390 | /etc/nstation/system/SysDefaults/ |
PC Server | /nstation/UserData/SysDef/ |
RS/6000 | /usr/netstation/nsm/SysDefaults/ |
VM/ESA | /QIBM/UserData/NetworkStation/SysDefaults/ |
| DNSM_ADMIN_SYSDEFAULTS/ |
---|---|
AS/400 | /QIBM/UserData/NetworkStation/SysDefaults/ |
OS/390 | /etc/nstation/system/SysDefaults/ |
PC Server | c:\nstation\UserData\SysDef\ (where c:\ is the default installation drive and path) |
RS/6000 | /usr/netstation/nsm/SysDefaults/ |
VM/ESA | /QIBM/UserData/NetworkStation/SysDefaults/ |
| CONFIGPATH/ |
---|---|
AS/400 | /QIBM/UserData/NetworkStation/StationConfig/ |
OS/390 | /etc/nstation/system/StationConfig/ |
PC Server | c:\nstation\configs\ (where c:\ is the default installation drive and path) |
RS/6000 | /usr/netstation/configs/ |
VM/ESA | /QIBM/UserData/NetworkStation/StationConfig/ |
Some general notes about the configuration file templates in this section:
Notes:
set tcpip-name-server-protocol = dns set tcpip-name-servers[-1] = {"10.2.3.2"} set tcpip-dns-default-domain = mydomain.com set tcpip-name-local-cache = { { localhost 127.0.0.1 } }
set tcpip-name-local-cache = { { bigsmile 10.2.3.232 } { bigeasy 10.2.3.248 } { localhost 127.0.0.1 } { sorry 10.2.3.211 } }
This solution allows all Network Stations to display a full screen 3270 emulator session without a login dialog.
In this solution:
#################### 3270 full screen template ########################################### ## START CONFIGPATH/defaults.dft ## 3270 template definition ## ## START TCPIP configuration ## ## Either use name-local-cache stanza or other three lines ## Comment out one of the choices below set tcpip-name-server-protocol = dns set tcpip-name-servers[-1] = {"10.2.3.2"} set tcpip-dns-default-domain = mydomain.com set tcpip-name-local-cache = { # { bigsmile 10.2.3.232 } # { bigeasy 10.2.3.248 } { localhost 127.0.0.1 } # { sorry 10.2.3.211 } } ## END TCPIP configuration ## ## ## START environment variables configuration ## ## Have to set these since Login is not being used ## The PATH for these values may be different between platforms ## set pref-environment = { {"PATH" "MODS/"} {"HOME" "BOOTPATH/"} {"BOOTPATH" "BOOTPATH/"} {"LANGID" "ENU" } {"MRIPATH" "MRI2924"} {"NSM_PROD_SYSDEFAULTS" "NSM_PROD_SYSDEFAULTS/"} {"NSM_ADMIN_SYSDEFAULTS" "NSM_ADMIN_SYSDEFAULTS/"} } ## END environment variables configuration ## ## ## START modules configuration ## ## set these to avoid loading unneeded modules to conserve memory ## set modules-load-policy = {{ }} ## END modules configuration ## ## ## START screen background configuration ## ## Set this to cover any non-fit of the emulator screen ## set pref-screen-background-type=solid-color set pref-screen-background-color=black ## END screen background configuration ## ## set exec-startup-commands = { {"ns3270 -fn 8x13,9x15,10x20,fixedR28 -LANGID ENU <Host> "} } ## END CONFIGPATH/defaults.dft ##########################################################################################
Notes:
Display Resolution | set exec-startup-commands = |
640x480 | "ns3270 -fn 8x13 -LANGID ENU <Host>" |
800x600 | "ns3270 -fn 9x15 -LANGID ENU <Host>" |
800x600* | "ns3270 -fn 9x15,8x13 -LANGID ENU <Host>" |
1024x768 | "ns3270 -fn 10x20 -LANGID ENU <Host>" |
1024x768* | "ns3270 -fn 10x20,9x15,8x13 -LANGID ENU <Host>" |
1280x1024 | "ns3270 -fn fixedR28 -LANGID ENU <Host>" |
1280x1024* | "ns3270 -fn fixedR28,10x20,9x15,8x13 -LANGID ENU <Host>" |
Notes:
|
set exec-startup-commands = { {wm} {"ns3270 -fn 8x13,9x15,10x20,fixedR28 -LANGID ENU <Host> "} }
Note: | This file is normally created and edited by the IBM Network Station Manager program. If this file does not exist, you must create the file and directory. |
########################################################################################## ## START 3270 preferences file ## DNSM_ADMIN_SYSDEFAULTS/NS3270/pref NS3270*KeyRemap: disable NS3270*Keymap101Path: 0 NS3270*Keymap102Path: 0 NS3270*ColorMap: basic NS3270*ColorMapPath: 0 NS3270*rows: 32 NS3270*cols: 80 NS3270*autoAction: false NS3270*buttonBox: false NS3270*Speckey: false NS3270*Port: 23 NS3270*Graphics: false NS3270*DefaultColorMapPath: 0 ## END 3270 preferences file ##########################################################################################
This solution allows all Network Stations to display a full screen 5250 emulator session without a login dialog.
In this solution:
#################### 5250 full screen template ################################################ ## START CONFIGPATH/defaults.dft ## 5250 template definition ## ## START TCPIP configuration ## ## Either use name-local-cache stanza or other three lines ## Comment out one of the choices below set tcpip-name-server-protocol = dns set tcpip-name-servers[-1] = {"10.2.3.2"} set tcpip-dns-default-domain = mydomain.com set tcpip-name-local-cache = { # { bigsmile 10.2.3.232 } # { bigeasy 10.2.3.248 } { localhost 127.0.0.1 } # { sorry 10.2.3.211 } } ## END TCPIP configuration ## ## ## START environment variables configuration ## ## Have to set these since Login is not being used ## The PATH for these values may be different between platforms ## set pref-environment = { {"PATH" "MODS/"} {"HOME" "BOOTPATH/"} {"BOOTPATH" "BOOTPATH/"} {"LANGID" "ENU" } {"MRIPATH" "MRI2924"} {"NSM_PROD_SYSDEFAULTS" "NSM_PROD_SYSDEFAULTS/"} {"NSM_ADMIN_SYSDEFAULTS" "NSM_ADMIN_SYSDEFAULTS/"} } ## END environment variables configuration ## ## ## START modules configuration ## ## set these to avoid loading unneeded modules to conserve memory ## set modules-load-policy = {{ }} ## END modules configuration ## ## ## START screen background configuration ## ## Set this to cover any non-fit of the emulator screen ## set pref-screen-background-type=solid-color set pref-screen-background-color=black ## END screen background configuration ## ## set exec-startup-commands = {{"ns5250 -geometry 9999x9999+0+0 <Host> "}} ## END CONFIGPATH/defaults.dft ##########################################################################################
Notes:
set exec-startup-commands = { {wm} {"ns5250 -geometry 9999x9999+0+0 <Host> "} }
Use the example below to create a pref file in the DNSM_ADMIN_SYSDEFAULTS/ directory.
Note: | This file is normally created and edited by the IBM Network Station Manager program. If this file does not exist, you must create the file and directory. |
########################################################################################## ## START 5250 preferences file ## DNSM_ADMIN_SYSDEFAULTS/NS5250/pref NS5250*27x132: enable NS5250*ImageView: disable NS5250*ColumnSeparator: disable NS5250*KeyRemap: disable NS5250*ColorMap: basic NS5250*KeyPad: disable_and_hide NS5250*PlayBack: enable NS5250*Control: enable NS5250*Edit: enable NS5250*LocalPrint: enable NS5250*ChangeIPAddress: enable NS5250*Command: enable NS5250*Keymap101Path: 0 NS5250*Keymap102Path: 0 NS5250*Keymap122Path: 0 NS5250*ColorMapPath: 0 NS5250*PlayBackPath: 0 NS5250*DefaultColorMapPath: 0 ## END 5250 preferences file ##########################################################################################
This solution allows a Network Stations to display a full screen Windows desktop without a login dialog.
In this solution:
Use the example below to create a defaults.dft file in the CONFIGPATH/ directory.
#################### WinCenter full screen template ########################################### ## START CONFIGPATH/defaults.dft ## WinCenter template definition ## ## START TCPIP configuration ## ## Either use name-local-cache stanza or other three lines ## Comment out one of the choices below set tcpip-name-server-protocol = dns set tcpip-name-servers[-1] = {"10.2.3.2"} set tcpip-dns-default-domain = mydomain.com set tcpip-name-local-cache = { # { bigsmile 10.2.3.232 } # { bigeasy 10.2.3.248 } { localhost 127.0.0.1 } # { sorry 10.2.3.211 } } ## END TCPIP configuration ## ## ## START environment variables configuration ## ## Have to set these since Login is not being used ## The PATH for these values may be different between platforms ## set pref-environment = { {"PATH" "MODS/"} {"HOME" "BOOTPATH/"} {"BOOTPATH" "BOOTPATH/"} {"LANGID" "ENU" } {"MRIPATH" "MRI2924"} {"NSM_PROD_SYSDEFAULTS" "NSM_PROD_SYSDEFAULTS/"} {"NSM_ADMIN_SYSDEFAULTS" "NSM_ADMIN_SYSDEFAULTS/"} } ## END environment variables configuration ## ## ## START xserver configuration ## ## these lines guarantee that the WinCenter server ## will be able to display on the Network Station set xserver-access-control-enabled = false set xserver-access-control-enabled-default = false ## END xserver configuration ## ## ## START modules configuration ## ## set this to be empty avoid loading unneeded modules to conserve memory ## set modules-load-policy = {{ }} ## END modules configuration ## ## ## START screen background configuration ## ## Set this to cover any non-fit of the screen ## set pref-screen-background-type=solid-color set pref-screen-background-color=black ## END screen background configuration ## ## ##START command to execute configuration ## set exec-startup-commands = { {"wincenter <Host> -resolution fullscreen -noaudio " } } ## ## END command to execute configuration ## ## END CONFIGPATH/defaults.dft ##########################################################################################
Notes:
This solution allows all Network Stations to display a full screen UNIX common desktop environment without a login dialog.
In this solution:
Use the example below to create a defaults.dft file in the CONFIGPATH/ directory.
#################### UNIX Login full screen template ########################################### ## START CONFIGPATH/defaults.dft ## UNIX Login template definition ## ## START TCPIP configuration ## ## Either use name-local-cache stanza or other three lines ## Comment out one of the choices below set tcpip-name-server-protocol = dns set tcpip-name-servers[-1] = {"10.2.3.2"} set tcpip-dns-default-domain = mydomain.com set tcpip-name-local-cache = { # { bigsmile 10.2.3.232 } # { bigeasy 10.2.3.248 } { localhost 127.0.0.1 } # { sorry 10.2.3.211 } } ## END TCPIP configuration ## ## ## START environment variables configuration ## ## Have to set these since Login is not being used ## The PATH for these values may be different between platforms ## set pref-environment = { {"PATH" "MODS/"} {"HOME" "BOOTPATH/"} {"BOOTPATH" "BOOTPATH/"} {"LANGID" "ENU" } {"MRIPATH" "MRI2924"} {"NSM_PROD_SYSDEFAULTS" "NSM_PROD_SYSDEFAULTS/"} {"NSM_ADMIN_SYSDEFAULTS" "NSM_ADMIN_SYSDEFAULTS/"} } ## END environment variables configuration ## ## ## START modules configuration ## ## set this to be empty avoid loading unneeded modules to conserve memory ## set modules-load-policy = {{ }} ## END modules configuration ## ## ## START screen background configuration ## ## Set this to cover any non-fit of the screen ## set pref-screen-background-type=solid-color set pref-screen-background-color=black ## END screen background configuration ## ## ## START command to execute configuration ## set exec-disabled-commands = {{ }} set exec-startup-commands = {{ "login <Host>" }} ## END command to execute configuration ## ## END CONFIGPATH/defaults.dft ##########################################################################################
Notes:
The following solutions provide a way to:
The Release 2.5 solutions bypass the Network Station login. This prevents many setup functions from taking place. In Release 3, the login can be suppressed, rather than bypassed. This allows the required setup functions to take place.
Suppression of the Network Station login means that the Network Station automatically logs itself in under a special userid. The login screen is not shown to the user. We refer to the userid that is used by the Network Station as the kiosk userid.
In order to suppress the login, a special kiosk userid must be created on your server. For each particular appearance of a full screen application, you must create a userid. Use the Network Station Manager program to configure the full screen application for that userid. If you have more than one userid, you may want to create a user group for these userids. Each Network Station that you associate with the userid can login and automatically start a full screen application. These special kiosk userids and passwords (along with the Network Station host name or IP address that you want to associate) must be added to a special kiosk file that is encoded and saved on your server.
If the session hangs or the configuration changes, the Network Station must be re-booted to restart the session.
If name resolution and TCP/IP are not working properly, use the IBM Network Station Manager program to configure this information. Go to Hardware->Workstations to configure the Network Station's Hosts table and domain name server.
In this section we refer to PRODBASE/ and USERBASE/. These are
placeholders for path names. The path names for these placeholders are
shown below:
| PRODBASE/ |
---|---|
AS/400 | /QIBM/ProdData/NetworkStation/ |
OS/390 | /usr/lpp/nstation/standard/ |
PC Server | c:\nstation\prodbase\ (where c:\ is the default installation directory and path) |
RS/6000 | /usr/netstation/ |
VM/ESA | /QIBM/ProdData/NetworkStation/ |
| USERBASE/ |
---|---|
AS/400 | /QIBM/UserData/NetworkStation/ |
OS/390 | /etc/nstation/ |
PC Server | c:\nstation\userbase\ (where c:\ is the default installation directory and path) |
RS/6000 | /usr/netstation/nsm/ |
VM/ESA | /QIBM/UserData/NetworkStation/ |
This solution allows a Network Station to behave like a 3270 terminal.
__ 1. | Create a userid on your server that can be used for the kiosk userid. | ||||||||||||||||
__ 2. | Use the IBM Network Station Manager to configure the kiosk userid for the following:
| ||||||||||||||||
__ 3. | You may want to set other options for the kiosk userid. For example:
| ||||||||||||||||
__ 4. | Create the kiosks.nsl file. See Suppressed Login.
|
This solution allows a Network Station to behave like a 5250 terminal.
__ 1. | Create a userid on your server that can be used for the kiosk userid. | ||||||||||||||||
__ 2. | Use the IBM Network Station Manager to configure the kiosk userid for the following:
| ||||||||||||||||
__ 3. | You may want to set other options for the kiosk userid. For example:
| ||||||||||||||||
__ 4. | Create the kiosks.nsl file. See Suppressed Login.
|
This solution allows a Network Station to behave like a Windows PC desktop.
__ 1. | Create a userid on your server that can be used for the kiosk userid. | ||||||||||||||||||||||
__ 2. | Use the IBM Network Station Manager to configure the kiosk userid for the following:
| ||||||||||||||||||||||
__ 3. | Create the kiosks.nsl file. See Suppressed Login.
|
This solution allows a Network Station to behave like an X-terminal.
__ 1. | Create a userid on your server that can be used for the kiosk userid. | ||||||||||||||
__ 2. | Use the IBM Network Station Manager to configure the kiosk userid for the following:
| ||||||||||||||
__ 3. | Edit the USERBASE/StationConfig/defaults.dft file. This file can be created if it does not exist. Add the following line to the file: set exec-disabled-commands = {{ }} This line guarantees that the X login program is allowed to run on all the Network Stations. This line applies to all Network Stations. | ||||||||||||||
__ 4. | Create the kiosks.nsl file. See Suppressed Login.
|
This solution allows a Network Station to display a full screen NC Navigator session.
__ 1. | Create a userid on your server that can be used for the kiosk userid. | ||||||||||||||
__ 2. | Use the IBM Network Station Manager to configure the kiosk userid for the following:
| ||||||||||||||
__ 3. | You may want to set other options for the kiosk id. For example:
| ||||||||||||||
__ 4. | Create the kiosks.nsl file. See Suppressed Login. | ||||||||||||||
__ 5. | If you want to customize the window manager, create and edit the USERBASE/SysDef/pref.dft file. Use the example statements below when you do not want the kiosk users to be able close or minimize the NC Navigator Window. Note that these statements will affect all Network Stations (not just kiosks) that run NC Navigator. ! This statement controls the window manager functions that are available for the NC Navigator window. ! This statement tells the window manager to allow no window functions. ! If a plus sign precedes the first function, then the window manager starts with no function and adds functions. ! If a minus sign preceeds the first function, then the window manager starts with all functions and starts subtracting functions. ! The function values that are available are: all, none, resize, move, minimize, and close. mwm*Navio.clientFunctions: none ! This statement controls the window decorations that are around the NC Navigator window. ! This statement tells the window manager to show the title and border. ! If a plus sign precedes the first decoration, then the window manager starts with no decorations and adds decorations. ! If a minus sign preceeds the first decoration, then the window manager starts with all decorations and starts subtracting decorations. ! The decorations values that are available are: all, maximize, minimize, none, resizeh (resize handles), menu, border, and title. mwm*Navio.clientDecoration: +border +title
|
In order to keep the login window from being displayed, do the following:
__ 1. | Ensure that the following PTFs are applied for your platform:
| ||||||||||||||||||||||||||||||||||||||||||||
__ 2. |
Attention: Review the following security
considerations:
| ||||||||||||||||||||||||||||||||||||||||||||
__ 3. | Review these DHCP considerations:
| ||||||||||||||||||||||||||||||||||||||||||||
__ 4. | Create a file using the security consideration mentioned above. Use any file name other than kiosks.nsl. For EBCDIC platforms (AS/400, VM/ESA, or OS/390), the unencoded file must be created in EBCDIC format, not ASCII format. If the unencoded file is created in ASCII format on these platforms, unpredictable results may occur. | ||||||||||||||||||||||||||||||||||||||||||||
Edit the file to add the Network Station IP address or host name, kiosk userid, and password. The values should be separated by one or more spaces. For example: 10.9.99.99 kioskid1 password1 kiosk kioskid2 password2 In this example, the IP address 10.9.99.99 is associated with kioskid1. The Network Station at 10.9.99.99 will auto-login under the userid of kioskid1 and use the preferences of kioskid1. You can use wildcards (that match patterns) to specify the IP address or
hostname. Wildcard usage is in regular expression notation.
For example:
| |||||||||||||||||||||||||||||||||||||||||||||
__ 6. | Run the program to encode the file. The program creates the
kiosks.nsl file and places it in theUSERBASE/Station Config/
directory (PRODBASE/configs\ for PC Server).
If an error code is returned by the program, use the following table for
an explanation:
|
If you created full screen sessions by using any of the Release 2.5 solutions, you need to do the following before you install Release 3:
__ 1. | Remove all lines that have been added to defaults.dft. If you added lines to allow TCP/IP name resolution (DNS or name cache) to work, then you can leave these lines in the file. | ||||
__ 2. | If you edited DNSM_ADMIN_SYSDEFAULTS/NS3270/pref, note that, with the exception of the NS3270*autoAction line, all lines are now configurable through the Release 3 Network Station Manager program. You should do the following:
| ||||
__ 3. | Install IBM Network Station Manager Release 3. | ||||
__ 4. | Add the NS3270*autoAction line to USERBASE/SysDef/pref.dft.
|
Notes:
|