Try to add expect command after last send(password). Surely there is response after sending password and pppd can't recognize it as other end pppd data. >Hello, > >I am trying to use PPP 2.0.0 on Linux 2.0.29 as PPP client. When I try to >connect to a Cisco router, I get the following logs. > >/var/adm/syslog >--------------- >Jun 23 18:36:21 cybernaut pppd[574]: tcgetattr: I/O error > >/var/adm/messages >----------------- >Jun 23 18:36:10 cybernaut chat[575]: User Access Verification^M >Jun 23 18:36:10 cybernaut chat[575]: ^M >Jun 23 18:36:10 cybernaut chat[575]: Username: -- got it >Jun 23 18:36:10 cybernaut chat[575]: send (xxxxx^M) >Jun 23 18:36:10 cybernaut chat[575]: expect (Password:) >Jun 23 18:36:11 cybernaut chat[575]: netops^M >Jun 23 18:36:11 cybernaut chat[575]: Password: -- got it >Jun 23 18:36:11 cybernaut chat[575]: send (yyyyyy^M) >Jun 23 18:36:11 cybernaut pppd[574]: Serial connection established. >Jun 23 18:36:12 cybernaut pppd[574]: Using interface ppp0 >Jun 23 18:36:12 cybernaut pppd[574]: Connect: ppp0 <--> /dev/cua0 >Jun 23 18:36:21 cybernaut pppd[574]: Hangup (SIGHUP) >Jun 23 18:36:21 cybernaut pppd[574]: Modem hangup >Jun 23 18:36:21 cybernaut pppd[574]: Connection terminated. >Jun 23 18:36:21 cybernaut pppd[574]: Exit. > >/var/adm/debug >-------------- >Jun 23 18:36:21 cybernaut pppd[574]: rcvd [LCP ConfNak id=0x4 <mru 1500>] >Jun 23 18:36:21 cybernaut pppd[574]: sent [LCP ConfReq id=0x5 <mru 296> ><asyncmap 0x0> <auth chap md5> <magic 0x4486bc25> <pcomp> <accomp>] >Jun 23 18:36:21 cybernaut pppd[574]: rcvd [LCP ConfReq id=0xd1 <asyncmap >0xa0000> <auth chap md5> <magic 0x220e8126> <pcomp> <accomp>] >Jun 23 18:36:21 cybernaut pppd[574]: sent [LCP ConfRej id=0xd1 <auth chap >md5>] >Jun 23 18:36:21 cybernaut pppd[574]: rcvd [LCP ConfNak id=0x5 <mru 1500>] >Jun 23 18:36:21 cybernaut pppd[574]: sent [LCP ConfReq id=0x6 <mru 296> ><asyncmap 0x0> <auth chap md5> <magic 0x4486bc25> <pcomp> <accomp>] > >It gets disconnected within 10 seconds after establishing the connection. >I am able to connect to the server from a Windows95 system. > >What am I missing? Any pointers on FAQ or troubleshooting? > >NOTE: I am not in this list so kindly CC to me. > >Regards, >Vino Thomas > >- >To unsubscribe from this list: send the line "unsubscribe linux-net" in >the body of a message to [EMAIL PROTECTED] -====---====---====---====---====---====---====---====---====---====---====- to unsubscribe email "unsubscribe linux-admin" to [EMAIL PROTECTED] See the linux-admin FAQ: http://www.kalug.lug.net/linux-admin-FAQ/
