|
|
Verify host-to-host connectivity on the link as follows:
ping send: Network is unreachableThis error message indicates that the network address of the remote host is different from that of the local host. Make sure that the network portion of the remote host's IP address is correct. (See ``IP address'' for a discussion of the network portion of the IP address.) For machines on the same network, the network part of the IP addresses for the local host and the remote host should match. If the machines are not on the same network, you need to configure a gateway to route packets between the two networks.
Another possible message is:
ping send: No route to hostIf this message appears, verify that there is a route to the remote host in the routing tables.
If ping hangs with no response, make sure that the IP address is really that of the remote machine. If the IP address appears to be correct, look in the logfile where the PPP driver and PPP daemon log information has been collected. By default, this file is /usr/adm/syslog. The following example logfile and the description below the example show the steps PPP uses to achieve host-to-host connectivity. You can view the logfile to see if these steps have been successful.
1 Mar 14 09:40:40 pppd[396]: ppp_add_inf: 10.0.246.6 --> 10.0.246.7 2 Mar 14 09:44:27 pppd[396]: accept on socket 6 3 Mar 14 09:44:27 pppd[409]: dial process sent pppd m_type=18, m_pid=409, 4 m_tty='/dev/tty1A' 5 Mar 14 09:44:27 pppd[396]: pppd_sockread s=7 6 Mar 14 09:44:27 pppd[396]: Connected to remote system: tty=/dev/tty1A, 7 pid=409,addr=10.0.54.54 8 Mar 14 09:44:27 pppd[396]: ppp_add_conn 9 Mar 14 09:44:27 pppd[396]: Assigned link id for outgoing link (10.0. 10 246.6->10.0.246.7) is 1
If the modem does not connect, check the /etc/ppphosts file to verify that the uucp parameter has the correct value for the remote host and that the value has an entry in the /usr/lib/uucp/Systems file. Verify that the entries in the /usr/lib/uucp/Devices and /usr/lib/uucp/Dialers files are correct for supporting the Systems file entry.
If the modem does connect but then disconnects, you can also use the UUCP
error codes and PPP debugging information to troubleshoot
this problem.
For example, if the UUCP error code says something like
chat script failed
, you can view the chat script dialogue
between the local and remote hosts at the console.
If you find that the modem connects but then disconnects after a short time, the problem probably lies with the PPP link parameter negotiation. To debug this type of problem, see ``Troubleshooting PPP negotiation''.
If ping is successful when using the IP address of the remote host, you may wish to test whether one can reach the remote host using the host names by which it should be reachable. See ``Using ping to test reachability using host names'' for the command, possible error message, and resolutions.