Date: Tue, 16 Sep 1997 17:12:24 -0400 From: Gary Stanny <stanny@TDFltd.com> To: questions@freebsd.org Subject: PPP & PAP - it hangs up after 7 seconds Message-ID: <3.0.1.32.19970916171224.006badfc@izzy.net>
next in thread | raw e-mail | index | archive | help
Hi all - I am trying to convert a working scripted user ppp.conf to work on PAP. After digging through the archives I have made it this far. It connects for 7 seconds then disconnects. If I read the log file correctly it appears like they are arguing about protocol c023 vers c223. What should it be? Can I turn on more logging? And most importantly - WHAT IS WRONG? Or what should I do next? Oh ya - FreeBSD 2.1.5 - ppp 1.6 with Charles Mott's NAT. TIA ---------------------- ppp.conf default: set device /dev/cuaa0 set speed 57600 set debug phase chat disable lqr deny lqr set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" ATE1Q0 OK-AT-OK \\dATDT\\T TIMEOUT 40 CONNECT" izzyx2: set device /dev/cuaa2 set debug phase chat lcp lqm set phone 2139019 disable chap deny chap enable pap accept pap set openmode active set authname user_name set authkey password set timeout 120 set ifaddr 198.108.50.131/32 198.108.102.9 255.255.255.0 add 0 0 198.108.102.9 izzy: : : ---------------------- ppp.linkup 198.108.50.131: add 0 0 HISADDR MYADDR: delete 0 0 add 0 0 HISADDR ---------------------- 09-16 17:36:05 [515] Using interface: tun0 09-16 17:36:05 [516] Listening at 3000. 09-16 17:36:05 [516] PPP Started. 09-16 17:36:18 [516] Dial attempt 1 09-16 17:36:18 [516] Expecting 09-16 17:36:18 [516] sending: ATE1Q0 09-16 17:36:18 [516] Expecting OK-AT-OK 09-16 17:36:18 [516] Wait for (5): OK --> OK 09-16 17:36:18 [516] sending: ATDT2139019 09-16 17:36:18 [516] Expecting CONNECT 09-16 17:36:18 [516] Wait for (40): CONNECT --> CONNECT dial OK! login OK! 09-16 17:36:41 [516] *Connected! 09-16 17:36:41 [516] LCP: state change Initial --> Closed 09-16 17:36:41 [516] LCP: SendConfigReq 09-16 17:36:41 [516] ACFCOMP 09-16 17:36:41 [516] PROTOCOMP 09-16 17:36:41 [516] ACCMAP [6] 00000000 09-16 17:36:41 [516] MRU [4] 1500 09-16 17:36:41 [516] MAGICNUM [6] 149a45c0 09-16 17:36:41 [516] AUTHPROTO [4] 49187 09-16 17:36:41 [516] LCP: state change Closed --> Req-Sent 09-16 17:36:44 [516] LCP: SendConfigReq 09-16 17:36:44 [516] ACFCOMP 09-16 17:36:44 [516] PROTOCOMP 09-16 17:36:44 [516] ACCMAP [6] 00000000 09-16 17:36:44 [516] MRU [4] 1500 09-16 17:36:44 [516] MAGICNUM [6] 149a45c0 09-16 17:36:44 [516] AUTHPROTO [4] 49187 09-16 17:36:44 [516] LCP: Received Configure Request (1) state = Req-Sent (6) 09-16 17:36:44 [516] ACCMAP 00000000 09-16 17:36:44 [516] MAGICNUM 25baebdb 09-16 17:36:44 [516] PROTOCOMP 09-16 17:36:44 [516] ACFCOMP 09-16 17:36:44 [516] AUTHPROTO proto = c023 09-16 17:36:44 [516] LCP: SendConfigAck(Req-Sent) 09-16 17:36:44 [516] ACCMAP 00000000 09-16 17:36:44 [516] MAGICNUM 25baebdb 09-16 17:36:44 [516] PROTOCOMP 09-16 17:36:44 [516] ACFCOMP 09-16 17:36:44 [516] AUTHPROTO proto = c023 09-16 17:36:44 [516] LCP: state change Req-Sent --> Ack-Sent 09-16 17:36:47 [516] LCP: SendConfigReq 09-16 17:36:47 [516] ACFCOMP 09-16 17:36:47 [516] PROTOCOMP 09-16 17:36:47 [516] ACCMAP [6] 00000000 09-16 17:36:47 [516] MRU [4] 1500 09-16 17:36:47 [516] MAGICNUM [6] 149a45c0 09-16 17:36:47 [516] AUTHPROTO [4] 49187 09-16 17:36:47 [516] LCP: Received Configure Nak (3) state = Ack-Sent (8) 09-16 17:36:47 [516] AUTHPROTO proto = c223 09-16 17:36:47 [516] LCP: SendConfigReq 09-16 17:36:47 [516] ACFCOMP 09-16 17:36:47 [516] PROTOCOMP 09-16 17:36:47 [516] ACCMAP [6] 00000000 09-16 17:36:47 [516] MRU [4] 1500 09-16 17:36:47 [516] MAGICNUM [6] 149a45c0 09-16 17:36:47 [516] AUTHPROTO [4] 49187 09-16 17:36:47 [516] LCP: Received Configure Nak (4) state = Ack-Sent (8) 09-16 17:36:47 [516] AUTHPROTO proto = c223 09-16 17:36:47 [516] LCP: SendConfigReq 09-16 17:36:47 [516] ACFCOMP 09-16 17:36:47 [516] PROTOCOMP 09-16 17:36:47 [516] ACCMAP [6] 00000000 09-16 17:36:47 [516] MRU [4] 1500 09-16 17:36:47 [516] MAGICNUM [6] 149a45c0 09-16 17:36:47 [516] AUTHPROTO [4] 49187 09-16 17:36:47 [516] LCP: Received Configure Nak (5) state = Ack-Sent (8) 09-16 17:36:47 [516] AUTHPROTO proto = c223 09-16 17:36:47 [516] LCP: SendConfigReq 09-16 17:36:47 [516] ACFCOMP 09-16 17:36:47 [516] PROTOCOMP 09-16 17:36:47 [516] ACCMAP [6] 00000000 09-16 17:36:47 [516] MRU [4] 1500 09-16 17:36:47 [516] MAGICNUM [6] 149a45c0 09-16 17:36:47 [516] AUTHPROTO [4] 49187 09-16 17:36:47 [516] LCP: Received Configure Request (2) state = Ack-Sent (8) 09-16 17:36:47 [516] ACCMAP 00000000 09-16 17:36:47 [516] MAGICNUM 25baebdb 09-16 17:36:47 [516] PROTOCOMP 09-16 17:36:47 [516] ACFCOMP 09-16 17:36:47 [516] AUTHPROTO proto = c023 09-16 17:36:47 [516] LCP: SendConfigAck(Ack-Sent) 09-16 17:36:47 [516] ACCMAP 00000000 09-16 17:36:47 [516] MAGICNUM 25baebdb 09-16 17:36:47 [516] PROTOCOMP 09-16 17:36:47 [516] ACFCOMP 09-16 17:36:47 [516] AUTHPROTO proto = c023 09-16 17:36:47 [516] LCP: Received Configure Nak (6) state = Ack-Sent (8) 09-16 17:36:47 [516] AUTHPROTO proto = c223 09-16 17:36:47 [516] LCP: SendConfigReq 09-16 17:36:47 [516] ACFCOMP 09-16 17:36:47 [516] PROTOCOMP 09-16 17:36:47 [516] ACCMAP [6] 00000000 09-16 17:36:47 [516] MRU [4] 1500 09-16 17:36:47 [516] MAGICNUM [6] 149a45c0 09-16 17:36:47 [516] AUTHPROTO [4] 49187 09-16 17:36:47 [516] LCP: Received Configure Nak (7) state = Ack-Sent (8) 09-16 17:36:47 [516] AUTHPROTO proto = c223 09-16 17:36:47 [516] LCP: SendConfigReq 09-16 17:36:47 [516] ACFCOMP 09-16 17:36:47 [516] PROTOCOMP 09-16 17:36:47 [516] ACCMAP [6] 00000000 09-16 17:36:47 [516] MRU [4] 1500 09-16 17:36:47 [516] MAGICNUM [6] 149a45c0 09-16 17:36:47 [516] AUTHPROTO [4] 49187 09-16 17:36:48 [516] LCP: Received Configure Nak (8) state = Ack-Sent (8) 09-16 17:36:48 [516] AUTHPROTO proto = c223 09-16 17:36:48 [516] LCP: SendConfigReq 09-16 17:36:48 [516] ACFCOMP 09-16 17:36:48 [516] PROTOCOMP 09-16 17:36:48 [516] ACCMAP [6] 00000000 09-16 17:36:48 [516] MRU [4] 1500 09-16 17:36:48 [516] MAGICNUM [6] 149a45c0 09-16 17:36:48 [516] AUTHPROTO [4] 49187 09-16 17:36:48 [516] LCP: Received Configure Nak (9) state = Ack-Sent (8) 09-16 17:36:48 [516] AUTHPROTO proto = c223 09-16 17:36:48 [516] LCP: SendTerminateReq. 09-16 17:36:48 [516] LCP: state change Ack-Sent --> Closing 09-16 17:36:48 [516] LCP: Received Terminate Ack (10) state = Closing (4) 09-16 17:36:48 [516] LCP: state change Closing --> Closed 09-16 17:36:48 [516] LCP: LayerFinish 09-16 17:36:48 [516] Disconnected! 09-16 17:36:48 [516] Connect time: 7 secs 09-16 17:36:48 [516] Phase: Dead 09-16 17:36:48 [516] LCP: state change Closed --> Initial 09-16 17:36:48 [516] Phase: Dead 09-16 17:36:50 [516] Dial attempt 1 09-16 17:36:50 [516] Expecting 09-16 17:36:50 [516] sending: ATE1Q0 09-16 17:36:50 [516] Expecting OK-AT-OK 09-16 17:36:50 [516] Wait for (5): OK --> OK 09-16 17:36:50 [516] sending: ATDT2139019 09-16 17:36:50 [516] Expecting CONNECT 09-16 17:36:50 [516] Wait for (40): CONNECT --> CONNECT dial OK! login OK! 09-16 17:37:13 [516] *Connected! 09-16 17:37:13 [516] LCP: state change Initial --> Closed 09-16 17:37:13 [516] LCP: SendConfigReq 09-16 17:37:13 [516] ACFCOMP 09-16 17:37:13 [516] PROTOCOMP 09-16 17:37:13 [516] ACCMAP [6] 00000000 09-16 17:37:13 [516] MRU [4] 1500 09-16 17:37:13 [516] MAGICNUM [6] 193bae30 09-16 17:37:13 [516] AUTHPROTO [4] 49187 09-16 17:37:13 [516] LCP: state change Closed --> Req-Sent cheers gary Gary Stanny Tierra del Fuego Ltd. 313 449 8306 stanny@TDFltd.com Financial Software 313 449 8306 (fax/fax on demand) 7725 Shady Beach Dr Whitmore Lake, MI, 48189 USA
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3.0.1.32.19970916171224.006badfc>