BNU troubleshooting

Utility for testing basic outgoing connectivity

There is a modem utility in UnixWare 7 that allows you to issue commands to your modem in much the same way you use a PC terminal emulator.

The modem utility connects your terminal window directly to the modem, thereby allowing you to detect and correct problems on your line and in your modem.

You can also use the modem utility for establishing basic direct connect sanity, as well as for troubleshooting other types of serial line problems.

CAUTION: When you use the modem utility, all other cu and uucp activity on your system will be disabled.

To run the modem utility, you must be logged into the system as root and running a shell in some sort of terminal window or running a shell at the console.

The modem utility command is:

/usr/lib/uucp/modem device speed

where device specifies a port such as COM1 or a device such as /dev/tty00, and speed specifies a line speed from 300 baud to 38400 baud.

By default, the modem utility uses a character size of 7 bits and an even parity. You can edit the file /etc/uucp/Config if you need to change either the number of data bits or the parity settings. See Config(4bnu) for more information.

Note that the modem utility saves your current Devices(4bnu) file as /etc/uucp/Devices.bak and writes a new, single-line-entry, Devices file in its place. For this reason, make sure that you exit the modem utility by typing ~. (the tilde character followed by a dot) and pressing the <Esc> key.

Exiting in this manner causes the modem utility to copy your old Devices file back into /etc/uucp/Devices before exiting. If you exit the modem utility in any other way (by, for example, killing the window or rebooting) you will not get your original Devices file copied back from /etc/uucp/Devices.bak. In this case, you will need to copy the file manually to restore it, by entering:

cp /etc/uucp/Devices.bak /etc/uucp/Devices

© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 22 April 2004