When
PPP is installed, configured, running and connected on both ends
of the link, users should be able to access each peer machine using
any TCP/IP application such as telnet, ftp, etc. Once you have configured
the PPP connection on both the local and remote systems, follow
these steps to test the outbound connection.
Either reboot your machine or run /etc/ppp/Autostart
to start pppd.
Check to make sure pppd
was started:
# more /var/adm/pppd.log 8/4-14:14:43-14902 PPP 8/4-14:14:43-14902 Version 2.0 8/4-14:14:43-14902 du0: pppd robin:lark auto idle 150 |
Use telnet to bring
up the link and type ^D (Ctrl-Shift-D) to exit the login. There
will be a half minute pause while the local system dials the phone,
the modems establish a carrier, the Systems
chat script completes, the answering pppd
is started on the remote system and the two pppd's
negotiate. For example:
# telnet lark Trying lark... |
Pause
Connected to lark. Escape character is '^]'. (Operating system) (lark) (ttyp3) lark login: ^Dconnection closed by foreign host. |
The log file will be appended to and will show how the link
was initiated:
8/4-14:14:53-14902 tcp 137.175.2.11/1204 -> 131.187.1.131 telnet 40 syn bringup 8/4-14:14:54-14902 Dialing lark (cuh00 38400 5551212 T1600) 8/4-14:15:23-14902 PPP connected to 131.187.1.131 |
This log file snippet shows that the telnet session to lark
caused the link to be initiated.
If either machine is connected to a local area network, you
can set up IP routing on the two networks so that hosts on either
network can communicate with hosts on the other, using machines
on the ends of the PPP links as routers.