*BSD News Article 35385


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!bunyip.cc.uq.oz.au!munnari.oz.au!constellation!convex!hermes.oc.com!news.unt.edu!cs.utexas.edu!howland.reston.ans.net!vixen.cso.uiuc.edu!uxa.cso.uiuc.edu!rkb55989
From: rkb55989@uxa.cso.uiuc.edu (Rafal Boni)
Newsgroups: comp.os.386bsd.questions
Subject: Re: SLIP with dynamic IP
Date: 3 Sep 1994 02:34:47 GMT
Organization: University of Illinois at Urbana
Lines: 39
Message-ID: <348nc7$foo@vixen.cso.uiuc.edu>
References: <3489rf$lrd@news.tamu.edu>
NNTP-Posting-Host: uxa.cso.uiuc.edu

frank@vcsun1.tamu.edu (Franklin S. Cheng) writes:

>Does anyone ever install SLIP(or PPP) on FreeBSD with dynamic IP ?
>The faq only mentions static IP assignment, not about dynamic IP,
>I wonder if someone has done this work already, could I borrow
>the experience and the modem scripts ?

DISCLAIMER: I'm using NetBSD, so this might be not 100% the answer you're
looking for, but it should be close.  I'm also assuming that you want to set
up a CLIENT, not a dynamic PPP server.

	I'm now sure how to do this for SLIP without knowing the guts of
	how you connect and the term server/SLIP server you go through, etc.

	BUT, PPP makes this extremely easy!  Since PPP can negatiate the IP
	address for both ends of the connection, a simple

		pppd defaultroute <line speed> <tty used>

	should set up your end of the address and the remote end, AND add
	a default route to the remote address.  With this one command you
	should be all set... [Almost]

	The other problem here is stuff like /etc/myname that does not match
	your real hostname and other misc garbage.  I've simply ignored this
	stuff for now, because of the limitation on stuff I can do with my
	PPP service [my provider, aka the University] does not allow you to
	recv. mail, etc. so those issues are not big for me right now...

	Anyone with a clean sol'n to above problems [and how to update .rhosts
	and such] please follow up or email me...

							--rafal

/--------------------------------------------------------------------------\
|"Blessed are the meek, for they shall inherit   |              Rafal Boni |
| 15% of the earth, which is 100% more than they |         r-boni@uiuc.edu |
| have now..." -Cartoon caption in New Yorker    | My opinions, not UIUC's |
\--------------------------------------------------------------------------/