*BSD News Article 60221


Return to BSD News archive

#! rnews 2236 bsd
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.bhp.com.au!mel.dit.csiro.au!munnari.OZ.AU!news.hawaii.edu!ames!hookup!gatech!newsfeed.internetmci.com!in1.uu.net!news3.digex.net!digex.net!not-for-mail
From: dcmyers@access4.digex.net (David Myers)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: PPP: PAP authentication questions
Date: 27 Jan 1996 18:44:55 -0500
Organization: Express Access Online Communications USA: 800-969-9090
Lines: 47
Message-ID: <4eeddn$824@access4.digex.net>
NNTP-Posting-Host: access4.digex.net



Can anyone help me set up PPP for the following conditions:

1) my IP address is dynamically assigned

2) my ISP forces me to use PAP authentication

3) I never see a "login:" or a "password:" prompt coming
   from the ISP, so I cannot look for these in my chat script

4) my ISP apparently wants me to begin the session, because after having
   dialed, if I do nothing more, it will kick me off in about 12 seconds.


None of the sample scripts I've seen for iijppp address both conditions 1)
and 2) simultaneously.  And they all seem to look for "login:" and
"password:" strings in their "set login" commands.  Again, my server
apparently does not issue these prompts.  Frustratingly, all the PAP-enabled
scripts apparently assume that my machine will be the server, not the
client.

On the other hand, the man pages for pppd (the kernel-mode process) seem to
suggest that handling PAP mode is easy: put the +ua option on the command
line, and create a file that lists your PAP login name and PAP password.
For me, this does not work.  Here's a sample command line I've tried:

pppd crtscts defaultroute +ua <auth_file> connect "chat -f <dial_script>"
/dev/cuaa1 57600

All I see in /var/log/messages is "Connect ppp0 <--> /dev/cuaa1", then it
times out and carrier detect on the modem goes out.

What else am I missing?  My kernel is based on GENERIC, and has ppp0 and
tun0 devices active. I've set up things according to the handbook's
suggestions.  

Help and comments are greatly appreciated.  I'd especially like to see
sample scripts that address circumstances similar to mine.

-David


-- 
________________________________________
David C. Myers
dcmyers@access.digex.net