9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: "Russ Cox" <rsc@plan9.bell-labs.com>
To: 9fans@cse.psu.edu
Subject: Re: [9fans] adsl via pptpd
Date: Sat, 27 Oct 2001 01:26:32 -0400	[thread overview]
Message-ID: <20011027052636.0730319A47@mail.cse.psu.edu> (raw)

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





             reply	other threads:[~2001-10-27  5:26 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-10-27  5:26 Russ Cox [this message]
  -- strict thread matches above, loose matches on Subject: below --
2001-10-27  5:10 William S.

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20011027052636.0730319A47@mail.cse.psu.edu \
    --to=rsc@plan9.bell-labs.com \
    --cc=9fans@cse.psu.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).