[Top] [Prev] [Next] [Bottom]
This chapter helps you prevent, identify, and solve problems with your PortMaster configuration.
The following topics are discussed:
See the Command Line Administrator's Guide for more detailed command descriptions and instructions.
To ensure that the settings you configure on each port take effect, you must reset the port. After you finish configuring your PortMaster, back up the configuration so that you can recreate it if the configuration becomes corrupted.
PortMaster ports should be reset after any change to their configuration to make the new settings active. Resetting a port causes DTR to be held low for 500ms. Ports are reset when a connection drops.
Use the following commands to reset all ports or specific ports:
The PortMaster configuration should be backed up in case your PortMaster settings become corrupted. You can back up the configuration to another PortMaster, to a UNIX host, or to a PC (using PMconsole).
The backup file is not in human-readable form but can be reloaded by means of the pminstall program. The program used to back up the PortMaster configuration is /usr/portmaster/pmreadconf.
Once the output file is created, change its permissions to 600 and move the file to the /usr/portmaster/pm_data directory, where it can be read by pminstall.
Use the following commands to back up your PortMaster configuration:
Use the information in this section to troubleshoot your network. If you suspect you have a network problem, follow these steps to help you determine the exact cause:
If these steps are ineffective, use the information under "Identifying Network Problems-Additional Approaches" on page 20-6.
If you cannot identify the problem, contact Livingston Technical Support.
Note ¯
Always include the version number of your ComOS when reporting problems to Livingston Technical Support. Refer to "1-Determine the Software Version" on page 20-3 for instructions.
To determine the version of ComOS on your PortMaster, log in as !root and use the following command:
Note ¯
The command line can be accessed from a console terminal regardless of network condition.
To set the PortMaster console port S0-or C0 on some PortMaster products-into diagnostic mode, follow these steps:
-
Make sure the power switch on the PortMaster is set to OFF.
-
Attach a terminal or workstation to the console port S0-or C0-using a null modem cable.
-
Configure the terminal or workstation in terminal emulation mode for 9600 baud,
8 data bits, 1 stop bit, and no parity. For more information, refer to the hardware
installation guide that came with your PortMaster.
-
Set DIP switch 1 on the back of the PortMaster to the up position.
-
DIP switch 1 is the leftmost switch. Refer to your hardware installation guide for
detailed information about the PortMaster DIP switches.
-
Turn the power on and observe the diagnostic output.
-
Refer to the troubleshooting chapter of your hardware installation guide for more
information on diagnostic boot messages.
You can use the ping command to verify connectivity between your PortMaster and devices on your network. The ping command sends an ICMP echo request to the host specified and listens for the corresponding echo reply from the specified host. If a reply is received, connectivity between the PortMaster and the device is sound.
If no reply is received, connectivity is failing somewhere on your network between the machine issuing the ping request and the specified device.
To ping a device on your network, use the following command:
To stop the ping process, enter the command with no IP address or hostname.
If you do not receive a response to the ping command, verify the following:
If you have verified that everything is connected properly, check the configuration of your PortMaster interfaces using the ifconfig command. The ifconfig command allows you to view the active configuration of each network interface by displaying the name of the interface, various flags, and other configuration information.
The ifconfig flags are described in Table 20-1.
The second and third lines of the ifconfig response contain the information described in Table 20-2.
If you cannot identify the problem after following the steps under "Identifying Network Problems-Simple Steps" on page 20-2, use the following information to help you:
You can establish an administrative Telnet session to a remote PortMaster. The PortMaster supports up to four administrative Telnet connections at once.
Establishing a Telnet Session. To establish an administrative Telnet session, telnet to your PortMaster and log in as !root with your administrative password.
Displaying Telnet Messages. You can use the set console command to set the port used for an administrative Telnet session as the console port. Doing so allows you to display messages sent to this port on the console terminal or workstation. To release the Telnet port from console use, use the reset console command. Livingston recommends that you reset the console at the end of every Telnet session.
Troubleshooting the Session. If you are having trouble establishing an administrative Telnet session, do the following on the PortMaster:
-
Verify the TCP port used for Telnet access with the show global command.
-
Check for Telnet sessions by using the show netconns command and looking for administrative connections to that port.
-
Reset any unused connections with the reset nHandle command.
-
Replace Handle with the network number shown in the first column of the
show netconns output.
Note ¯
Although you can have up to four Telnet sessions, you can have only one pmcommand, pmconsole, pminstall, or pmreadconf program running at one time with a given PortMaster, unless you use the set maximum pmconsole Number command to increase the default to a number between 1 and 10.
You can use the traceroute command to identify the routers used to reach a remote host. The traceroute command sends UDP packets to the specified host and listens for ICMP messages returning. When you enter the hostname or IP address of the destination host with the traceroute command, a list of router addresses in the order encountered is printed.
To trace the route to a remote host, use the following command:
To stop the traceroute utility, issue the command with no IP address.
The ptrace command allows you to see packet information as it passes through the PortMaster. Use filters to narrow the ptrace output to only those packets of interest.
The ptrace command uses the name of a filter as its argument. All packets passing through the PortMaster are evaluated against the selected filter, except for UDP and ICMP packets that are generated by the PortMaster itself.
Packets that are permitted by the filter are displayed on the console with the following packet information:
You can also display the name of the interface through which the packets are passing, in addition to the packets defined by the filter, by using the following command:
If no filter is specified with the ptrace command, packet tracing is disabled.
Caution ¯
When debugging from a Telnet session, be very careful not to use ptrace on Telnet packets going between the PortMaster and the host from which you are using Telnet. Doing so can create an endless loop of messages.
The following example uses a filter named all that denies all Telnet packets while allowing all other IP traffic for evaluation
:
To stop viewing packet trace information, use the following command:
If necessary, you can disable a synchronous network hardwired port by setting its IP address to 0.0.0.0 and the destination IP address to 0.0.0.0.
To disable a synchronous hardwired port, use the following commands:
When PortMaster asynchronous ports are configured before cables and modems are attached, you might see two different port states when you use the show port command. Ports on the main system card might show a status of IDLE, while ports on older expansion cards might show a status of USERNAME.
This behavior is normal. On older expansion cards, the value of carrier detect (CD) floats high in contrast to the carrier value on the main system card. On more recent expansion cards, the carrier detect value is pulled low as it is on the main system card.
On both old and new cards, a port should show a status of IDLE when modems are attached with hardware flow control set and modem control is turned on for the port. For more information about port states, refer to Chapter 2, "How PortMasters Work."
You can debug and interpret the PPP negotiation process using the commands and information given in this section.
To debug PPP negotiations, use the following commands:
To stop the debug output, use the following commands:
The information that follows describes the PPP protocol.
All values shown in the fields are in hexadecimal. Adjacent frames can be separated by a single flag. Address and control bytes are omitted in non-LCP frames if Address-and-Control-Field-Compression is negotiated.
If the first byte of the Protocol field is zero, it is omitted in non-LCP frames if Protocol-Field-Compression is negotiated. On asynchronous links, special characters-flags, escape characters, and control characters selected in the negotiated remote Async-Control-Character-Map-between the flags are replaced by an escape character (7D) and the original byte with bit 6 inverted (XOR'ed with 0x20).
 
Table 20-3 shows the values that appear in the Protocol field of a PPP frame. The Network Control Protocol (NCP) value is used to establish a connection for the associated data transfer protocol. See RFC 1700, Assigned Numbers, for a complete list.
Use the following instructions to solve certain network problems:
Follow these steps if you have forgotten the administrative password:
-
Place the PortMaster in diagnostic mode by setting DIP switch 1 in the up position.
-
Log in to the PortMaster at the PortMaster Console login: prompt using !root and a password of override.
-
A case-sensitive, 16-character encrypted challenge is displayed.
-
Contact Livingston Technical Support for the appropriate 16-character one-time encrypted response.
-
For information about contacting Technical Support, see the preface of this guide.
-
Log in to the PortMaster as !root, and enter the 16-character encrypted response given by technical support as the password.
Note ¯
Both the challenge and the response are case-sensitive.
-
Change the administrative password using the set password command.
-
Enter the save all command to save the new password to nonvolatile memory.
Note ¯
You can boot a PortMaster from the network only if you have a host on the Ethernet that supports the Trivial File Transfer Protocol (TFTP) and Reverse Address Resolution Protocol (RARP), and is on the same Ethernet segment as the PortMaster. Any host capable of TFTP can be used to boot a PortMaster from the network. Otherwise, you must boot from the PROM monitor using the download command. See "Booting from PROM" on page 20-18 for instructions.
Network booting is necessary if the Flash RAM on your PortMaster becomes corrupted. You can assume that the Flash RAM is corrupt if any of the following occur:
Network booting is also required if you have forgotten the administrative password on a PortMaster running a ComOS version earlier than 2.4, or an IRX ComOS version earlier than 1.8R.
To boot your PortMaster from the network, follow these steps:
-
Make sure the power switch on the PortMaster is set to OFF.
-
Access the Livingston FTP site, and download the README.NETBOOT file by entering the following commands at your Ethernet TFTP boot host:
-
Read the README.NETBOOT file to determine which netbootable ComOS to download using FTP.
-
The ComOS is referred to as GENERIC.OS in the rest of this procedure.
-
Repeat Step 1 to download the appropriate GENERIC.OS.
-
Add the Ethernet address of the PortMaster to your /etc/ethers file or your Network Information Service (NIS) map.
-
Start the rarpd service, if it is not already running, by entering the following command:
Note ¯
The command might vary depending on your operating system. Refer to your system manual for more information about running rarpd.
-
Set up TFTP on your boot host by entering the following commands:
Replace GENERIC.OS with one of the following filenames:
-
Using a text editor, uncomment the tftp command entry in the /etc/inetd.conf file.
-
To have the inetd daemon reread the /etc/inetd.conf file, send a SIGHUP signal to
the inetd process.
-
This procedure applies to most UNIX systems. However, the procedure for
enabling TFTP on your system might vary. Consult your system documentation.
-
On the PortMaster, set DIP switch 2 to up and turn the power switch ON.
-
Boot the PortMaster, and log in as !root with no password.
-
To save your PortMaster configuration before reformatting the Flash RAM, enter the following on your UNIX host:
-
You can also save the configuration with PMconsole. See the PMconsole for Windows
Administrator's Guide for more information.
-
Alternatively, if your ComOS is corrupted, erase and reconfigure the Flash RAM on your PortMaster.
-
Occasionally, the cause of Flash RAM corruption can be your configuration
settings. If this is the case, you must erase and reformat your Flash RAM. See
"Resetting the Configuration to Factory Defaults" on page 20-22 for instructions.
-
You must reconfigure your PortMaster completely after you have installed the new
ComOS in Flash RAM.
-
Set the IP address of the Ethernet port on the PortMaster, if necessary.
-
If you have chosen one of the noconfig files to boot, set the IP address of the
PortMaster so that you can connect to the PortMaster from a remote host.
-
Use the following command:
-
In this case, 192.168.200.1 is the IP address of the PortMaster.
-
Enter the netmask, if necessary.
-
If you are using a netmask other than 255.255.255.0 on your network, you must
enter it now. Use the following command, substituting your netmask:
-
Install the new ComOS into the Flash RAM by using the pminstall utility.
-
After the new ComOS is installed, prepare the PortMaster for operation by doing the following:
-
a. Turn off the power on the PortMaster.
b. Remove the terminal from the console port.
c. Return the DIP switches to their normal operating positions.
d. Turn on the power to reboot the PortMaster.
-
If the PortMaster is running properly, reenter your PortMaster configuration settings.
Note ¯
This procedure works only with PROMs of level F or higher. The PROM version is displayed at boot time if the console port is in diagnostic mode.
Beginning with PROM level F, you can boot your PortMaster remotely from any host with TFTP capability in one of the following ways using the PROM instead of RARP:
-
Make sure the power switch on the PortMaster is set to OFF.
-
Place the PortMaster in diagnostic mode as described in "2-Enter Diagnostic Mode" on page 20-3.
-
Attach a terminal to the console port of the PortMaster.
-
Turn the power switch to ON.
-
As the PortMaster starts to boot, press the Escape key to display an angle bracket (>) prompt.
-
You can also type a caret and a left square bracket (^[) to display the prompt.
-
To prepare the PortMaster for remote booting, enter one or more of the commands shown in Table 20-4 on the PortMaster console.
-
Enter the address of the PortMaster Ethernet port:
-
Set the netmask and gateway, if needed:
-
Access the Livingston FTP site, and download the README.NETBOOT file by entering the following commands at your Ethernet TFTP boot host:
-
Read the README.NETBOOT file to determine which netbootable ComOS to download using FTP.
-
The ComOS is referred to as GENERIC.OS in the rest of this procedure.
-
Repeat Step 9 to download the appropriate GENERIC.OS.
-
Set up TFTP on your boot host by entering the following commands:
-
Using a text editor, uncomment the tftp command entry in the /etc/inetd.conf file.
-
To have the inetd daemon reread the /etc/inetd.conf file, send a SIGHUP signal to
the inetd process.
-
This procedure applies to most UNIX systems. However, the procedure for
enabling TFTP on your system might vary. Consult your system documentation.
-
Use one of the following commands on the console to boot the PortMaster:
-
Enter the IP address of the TFTP host that has the GENERIC.OS software.
-
The PortMaster then boots using ComOS from the boot server. The new
ComOS has not yet been loaded into the Flash RAM of your PortMaster.
-
Replace size with the number of bytes in the ComOS to be downloaded. The
PortMaster then boots using the ComOS downloaded from the serial
connection. The new ComOS has not yet been loaded into the Flash RAM of
your PortMaster.
-
To install the new ComOS into the Flash RAM, run pminstall.
-
After the new ComOS is installed, prepare the PortMaster for operation by doing the following:
-
a. Turn off the power on the PortMaster.
b. Remove the terminal from the console port.
c. Return the DIP switches to their normal operating positions.
d. Turn on the power to reboot the PortMaster.
ComOS and all configuration settings on the PortMaster are stored in nonvolatile RAM (NVRAM). You can return the PortMaster to factory defaults by using the following commands. Set the console and use the debug utility to debug potential problems.
Warning ¯
Be careful when using the erase commands. You can remove the configuration and operating system from your PortMaster, which are difficult to restore.
You must reboot the PortMaster for the changes to take effect.
Note ¯
If you erase the configuration and reboot your PortMaster, it is set back to factory defaults. You are then required to connect a console to the S0 or C0 port for initial configuration.
If ComOS is corrupted, the PortMaster might behave erratically. You can erase ComOS by using the following commands. Set the console and use the debug utility to debug potential problems.
Warning ¯
Be careful when using the erase commands. You can remove the configuration and operating system from your PortMaster, which are difficult to restore.
After you have erased ComOS, reload it by running the pminstall utility.
Note ¯
If you erase ComOS and reboot your PortMaster, you must to do a netboot to restore the operating system. See "Booting from the Network" on page 20-15 for instructions.
You can erase all the nonvolatile memory in the PortMaster including the configuration and ComOS by using the following commands. Set the console and use the debug utility to debug potential problems.
Warning ¯
Be careful when using the erase commands. You can remove the configuration and operating system from your PortMaster, which are difficult to restore.
After you have erased ComOS, reload it by running the pminstall utility.
Note ¯
If you erase ComOS and reboot your PortMaster, you must to do a netboot to restore the operating system. See "Booting from the Network" on page 20-15 for instructions.
Warning ¯
Be careful when using the erase commands. You can remove the configuration and operating system from your PortMaster, which are difficult to restore.
You can erase specific configuration files from the PortMaster. Use the show files command as follows for a list of files:
To erase a specific file, use the following command:
Replace String with a filename from the show files command list.
[Top] [Prev] [Next] [Bottom]
spider@livingston.com
Copyright © 1997, Livingston Enterprises, Inc. All rights
reserved.