Re: LCP TermReq id=0x4 "No network protocols running
Stephen Kirkpatrick <[email protected]> Wed, 08 Mar 2006 09:26:06 -0600
| Newsgroups | gmane.linux.redhat.ppp |
|---|---|
| Message-ID | <[email protected]> |
Dontigny, Jean-Francois wrote: > Hi. > > I have a problem setting up a dial-in server using pppd (Version 2.4.1-= 3) on a Red Hat 7.3 box (Upgrading the distro is not an option to fix the= problem). The test setup consists of a Linux machine that is the server = and a Windows 2000 machine as the client. We need to use CHAP (but the sa= me problem has been observed with PAP as well). What happens is, when I t= ry to dial in to the linux box using the Windows dial-up connection, the = username/password negotiation will succeed then the connection will get r= eleased. > > Here is the debug output from pppd: > Mar 6 13:11:36 qa2 mgetty[32612]: data dev=3DttyS4, pid=3D32612, calle= r=3D'none', conn=3D'33600/ARQ/V34/LAPM/V42BIS', name=3D'', cmd=3D'/ > usr/sbin/pppd', user=3D'/AutoPPP/' > Mar 6 13:11:36 qa2 pppd[32612]: pppd 2.4.1 started by a_ppp, uid 0 > Mar 6 13:11:36 qa2 pppd[32612]: using channel 67 > Mar 6 13:11:36 qa2 pppd[32612]: Using interface ppp0 > Mar 6 13:11:36 qa2 pppd[32612]: Connect: ppp0 <--> /dev/ttyS4 > Mar 6 13:11:36 qa2 pppd[32612]: sent [LCP ConfReq id=3D0x1 <asyncmap 0= x0> <auth chap MD5> <magic 0x6db1b69d> <pcomp> <accomp>] > Mar 6 13:11:36 qa2 /etc/hotplug/net.agent: assuming ppp0 is already up > Mar 6 13:11:36 qa2 pppd[32612]: rcvd [LCP ConfAck id=3D0x1 <asyncmap 0= x0> <auth chap MD5> <magic 0x6db1b69d> <pcomp> <accomp>] > Mar 6 13:11:39 qa2 pppd[32612]: rcvd [LCP ConfReq id=3D0x2 <asyncmap 0= x0> <magic 0x5bcc6099> <pcomp> <accomp> <callback CBCP> < > mrru 1614> <endpoint [local:da.d8.e4.58.c5.cd.49.f5.84.e5.25.44.b4.df.8= 0.f2.00.00.00.00]>] > Mar 6 13:11:39 qa2 pppd[32612]: sent [LCP ConfRej id=3D0x2 <callback C= BCP> <mrru 1614>] > Mar 6 13:11:39 qa2 pppd[32612]: sent [LCP ConfReq id=3D0x1 <asyncmap 0= x0> <auth chap MD5> <magic 0x6db1b69d> <pcomp> <accomp>] > Mar 6 13:11:39 qa2 pppd[32612]: rcvd [LCP ConfReq id=3D0x3 <asyncmap 0= x0> <magic 0x5bcc6099> <pcomp> <accomp> <endpoint [local: > da.d8.e4.58.c5.cd.49.f5.84.e5.25.44.b4.df.80.f2.00.00.00.00]>] > Mar 6 13:11:39 qa2 pppd[32612]: sent [LCP ConfAck id=3D0x3 <asyncmap 0= x0> <magic 0x5bcc6099> <pcomp> <accomp> <endpoint [local: > da.d8.e4.58.c5.cd.49.f5.84.e5.25.44.b4.df.80.f2.00.00.00.00]>] > Mar 6 13:11:39 qa2 pppd[32612]: rcvd [LCP ConfAck id=3D0x1 <asyncmap 0= x0> <auth chap MD5> <magic 0x6db1b69d> <pcomp> <accomp>] > Mar 6 13:11:39 qa2 pppd[32612]: sent [CHAP Challenge id=3D0x1 <e1db79b= 1e21f581ae21f09b32961d7a90afdd0adac>, name =3D "qa2.interna > l.com"] > Mar 6 13:11:39 qa2 pppd[32612]: rcvd [LCP code=3D0xc id=3D0x4 5b cc 60= 99 4d 53 52 41 53 56 35 2e 30 30] > Mar 6 13:11:39 qa2 pppd[32612]: sent [LCP CodeRej id=3D0x2 0c 04 00 12= 5b cc 60 99 4d 53 52 41 53 56 35 2e 30 30] > Mar 6 13:11:39 qa2 pppd[32612]: rcvd [LCP code=3D0xc id=3D0x5 5b cc 60= 99 4d 53 52 41 53 2d 31 2d 50 34 53 56 52] > Mar 6 13:11:39 qa2 pppd[32612]: sent [LCP CodeRej id=3D0x3 0c 05 00 15= 5b cc 60 99 4d 53 52 41 53 2d 31 2d 50 34 53 56 52] > Mar 6 13:11:39 qa2 pppd[32612]: rcvd [CHAP Response id=3D0x1 <10fe331c= 5674441411816083b6dd1220>, name =3D "minacom"] > Mar 6 13:11:39 qa2 pppd[32612]: sent [CHAP Success id=3D0x1 "Welcome t= o qa2.internal.com."] > Mar 6 13:11:39 qa2 pppd[32612]: sent [IPCP ConfReq id=3D0x1 <addr 192.= 168.6.19> <compress VJ 0f 01>] > Mar 6 13:11:39 qa2 pppd[32612]: sent [CCP ConfReq id=3D0x1 <deflate 15= > <deflate(old#) 15>] > Mar 6 13:11:39 qa2 pppd[32612]: CHAP peer authentication succeeded for= minacom > Mar 6 13:11:42 qa2 pppd[32612]: sent [IPCP ConfReq id=3D0x1 <addr 192.= 168.6.19> <compress VJ 0f 01>] > Mar 6 13:11:42 qa2 pppd[32612]: sent [CCP ConfReq id=3D0x1 <deflate 15= > <deflate(old#) 15>] > Mar 6 13:11:45 qa2 pppd[32612]: sent [IPCP ConfReq id=3D0x1 <addr 192.= 168.6.19> < > compress VJ 0f 01>] > Mar 6 13:11:45 qa2 pppd[32612]: sent [CCP ConfReq id=3D0x1 <deflate 15= > <deflate(old#) 15>] > Mar 6 13:11:48 qa2 pppd[32612]: sent [IPCP ConfReq id=3D0x1 <addr 192.= 168.6.19> <compress VJ 0f 01>] > Mar 6 13:11:48 qa2 pppd[32612]: sent [CCP ConfReq id=3D0x1 <deflate 15= > <deflate(old#) 15>] > Mar 6 13:11:51 qa2 pppd[32612]: sent [IPCP ConfReq id=3D0x1 <addr 192.= 168.6.19> <compress VJ 0f 01>] > Mar 6 13:11:51 qa2 pppd[32612]: sent [CCP ConfReq id=3D0x1 <deflate 15= > <deflate(old#) 15>] > Mar 6 13:11:54 qa2 pppd[32612]: sent [IPCP ConfReq id=3D0x1 <addr 192.= 168.6.19> <compress VJ 0f 01>] > Mar 6 13:11:54 qa2 pppd[32612]: sent [CCP ConfReq id=3D0x1 <deflate 15= > <deflate(old#) 15>] > Mar 6 13:11:57 qa2 pppd[32612]: sent [IPCP ConfReq id=3D0x1 <addr 192.= 168.6.19> <compress VJ 0f 01>] > Mar 6 13:11:57 qa2 pppd[32612]: sent [CCP ConfReq id=3D0x1 <deflate 15= > <deflate(old#) 15>] > Mar 6 13:12:00 qa2 pppd[32612]: sent [IPCP ConfReq id=3D0x1 <addr 192.= 168.6.19> <compress VJ 0f 01>] > Mar 6 13:12:00 qa2 pppd[32612]: sent [CCP ConfReq id=3D0x1 <deflate 15= > <deflate(old#) 15>] > Mar 6 13:12:01 qa2 CROND[884]: (minacom) CMD (faxmod > /dev/null &) > Mar 6 13:12:03 qa2 pppd[32612]: sent [IPCP ConfReq id=3D0x1 <addr 192.= 168.6.19> <compress VJ 0f 01>] > Mar 6 13:12:03 qa2 pppd[32612]: sent [CCP ConfReq id=3D0x1 <deflate 15= > <deflate(old#) 15>] > Mar 6 13:12:06 qa2 pppd[32612]: sent [IPCP ConfReq id=3D0x1 <addr 192.= 168.6.19> <compress VJ 0f 01>] > Mar 6 13:12:06 qa2 pppd[32612]: sent [CCP ConfReq id=3D0x1 <deflate 15= > <deflate(old#) 15>] > Mar 6 13:12:09 qa2 pppd[32612]: IPCP: timeout sending Config-Requests > Mar 6 13:12:09 qa2 pppd[32612]: sent [LCP TermReq id=3D0x4 "No network= protocols running"] > Mar 6 13:12:09 qa2 pppd[32612]: Hangup (SIGHUP) > Mar 6 13:12:09 qa2 pppd[32612]: Modem hangup > Mar 6 13:12:09 qa2 pppd[32612]: Connection terminated. > Mar 6 13:12:09 qa2 pppd[32612]: Connect time 0.6 minutes. > Mar 6 13:12:09 qa2 pppd[32612]: Sent 280 bytes, received 0 bytes. > Mar 6 13:12:09 qa2 pppd[32612]: Exit. > > I have made sure that under Windows, that TCP/IP is installed and confi= gured to get an IP via DHCP, use remote gateway on remote network is unch= ecked. > > I have also tried to increase the ipcp-maximum-retries parameter, to ad= d the noccp option, different asyncmaps, to no avail. > > I have checked the bug #55367 on Redhat's bugzilla database which seemi= ngly described this exact situation, so I have tried earlier and later ve= rsions of the RPM but that did not seem to fix the problem. > > If someone else has experienced this problem before or knows how to res= olve it, I would very much appreciate it. > > Thank you, > > Jean-Fran=E7ois Dontigny > > Minacom=20 > Simplifying Service Assurance(tm) > Minacom Labs Inc. > 260, Queen Street > Montreal (Quebec) > H3C 2N8 > Tel.: (514) 879-9111 x226=20 > Fax: (514) 879-9333=20 > Email: [email protected]=20 > Web: www.minacom.com > > > _______________________________________________ > Redhat-ppp-list mailing list > [email protected] > https://www.redhat.com/mailman/listinfo/redhat-ppp-list > > > =20 Not sure what is causing the dropped connection. I would suggest taking=20 a lot at this howto guide=20 http://ct.radiology.uiowa.edu/~jiangm/software-docs/ppp-dialin-server/ and see if there any discrepancies between your configuration and the=20 one in the howto. The howto guide proved to be quite helpful for me=20 getting a ppp dialin server working under RedHat 7.x (using PAP - not CHA= P). SK