Troubleshooting PPP links

Connect to the remote side using cu

If the remote system requires that you log in using a chat script to start a PPP session, restart the connection server with debugging turned on, and use the cu(1bnu) command to connect to the remote system:

  1. Enter the following command to discover the process ID (pid) of the connection server:

    ps -ef | grep cs

  2. Kill the connection server process:

    kill pid

  3. Restart the connection server with debugging turned on:

    cs -d

    This will generate information in the /var/adm/log/cs.debug file about the line settings and how a call is set up.

  4. Enter the following command to connect to the remote system:

    cu remotesys

    remotesys is the entry for the remote system in the Systems(4bnu) file. This command will allow you to check the chat script defined in the entry for the remote system in the Systems(4bnu) file by dialing and logging into the remote system. In this case, you must enter the name and password yourself because cu does not invoke the chat script by default. If you want cu to invoke the chat script to see how well it works, specify the -x option:

    cu -x remotesys

    You can obtain more debugging information by specifying the -d option to cu.

    Enter ~. to drop the connection.

If the remote system does not require you to log in but it automatically starts a PPP session instead, this procedure only allows you to check if the remote system is accessible.

Common problems are:


© 1999 The Santa Cruz Operation, Inc. All rights reserved.
UnixWare 7 Release 7.1.1 - 5 November 1999