Return to BSD News archive
#! rnews 10027 bsd Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!nntp.coast.net!howland.erols.net!news.sprintlink.net!news-peer.sprintlink.net!express.ior.com!usenet From: Philip Cox <pcc@ntsinc.com> Newsgroups: comp.unix.bsd.freebsd.misc Subject: [HELP] Another PPP problem Date: Mon, 06 Jan 1997 20:05:29 -0800 Organization: NTS, Inc. Lines: 257 Message-ID: <32D1CB89.7F01@ntsinc.com> Reply-To: pcc@ntsinc.com NNTP-Posting-Host: ppp-001.tracy.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 3.01 (WinNT; I) Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:33748 I am having ppp problems. I can get in fine with manual dial and login, but am having a bit of problems with auto. I am new at this ppp setup and would like another set of eyes to help me out. Any and all pointers would be appreciated. Phil ============================================ Here is ppp.conf default: set device /dev/cuaa1 set speed 57600 set timeout 1200 set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" ATE1M1 OK-AT-OK \\dATDT\\T TIMEOUT 40 CONNECT" # # tracy-demand: set debug lcp chat set phone 8320720 set login "TIMEOUT 20 ogin:-\\r-ogin: pcc word: passwd\\r" set ifaddr 207.12.199.138/0 207.12.199.1/0 netmask 0xffffff00 add 0 0 207.12.199.1 ============================================ ppp.linkup # If we are invoked with an argument ``iij-demand'', then # delete existing route entry and add peer as default gateway. # tracy-demand: delete ALL add 0 0 HISADDR # # Otherwise, simply add peer as default gateway. # MYADDR: add 0 0 HISADDR ============================================ This is the log from my ppp -auto tracy-demand ============================================ 01-06 11:33:09 [278] Using interface: tun0 01-06 11:33:17 [279] Dial attempt 1 01-06 11:33:17 [279] Expecting 01-06 11:33:17 [279] sending: ATE1M1 01-06 11:33:17 [279] Expecting OK-AT-OK 01-06 11:33:17 [279] Wait for (5): OK --> OK 01-06 11:33:17 [279] sending: ATDT8220720 01-06 11:33:17 [279] Expecting CONNECT 01-06 11:33:17 [279] Wait for (40): CONNECT --> CONNECT dial OK! 01-06 11:33:35 [279] Expecting ogin:-\r-ogin: 01-06 11:33:35 [279] Wait for (20): ogin: --> ogin: 01-06 11:33:40 [279] sending: me 01-06 11:33:40 [279] Expecting word: 01-06 11:33:40 [279] Wait for (20): word: --> word: 01-06 11:33:40 [279] sending: passwd login OK! 01-06 11:33:40 [279] LCP: state change Initial --> Closed 01-06 11:33:40 [279] LCP: state change Closed --> Stopped 01-06 11:34:18 [279] LCP: state change Stopped --> Closed 01-06 11:34:18 [279] LCP: state change Closed --> Initial ============================================ This is from manual ppp, then "dial tracy-demand" command 01-06 11:37:46 [297] PPP Started. 01-06 11:38:03 [297] Expecting 01-06 11:38:03 [297] sending: ATE1M1 01-06 11:38:03 [297] Expecting OK-AT-OK 01-06 11:38:03 [297] Wait for (5): OK --> OK 01-06 11:38:03 [297] sending: ATDT8320720 01-06 11:38:03 [297] Expecting CONNECT 01-06 11:38:03 [297] Wait for (40): CONNECT --> CONNECT 01-06 11:38:21 [297] Expecting ogin:-\r-ogin: 01-06 11:38:21 [297] Wait for (20): ogin: --> ogin: 01-06 11:38:26 [297] sending: pcc 01-06 11:38:26 [297] Expecting word: 01-06 11:38:26 [297] Wait for (20): word: --> word: 01-06 11:38:26 [297] sending: passwd 01-06 11:38:26 [297] LCP: state change Initial --> Closed 01-06 11:38:26 [297] LCP: state change Closed --> Stopped ============================================ This is from manual ppp, then mannual commands (this is the only one which works) 01-06 11:40:13 [310] Using interface: tun0 01-06 11:40:13 [310] PPP Started. 01-06 11:41:03 [310] *Connected! 01-06 11:41:36 [310] LCP: state change Initial --> Closed 01-06 11:41:36 [310] LCP: state change Closed --> Stopped 01-06 11:41:40 [310] LCP: Received Configure Request (1) state = Stopped (3) 01-06 11:41:40 [310] ???[00] 01-06 11:41:40 [310] MRU 1524 01-06 11:41:40 [310] ACCMAP 000a0000 01-06 11:41:40 [310] PROTOCOMP 01-06 11:41:40 [310] ACFCOMP 01-06 11:41:40 [310] ???[11] 01-06 11:41:40 [310] ???[13] 01-06 11:41:40 [310] LCP: SendConfigReq 01-06 11:41:40 [310] ACFCOMP 01-06 11:41:40 [310] PROTOCOMP 01-06 11:41:40 [310] ACCMAP [6] 00000000 01-06 11:41:40 [310] MRU [4] 1500 01-06 11:41:40 [310] MAGICNUM [6] 1a8165c4 01-06 11:41:40 [310] QUALPROTO (3000) 01-06 11:41:40 [310] LCP: SendConfigRej(Stopped) 01-06 11:41:40 [310] ???[00] 01-06 11:41:40 [310] ???[11] 01-06 11:41:40 [310] ???[13] 01-06 11:41:40 [310] LCP: state change Stopped --> Req-Sent 01-06 11:41:40 [310] LCP: Received Configure Request (2) state = Req-Sent (6) 01-06 11:41:40 [310] MRU 1524 01-06 11:41:40 [310] ACCMAP 000a0000 01-06 11:41:40 [310] PROTOCOMP 01-06 11:41:40 [310] ACFCOMP 01-06 11:41:40 [310] LCP: SendConfigAck(Req-Sent) 01-06 11:41:40 [310] MRU 1524 01-06 11:41:40 [310] ACCMAP 000a0000 01-06 11:41:40 [310] PROTOCOMP 01-06 11:41:40 [310] ACFCOMP 01-06 11:41:40 [310] LCP: state change Req-Sent --> Ack-Sent 01-06 11:41:43 [310] LCP: SendConfigReq 01-06 11:41:43 [310] ACFCOMP 01-06 11:41:43 [310] PROTOCOMP 01-06 11:41:43 [310] ACCMAP [6] 00000000 01-06 11:41:43 [310] MRU [4] 1500 01-06 11:41:43 [310] MAGICNUM [6] 1a8165c4 01-06 11:41:43 [310] QUALPROTO (3000) 01-06 11:41:43 [310] LCP: Received Configure Reject (2) state = Ack-Sent (8) 01-06 11:41:43 [310] LCP: RecvConfigRej. 01-06 11:41:43 [310] QUALPROTO proto: c025, interval: 30000ms 01-06 11:41:43 [310] LCP: SendConfigReq 01-06 11:41:43 [310] ACFCOMP 01-06 11:41:43 [310] PROTOCOMP 01-06 11:41:43 [310] ACCMAP [6] 00000000 01-06 11:41:43 [310] MRU [4] 1500 01-06 11:41:43 [310] MAGICNUM [6] 1a8165c4 01-06 11:41:43 [310] LCP: Received Configure Ack (3) state = Ack-Sent (8) 01-06 11:41:43 [310] LCP: state change Ack-Sent --> Opend 01-06 11:41:43 [310] LCP: LayerUp 01-06 11:41:43 [310] Phase: Authenticate 01-06 11:41:43 [310] his = 0, mine = 0 01-06 11:41:43 [310] Phase: Network 01-06 11:41:43 [310] IPCP: state change Initial --> Closed 01-06 11:41:43 [310] IPCP Up event!! 01-06 11:41:43 [310] IPCP: SendConfigReq 01-06 11:41:43 [310] IPADDR [6] 0.0.0.0 01-06 11:41:43 [310] COMPPROTO [6] 002d0f00 01-06 11:41:43 [310] IPCP: state change Closed --> Req-Sent 01-06 11:41:43 [310] CCP: state change Initial --> Closed 01-06 11:41:43 [310] CCP Up event!! 01-06 11:41:43 [310] CCP: SendConfigReq 01-06 11:41:43 [310] CCP: state change Closed --> Req-Sent 01-06 11:41:43 [310] CCP: Received Configure Request (1) state = Req-Sent (6) 01-06 11:41:43 [310] STAC[6] 01-06 11:41:43 [310] CCP: SendConfigRej(Req-Sent) 01-06 11:41:43 [310] STAC[6] 01-06 11:41:43 [310] IPCP: Received Configure Request (1) state = Req-Sent (6) 01-06 11:41:43 [310] COMPPROTO[6] 002d0f01 01-06 11:41:43 [310] IPADDR[6] 207.12.199.1 01-06 11:41:43 [310] IPCP: SendConfigAck(Req-Sent) 01-06 11:41:43 [310] COMPPROTO[6] 002d0f01 01-06 11:41:43 [310] IPADDR[6] 207.12.199.1 01-06 11:41:43 [310] IPCP: state change Req-Sent --> Ack-Sent 01-06 11:41:43 [310] IPCP: Received Configure Nak (1) state = Ack-Sent (8) 01-06 11:41:43 [310] IPADDR[6] 207.12.199.155 01-06 11:41:43 [310] IPADDR[6] changing address: 0.0.0.0 --> 207.12.199.155 01-06 11:41:43 [310] IPCP: SendConfigReq 01-06 11:41:43 [310] IPADDR [6] 207.12.199.155 01-06 11:41:43 [310] COMPPROTO [6] 002d0f00 01-06 11:41:43 [310] CCP: Received Configure Reject (1) state = Req-Sent (6) 01-06 11:41:43 [310] CCP: RecvConfigRej. 01-06 11:41:43 [310] PRED1[2] 01-06 11:41:43 [310] CCP: SendConfigReq 01-06 11:41:44 [310] IPCP: Received Configure Ack (2) state = Ack-Sent (8) 01-06 11:41:44 [310] IPCP: state change Ack-Sent --> Opend 01-06 11:41:44 [310] IPCP: LayerUp. 01-06 11:41:44 [310] myaddr = 207.12.199.155 hisaddr = 207.12.199.1 01-06 11:41:44 [310] OsLinkup: 207.12.199.1 01-06 11:41:44 [310] CCP: Received Configure Reject (2) state = Req-Sent (6) 01-06 11:41:44 [310] CCP: RecvConfigRej. 01-06 11:41:44 [310] CCP: SendConfigReq 01-06 11:41:44 [310] CCP: Received Configure Reject (3) state = Req-Sent (6) 01-06 11:41:44 [310] CCP: RecvConfigRej. 01-06 11:41:44 [310] CCP: SendConfigReq 01-06 11:41:44 [310] CCP: Received Configure Reject (4) state = Req-Sent (6) 01-06 11:41:44 [310] CCP: RecvConfigRej. 01-06 11:41:44 [310] CCP: SendConfigReq 01-06 11:41:44 [310] CCP: Received Configure Reject (5) state = Req-Sent (6) 01-06 11:41:44 [310] CCP: RecvConfigRej. 01-06 11:41:44 [310] CCP: SendConfigReq 01-06 11:41:44 [310] CCP: Received Configure Reject (6) state = Req-Sent (6) 01-06 11:41:44 [310] CCP: RecvConfigRej. 01-06 11:41:44 [310] CCP: SendConfigReq 01-06 11:41:45 [310] CCP: Received Configure Reject (7) state = Req-Sent (6) 01-06 11:41:45 [310] CCP: RecvConfigRej. 01-06 11:41:45 [310] CCP: SendConfigReq 01-06 11:41:45 [310] CCP: Received Configure Reject (8) state = Req-Sent (6) 01-06 11:41:45 [310] CCP: RecvConfigRej. 01-06 11:41:45 [310] CCP: SendConfigReq 01-06 11:41:45 [310] CCP: Received Terminate Request (2) state = Req-Sent (6) 01-06 11:41:45 [310] CCP: SendTerminateAck 01-06 11:41:45 [310] CCP: Received Terminate Request (3) state = Req-Sent (6) 01-06 11:41:45 [310] CCP: SendTerminateAck 01-06 11:41:48 [310] CCP: SendTerminateReq. 01-06 11:41:48 [310] CCP: state change Req-Sent --> Closing 01-06 11:41:48 [310] CCP: Received Terminate Ack (12) state = Closing (4) 01-06 11:41:48 [310] CCP: state change Closing --> Closed 01-06 11:41:48 [310] CCP: LayerFinish. 01-06 11:41:49 [310] CCP: Received Terminate Request (4) state = Closed (2) 01-06 11:41:49 [310] CCP: SendTerminateAck 01-06 11:41:53 [310] CCP: Received Terminate Request (5) state = Closed (2) 01-06 11:41:53 [310] CCP: SendTerminateAck 01-06 11:41:56 [310] OsLinkdown: 207.12.199.1 01-06 11:41:56 [310] Disconnected! 01-06 11:41:56 [310] Connect time: 53 secs 01-06 11:41:56 [310] Phase: Dead 01-06 11:41:56 [310] LCP: LayerDown 01-06 11:41:56 [310] Phase: Terminate 01-06 11:41:56 [310] LCP: state change Opend --> Starting 01-06 11:41:57 [310] PPP Terminated.