[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Dial In problems, HELP!



I am trying to create a dial in connection where I can dial into my
computer using dialup networking on win 95 and create a ppp connection. I
installed mgetty and ppp. I am able to dial into my machine and it
will automatically answer, but it will not authenticate the user with
PAP. I check the syslog and messages and they both indicate a login
failure. Below the log output are my configurations. What is wrong with
my configuration?

brian

/var/log/syslog 

Mar 10 17:04:21 mammoth pppd[1654]: pppd 2.3.5 started by a_ppp, uid 0
Mar 10 17:04:21 mammoth pppd[1654]: Using interface ppp0
Mar 10 17:04:21 mammoth pppd[1654]: Connect: ppp0 <--> /dev/ttyS1
Mar 10 17:04:21 mammoth pppd[1654]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <auth pap> <ma
gic 0x53eaa09c> <pcomp> <accomp>]
Mar 10 17:04:24 mammoth pppd[1654]: rcvd [LCP ConfReq id=0x3 <asyncmap 0xa0000> <magic 0x3
60f90> <pcomp> <accomp> <callback 0x600>]
Mar 10 17:04:24 mammoth pppd[1654]: sent [LCP ConfRej id=0x3 <callback 0x600>]
Mar 10 17:04:24 mammoth pppd[1654]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <auth pap> <ma
gic 0x53eaa09c> <pcomp> <accomp>]
Mar 10 17:04:24 mammoth pppd[1654]: rcvd [LCP ConfReq id=0x4 <asyncmap 0xa0000> <magic 0x3
60f90> <pcomp> <accomp>]
Mar 10 17:04:24 mammoth pppd[1654]: sent [LCP ConfAck id=0x4 <asyncmap 0xa0000> <magic 0x3
60f90> <pcomp> <accomp>]
Mar 10 17:04:24 mammoth pppd[1654]: rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <auth pap> <ma
gic 0x53eaa09c> <pcomp> <accomp>]
Mar 10 17:04:24 mammoth pppd[1654]: sent [LCP EchoReq id=0x0 magic=0x53eaa09c]
Mar 10 17:04:24 mammoth pppd[1654]: rcvd [PAP AuthReq id=0x1 user="roger" password="testin
g"]
Mar 10 17:04:24 mammoth pppd[1654]: PAP authentication failure for roger
Mar 10 17:04:24 mammoth pppd[1654]: sent [PAP AuthNak id=0x1 "Login incorrect"]
Mar 10 17:04:24 mammoth pppd[1654]: sent [LCP TermReq id=0x2 "Authentication failed"]
Mar 10 17:04:24 mammoth pppd[1654]: rcvd [LCP EchoRep id=0x0 magic=0x360f90]
Mar 10 17:04:24 mammoth pppd[1654]: rcvd [LCP TermAck id=0x2]
Mar 10 17:04:24 mammoth pppd[1654]: Connection terminated.
Mar 10 17:05:09 mammoth chat[1655]: Failed
Mar 10 17:05:09 mammoth pppd[1654]: disconnect script failed
Mar 10 17:05:10 mammoth pppd[1654]: Exit.

/var/log/messages

Mar 10 17:04:21 mammoth pppd[1654]: pppd 2.3.5 started by a_ppp, uid 0
Mar 10 17:04:21 mammoth pppd[1654]: Using interface ppp0
Mar 10 17:04:21 mammoth pppd[1654]: Connect: ppp0 <--> /dev/ttyS1
Mar 10 17:04:24 mammoth pppd[1654]: PAP authentication failure for roger
Mar 10 17:04:24 mammoth pppd[1654]: Connection terminated.
Mar 10 17:05:09 mammoth chat[1655]: Failed
Mar 10 17:05:09 mammoth pppd[1654]: disconnect script failed
Mar 10 17:05:10 mammoth pppd[1654]: Exit.


$ cat /etc/mgetty/

debug 4
fax-id
speed 38400

$ cat /etc/mgetty/login.config

/AutoPPP/ -     a_ppp   /usr/sbin/pppd auth -chap +pap login debug
*       -       -       /bin/login @




$ cat /etc/ppp/options.ttyS1

mammoth:mammoth-s1

$ cat /etc/ppp/options

ms-dns 192.168.1.100
disconnect "chat -- \d+++\d\c OK ath0 OK"
asyncmap 0
auth
crtscts
lock
modem
netmask 255.255.255.0
+pap
proxyarp
lcp-echo-interval 30
lcp-echo-failure 4
pap-restart 3
pap-max-authreq 10
noipx


-- 
Brian Lavender
http://www.brie.com/brian/


Reply to: