http://www.valleynet.bc.ca/~dan/autoppp.html
http://www.valleynet.bc.ca/~dan/autoppp1.html

Soon the second will replace the first.........

user="myuser" should be user="AutoPPP"

If you have any problems after reading my page, and following it or the
link for Redhat 5.0, feel free to email me.


Dan

At 10:44 PM 5/13/98 -0600, Mike Blatchley wrote:
>A few days ago, I was asking how to spawn a PPPD process if someone
>appended a "$" to their user name.  Well, now I am pursuing the mgetty
>option using /AutoPPP/ detect.  This automatically starts pppd and then
>you must do user authentication through pppd.  
>
>Since I am doing this for some Windows-95 users to log in, I am limited to
>PAP.  And I want to use the "login" option, so their username/password
>information come from the NIS/YP database and I don't have to open new
>accounts for them.
>
>The problem, I can establish a PPP connection from a Win-95 box to my
>Linux machine (i386 RedHat 5.0 with all updates) if (a) I don't require
>authentication or (b) if I pull up a terminal window when Win-95
>establishes a connection and manually log into an account that starts
>pppd.  So, I can get the two computers to talk.
>
>But, when I do the automagic mgetty thing and try PAP/login, I can't get
>anything to authenticate.  I've put the thing into debug mode, and I see
>my username and password coming through clearly, but PAP authentication
>fails.  Any suggestions?  If anyone has done this type of Win-95 to Linux
>connection, I'd really appreciate hearing from you.
>
>Heres some of the debug syslog:
>  pppd[978]: Connect: ppp0 <--> /dev/ttyS0
>  pppd[978]: sent [LCP ConfReq id=0x1 <auth pap> 
>        <magic 0xffff1484> <pcomp> <accomp>]  
>  pppd[978]: rcvd [LCP ConfAck id=0x1 <auth pap> 
>        <magic 0xffff1484> <pcomp> <accomp>]
>  pppd[978]: rcvd [LCP ConfReq id=0x2 <asyncmap 0xa0000>
>        <magic 0x2a787d> <pcomp> <accomp> <callback 0x600>]
>  pppd[978]: sent [LCP ConfRej id=0x2 <callback 0x623>]
>  pppd[978]: rcvd [LCP ConfReq id=0x3 <asyncmap 0xa0000>
>        <magic 0x2a787d> <pcomp> <accomp>]
>  pppd[978]: sent [LCP ConfAck id=0x3 <asyncmap 0xa0000>
>        <magic 0x2a787d> <pcomp> <accomp>]
>  pppd[978]: sent [LCP EchoReq id=0x0 magic=0xffff1484]
>  pppd[978]: rcvd [PAP AuthReq id=0x1 user="myuser" 
>        password="mypassword"]
>  pppd[978]: PAP authentication failure for myuser
>  pppd[978]: sent [PAP AuthNak id=0x1 "Login incorrect"]
>  pppd[978]: sent [LCP TermReq id=0x2 "Authentication failed"]
>
>"myuser" is a valid account in the local machines /etc/passwd (not even
>making it go through YP yet) and "mypassword" is logged as the unencrypted
>password (obviously encrypted in /etc/passwd).  I am specifying "login" as
>a pppd option, and have uncommented the appropriate line in the sample
>pap-secrets file.
>
>Thanks,
>
>Mike
>[EMAIL PROTECTED]


-- 
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists
         To unsubscribe: mail [EMAIL PROTECTED] with 
                       "unsubscribe" as the Subject.

Reply via email to