DIP

Mike Bilow mikebw at bilow.bilow.uu.ids.net
Mon Mar 25 21:11:00 EST 1996



Mark Glassberg Fornarotto jun-30-96 wrote in a message to Mike Bilow:

 MGFj> I got dip to work, up to the point where I send "ppp" to my
 MGFj> provider. I'm told that it's switching to ppp, after which I
 MGFj> get a bunch of garbage characters instead of the assigned ip
 MGFj> address which I need.  Again, any help would be appreciated.

I think you might have a fundamental misunderstanding of how PPP is supposed to
work.  Unlike SLIP, the IP address for you and your router are not sent as a
text line prior to entering frame mode, but are exchanged as part of the PPP
negotiation process.  This is one of the main reasons that PPP is superior to
SLIP, since it standardizes the negotiation instead of forcing you to adapt
your script to each implementation.

There are two methods of using PPP in common use.  The "official" method is to
have the line answered in frame mode and let PPP handle all of the session
parameters, including username, password, and IP addresses, automatically as
part of the negotiation.  More often, however, the line is answered by agetty
which presents "login" and "password" prompts in text mode, and then the PPP
server is specified as that user's shell, but PPP still negotiates the IP
addresses on its own.
 
-- Mike





More information about the Discuss mailing list