From owner-freebsd-questions Tue Sep 16 15:12:55 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id PAA23595 for questions-outgoing; Tue, 16 Sep 1997 15:12:55 -0700 (PDT) Received: from izzy4.izzy.net (root@izzy4.izzy.net [198.108.102.10]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id PAA23586 for ; Tue, 16 Sep 1997 15:12:49 -0700 (PDT) Received: from albert.TDFltd.com (stanny.izzy.net [198.108.50.131]) by izzy4.izzy.net (8.8.5/8.6.9) with SMTP id SAA05178; Tue, 16 Sep 1997 18:12:29 -0400 (EDT) Message-Id: <3.0.1.32.19970916171224.006badfc@izzy.net> X-Sender: stanny@izzy.net Disposition-Notification-To: X-Mailer: Windows Eudora Pro Version 3.0.1 (32) Date: Tue, 16 Sep 1997 17:12:24 -0400 To: questions@freebsd.org From: Gary Stanny Subject: PPP & PAP - it hangs up after 7 seconds Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk 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