Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Jul 2001 12:38:54 +0100
From:      "Walter C. Pelissero" <walter@pelissero.org>
To:        freebsd-questions@freebsd.org
Subject:   PPP stopped working
Message-ID:  <15192.6222.142227.424250@hyde.lpds.sublink.org>

next in thread | raw e-mail | index | archive | help
I've recently upgraded my FreeBSD 3.4 box to 4.3-STABLE (cvsupped).
Since then my PPP (user-ppp) stopped working properly.  According to
the log file and my few knowledge of PPP, it seems like struggling
with the ISP about the right IP address to use and it gives up after
too many NAKs.

Currently my ppp.conf has got this ifaddr setting:

 set ifaddr 192.168.0.1/0 192.168.0.2/0 255.255.255.0 0.0.0.0

If I change it to

 set ifaddr 0 0 255.255.255.0 0.0.0.0

I'm able to connect manually (no -auto), but it's an invalid setting
when in -auto mode.

Does anybody know why the -auto mode doesn't work anymore?


Here is ppp.log (amended and simplified):


Phase: Connected to client from 10.0.0.2:29702 
Command: 10.0.0.2:29702: passwd ******** 
Command: 10.0.0.2:29702: dial 
Phase: bundle: Establish 
Phase: deflink: closed -> opening 
Phase: deflink: Connected! 
Phase: deflink: opening -> dial 
Chat: Phone: ****-*******
Chat: deflink: Dial attempt 1 of 1 
Chat: Send: AT^M 
Chat: Expect(5): OK 
Phase: 10.0.0.2:29702: Client connection closed. 
Chat: Received: AT^M^M 
Chat: Received: OK^M 
Chat: Send: ATE1Q0^M 
Chat: Expect(5): OK 
Chat: Received: ATE1Q0^M^M 
Chat: Received: OK^M 
Chat: Send: ATZ^M 
Chat: Expect(5): OK 
Chat: Received: ATZ^M^M 
Chat: Received: OK^M 
Chat: Send: ATL1M1^M 
Chat: Expect(5): OK 
Chat: Received: ATL1M1^M^M 
Chat: Received: OK^M 
Chat: Send: ATDT****-*******^M 
Chat: Expect(40): CONNECT 
Chat: Received: ATDT****-*******^M^M 
Chat: Received: CONNECT 
Phase: deflink: dial -> carrier 
Phase: deflink: /dev/cuaa0: CD detected 
Phase: deflink: carrier -> login 
Phase: deflink: login -> lcp 
LCP: FSM: Using "deflink" as a transport 
LCP: deflink: State change Initial --> Closed 
LCP: deflink: State change Closed --> Stopped 
LCP: deflink: LayerStart 
LCP: deflink: SendConfigReq(1) state = Stopped 
LCP:  ACFCOMP[2] 
LCP:  PROTOCOMP[2] 
LCP:  ACCMAP[6] 0x00000000 
LCP:  MRU[4] 1500 
LCP:  MAGICNUM[6] 0xa8b2b946 
LCP: deflink: State change Stopped --> Req-Sent 
LCP: deflink: RecvConfigReq(1) state = Req-Sent 
LCP:  MRU[4] 1500 
LCP:  ACCMAP[6] 0x000a0000 
LCP:  AUTHPROTO[4] 0xc023 (PAP) 
LCP:  MAGICNUM[6] 0xf540166c 
LCP:  PROTOCOMP[2] 
LCP:  ACFCOMP[2] 
LCP:  MRRU[4] 1506 
LCP: deflink: SendConfigRej(1) state = Req-Sent 
LCP:  MRRU[4] 1506 
LCP: deflink: RecvConfigReq(2) state = Req-Sent 
LCP:  MRU[4] 1500 
LCP:  ACCMAP[6] 0x000a0000 
LCP:  AUTHPROTO[4] 0xc023 (PAP) 
LCP:  MAGICNUM[6] 0xf540166c 
LCP:  PROTOCOMP[2] 
LCP:  ACFCOMP[2] 
LCP: deflink: SendConfigAck(2) state = Req-Sent 
LCP:  MRU[4] 1500 
LCP:  ACCMAP[6] 0x000a0000 
LCP:  AUTHPROTO[4] 0xc023 (PAP) 
LCP:  MAGICNUM[6] 0xf540166c 
LCP:  PROTOCOMP[2] 
LCP:  ACFCOMP[2] 
LCP: deflink: State change Req-Sent --> Ack-Sent 
LCP: deflink: SendConfigReq(1) state = Ack-Sent 
LCP:  ACFCOMP[2] 
LCP:  PROTOCOMP[2] 
LCP:  ACCMAP[6] 0x00000000 
LCP:  MRU[4] 1500 
LCP:  MAGICNUM[6] 0xa8b2b946 
LCP: deflink: RecvConfigAck(1) state = Ack-Sent 
LCP: deflink: State change Ack-Sent --> Opened 
LCP: deflink: LayerUp 
Phase: bundle: Authenticate 
Phase: deflink: his = PAP, mine = none 
Phase: Pap Output: ******** ******** 
Phase: Pap Input: SUCCESS () 
IPCP: Using trigger address 0.0.0.0 
CCP: FSM: Using "deflink" as a transport 
CCP: deflink: State change Initial --> Closed 
CCP: deflink: LayerStart. 
CCP: MPPE: Not usable without CHAP81 
CCP: deflink: SendConfigReq(1) state = Closed 
CCP:  DEFLATE[4] win 15 
CCP:  PRED1[2]  
CCP: deflink: State change Closed --> Req-Sent 
Phase: deflink: lcp -> open 
Phase: bundle: Network 
IPCP: FSM: Using "deflink" as a transport 
IPCP: deflink: State change Initial --> Closed 
IPCP: deflink: LayerStart. 
IPCP: deflink: SendConfigReq(1) state = Closed 
IPCP:  IPADDR[6]  0.0.0.0 
IPCP:  COMPPROTO[6]  16 VJ slots with slot compression 
IPCP: deflink: State change Closed --> Req-Sent 
CCP: deflink: RecvConfigReq(1) state = Req-Sent 
CCP:  MPPE[6] value 0x00000001 ( bits, stateful, compressed) 
CCP: MPPE: Not usable without CHAP81 
CCP: deflink: SendConfigRej(1) state = Req-Sent 
CCP:  MPPE[6] value 0x00000001 ( bits, stateful, compressed) 
CCP: deflink: RecvConfigRej(1) state = Req-Sent 
CCP:  DEFLATE[4] win 15 
CCP:  PRED1[2]  
CCP: MPPE: Not usable without CHAP81 
CCP: deflink: SendConfigReq(2) state = Req-Sent 
CCP:   [EMPTY] 
IPCP: deflink: RecvConfigReq(1) state = Req-Sent 
IPCP:   [EMPTY] 
IPCP: deflink: SendConfigNak(1) state = Req-Sent 
IPCP:  IPADDR[6]  192.168.0.2 
IPCP: deflink: RecvConfigRej(1) state = Req-Sent 
IPCP:  COMPPROTO[6]  16 VJ slots with slot compression 
IPCP: deflink: SendConfigReq(2) state = Req-Sent 
IPCP:  IPADDR[6]  0.0.0.0 
CCP: deflink: RecvConfigReq(2) state = Req-Sent 
CCP:  STAC[5]  
CCP: deflink: SendConfigRej(2) state = Req-Sent 
CCP:  STAC[5]  
CCP: deflink: RecvConfigAck(2) state = Req-Sent 
CCP: deflink: State change Req-Sent --> Ack-Rcvd 
IPCP: deflink: RecvConfigReq(2) state = Req-Sent 
IPCP:   [EMPTY] 
IPCP: deflink: SendConfigNak(2) state = Req-Sent 
IPCP:  IPADDR[6]  192.168.0.2 
IPCP: deflink: RecvConfigNak(2) state = Req-Sent 
IPCP:  IPADDR[6]  212.1.137.154 
IPCP:  IPADDR[6]  changing address: 0.0.0.0  --> 212.1.137.154 
IPCP: deflink: SendConfigReq(3) state = Req-Sent 
IPCP:  IPADDR[6]  212.1.137.154 
CCP: deflink: RecvConfigReq(3) state = Ack-Rcvd 
CCP:  STAC[5]  
CCP: deflink: SendConfigRej(3) state = Ack-Rcvd 
CCP:  STAC[5]  
IPCP: deflink: RecvConfigReq(3) state = Req-Sent 
IPCP:   [EMPTY] 
IPCP: deflink: SendConfigNak(3) state = Req-Sent 
IPCP:  IPADDR[6]  192.168.0.2 
IPCP: deflink: RecvConfigAck(3) state = Req-Sent 
IPCP: deflink: State change Req-Sent --> Ack-Rcvd 
CCP: deflink: RecvTerminateReq(1) state = Ack-Rcvd 
CCP: deflink: SendTerminateAck(1) state = Ack-Rcvd 
CCP: deflink: State change Ack-Rcvd --> Req-Sent 
IPCP: deflink: RecvConfigReq(4) state = Ack-Rcvd 
IPCP:   [EMPTY] 
IPCP: deflink: SendConfigNak(4) state = Ack-Rcvd 
IPCP:  IPADDR[6]  192.168.0.2 
IPCP: deflink: RecvConfigReq(5) state = Ack-Rcvd 
IPCP:   [EMPTY] 
IPCP: deflink: SendConfigNak(5) state = Ack-Rcvd 
IPCP:  IPADDR[6]  192.168.0.2 
IPCP: deflink: RecvConfigReq(6) state = Ack-Rcvd 
IPCP:   [EMPTY] 
IPCP: deflink: SendConfigNak(6) state = Ack-Rcvd 
IPCP:  IPADDR[6]  192.168.0.2 
IPCP: deflink: RecvConfigReq(7) state = Ack-Rcvd 
IPCP:   [EMPTY] 
IPCP: deflink: SendConfigNak(7) state = Ack-Rcvd 
IPCP:  IPADDR[6]  192.168.0.2 
IPCP: deflink: RecvConfigReq(8) state = Ack-Rcvd 
IPCP:   [EMPTY] 
IPCP: deflink: SendConfigNak(8) state = Ack-Rcvd 
IPCP:  IPADDR[6]  192.168.0.2 
IPCP: deflink: RecvConfigReq(9) state = Ack-Rcvd 
IPCP:   [EMPTY] 
IPCP: deflink: SendConfigNak(9) state = Ack-Rcvd 
IPCP:  IPADDR[6]  192.168.0.2 
IPCP: deflink: RecvConfigReq(10) state = Ack-Rcvd 
IPCP:   [EMPTY] 
IPCP: deflink: SendConfigNak(10) state = Ack-Rcvd 
IPCP:  IPADDR[6]  192.168.0.2 
IPCP: deflink: RecvConfigReq(11) state = Ack-Rcvd 
IPCP:   [EMPTY] 
IPCP: deflink: SendConfigNak(11) state = Ack-Rcvd 
IPCP:  IPADDR[6]  192.168.0.2 
IPCP: deflink: RecvConfigReq(12) state = Ack-Rcvd 
IPCP:   [EMPTY] 
IPCP: deflink: SendConfigNak(12) state = Ack-Rcvd 
IPCP:  IPADDR[6]  192.168.0.2 
IPCP: deflink: RecvConfigReq(13) state = Ack-Rcvd 
IPCP:   [EMPTY] 
IPCP: deflink: SendConfigNak(13) state = Ack-Rcvd 
IPCP:  IPADDR[6]  192.168.0.2 
IPCP: deflink: RecvConfigReq(14) state = Ack-Rcvd 
IPCP:   [EMPTY] 
IPCP: deflink: SendConfigNak(14) state = Ack-Rcvd 
IPCP:  IPADDR[6]  192.168.0.2 
IPCP: deflink: RecvConfigReq(15) state = Ack-Rcvd 
IPCP:   [EMPTY] 
IPCP: deflink: SendConfigNak(15) state = Ack-Rcvd 
IPCP:  IPADDR[6]  192.168.0.2 
Phase: deflink: Too many IPCP NAKs sent - abandoning negotiation 
IPCP: deflink: SendTerminateReq(4) state = Ack-Rcvd 
IPCP: deflink: State change Ack-Rcvd --> Closing 
IPCP: deflink: RecvConfigReq(16) state = Closing 
IPCP: deflink: Error: Got ConfigReq while state = Closing 
IPCP: deflink: RecvTerminateAck(4) state = Closing 
IPCP: deflink: LayerFinish. 
IPCP: Connect time: 2 secs: 0 octets in, 0 octets out 
IPCP: : 0 packets in, 0 packets out 
IPCP:  total 0 bytes/sec, peak 0 bytes/sec on Fri Jul 20 11:54:55 2001 
IPCP: deflink: State change Closing --> Closed 
Phase: bundle: Terminate 
CCP: deflink: State change Req-Sent --> Starting 
CCP: deflink: LayerFinish. 
CCP: deflink: State change Starting --> Initial 
LCP: deflink: LayerDown 
LCP: deflink: SendTerminateReq(2) state = Opened 
LCP: deflink: State change Opened --> Closing 
Phase: deflink: open -> lcp 
IPCP: deflink: State change Closed --> Initial 
Phase: deflink: Carrier lost 
LCP: deflink: LayerFinish 
LCP: deflink: State change Closing --> Initial 
Phase: deflink: Disconnected! 
Phase: deflink: lcp -> logout 
Phase: deflink: Disconnected! 
Phase: deflink: logout -> hangup 
Phase: deflink: Connect time: 33 secs: 526 octets in, 622 octets out 
Phase: deflink: : 26 packets in, 31 packets out 
Phase:  total 34 bytes/sec, peak 221 bytes/sec on Fri Jul 20 11:54:57 2001 
Phase: deflink: hangup -> closed 
Phase: bundle: Dead 

-- 
walter pelissero
http://www.pelissero.org

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?15192.6222.142227.424250>