9fans archive / 1995 / 12 / 65 / prev next
From: steve@pla... steve@pla...
Subject: How do I setup PPP?
Date: Thu, 21 Dec 1995 17:22:21 -0500
I just added this section to the faq.
First, apply the changes at ftp://ftp.cs.york.ac.uk/pub/plan9/bod/ppp.bod These
add -9 (enable IL/IP compression) and -m (set netmask) options to pppclient,
and fix a few bugs. Assuming you will use /dev/eia1, login to the ppp server as
follows:
1. % telco -s 38400 /dev/eia1
2. % con -r -l telco!967-1111
3. login and startup ppp on the server
4. use "control \" to escape back to the >>> prompt in con, and type
!onppp
to link pppclient to the remote server.
onppp is the following rc script:
#!/bin/rc
{sleep 5; echo add 0.0.0.0 0.0.0.0 128.100.8.4 >'#P/iproute' }&
exec aux/pppclient -i 128.100.8.19 -p 128.100.8.4 $*
5. To shut down, use
% kill pppclient | rc
and disconnect in con.
Thanks to forsyth@pla... and craigl@tez... for this section.