* Re: [9fans] adsl via pptpd
@ 2001-10-27 5:26 Russ Cox
0 siblings, 0 replies; 2+ messages in thread
From: Russ Cox @ 2001-10-27 5:26 UTC (permalink / raw)
To: 9fans
On Plan 9, you should be able to do
cd /sys/src/cmd/ip
hget http://plan9.bell-labs.com/plan9/pptp.c >pptp.c
mk pptp.install
mk clean
ip/ipconfig ether /net/ether0 10.0.0.150 255.255.255.0
ip/pptp -P -s me@xs4all-basic-adsl:mypassword 10.0.0.138
ip/ping 204.178.31.2
You probably need to do
echo ' dns=1.2.3.4' >>/net/ndb
echo -n refresh >/net/cs
if(! test -f /srv/dns)
ndb/dns -r
(Look in /etc/resolv.conf on Linux after doing pptp to see what
your dns server should be.) The pptp client is almost entirely untested.
Let me know of any problems.
Russ
^ permalink raw reply [flat|nested] 2+ messages in thread
* [9fans] adsl via pptpd
@ 2001-10-27 5:10 William S.
0 siblings, 0 replies; 2+ messages in thread
From: William S. @ 2001-10-27 5:10 UTC (permalink / raw)
To: 9fans
It has been a while since I last posted/read to this list
and since then I have obtained adsl service through xs4all
here in the Netherlands.
In order to do that I use an ethernet card and an isdn modem.
Some of the configuration details to do this on Linux are posted
below. Will this hardware setup work with Plan9? Which files
would have to be changed in Plan9 to make the connection?
Bill
Amsterdam, NL
install pppd
install pptp
configure network adapter
% ifconfig eth0 netmask 255.255.255.0 broadcast 10.0.0.255 10.0.0.150
% ifconfig eth0 up
% ifconfig eth0
set up route
% route add -net 10.0.0.0 netmask 255.255.255.0 eth0
% route -n
configuring pppd
% cd /etc/ppp
% mv options options.modem
% touch options
creating the file contents /etc/ppp/options.adsl
idle 0
noauth
user me@xs4all-basic-adsl
defaultroute
usepeerdns
nodetach
lcp-echo-interval 10
lcp-echo-failure 3
creating the file contents /etc/ppp/pap-secrets
# Authenticate via PAP
# login - server - pass - IP
me@xs4all-basic-adsl * mypassword *
starting the service
% /usr/sbin/pptp 10.0.0.138 file /etc/ppp/options.adsl
testing with ping
194.109.9.99
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2001-10-27 5:26 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-10-27 5:26 [9fans] adsl via pptpd Russ Cox
-- strict thread matches above, loose matches on Subject: below --
2001-10-27 5:10 William S.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).