Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Aug 2002 17:30:36 -0600
From:      Kyle Butt <kylebutt@myrealbox.com>
To:        =?iso-8859-1?Q?Radu_M=2E_Obad=E3?= <whizkid@xnet.ro>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: PPP problems
Message-ID:  <20020810173036.A347@kylebutt.dorms.usu.edu>
In-Reply-To: <1028725091.smmsdV1.1.2@217.10.192.251>; from whizkid@xnet.ro on Wed, Aug 07, 2002 at 03:58:11PM %2B0200
References:  <1028725091.smmsdV1.1.2@217.10.192.251>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Aug 07, 2002 at 03:58:11PM +0200, Radu M. Obadã wrote:
> Here they are:
> ===ppp.conf
> default:
>         set log Chat CCP IPCP LCP Phase TUN
> 	set device /dev/cuaa1
>  	set speed 115200
>  	set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \
>            	\"\" ATZ OK ATW4L1 OK \\dATDT\\T TIMEOUT 60 CONNECT"
>  	set timeout 180
> 
> 	disable predict
> 	deny predict
> 	disable deflate
> 	deny deflate
> 
> 	enable pap
	^^^^^^^^^^
	This is your problem. Your requesting your ISP to authenticate.
	Look at the log. Your ISP is repeatedly rejecting requests to
	authenticate itself.

> xnet:
>  	set phone 0302222
>  	set authname whizkid
>  	set authkey **********
>  
> 	set ifaddr 10.0.0.1/0 10.0.0.2/0 0.0.0.0 0.0.0.0
>  	add default HISADDR
> 
> ===end ppp.conf (I removed the password;)
> ===ppp.log
> Jul 29 15:30:46  ppp[252]: Phase: Using interface: tun0 
> Jul 29 15:30:47  ppp[252]: Phase: deflink: Created in closed state 
> Jul 29 15:30:47  ppp[253]: tun0: Phase: PPP Started (background mode). 
> Jul 29 15:30:47  ppp[253]: tun0: Phase: bundle: Establish 
> Jul 29 15:30:47  ppp[253]: tun0: Phase: deflink: closed -> opening 
> Jul 29 15:30:47  ppp[253]: tun0: Phase: deflink: Connected! 
> Jul 29 15:30:47  ppp[253]: tun0: Phase: deflink: opening -> dial 
> Jul 29 15:30:47  ppp[253]: tun0: Chat: Phone: 0302222 
> Jul 29 15:30:47  ppp[253]: tun0: Chat: deflink: Dial attempt 1 of 1 
> Jul 29 15:30:47  ppp[253]: tun0: Chat: Send: ATZ^M 
> Jul 29 15:30:47  ppp[253]: tun0: Chat: Expect(5): OK 
> Jul 29 15:30:47  ppp[253]: tun0: Chat: Received: ATZ^M^M 
> Jul 29 15:30:47  ppp[253]: tun0: Chat: Received: OK^M 
> Jul 29 15:30:47  ppp[253]: tun0: Chat: Send: ATW4L1^M 
> Jul 29 15:30:47  ppp[253]: tun0: Chat: Expect(5): OK 
> Jul 29 15:30:47  ppp[253]: tun0: Chat: Received: ATW4L1^M^M 
> Jul 29 15:30:47  ppp[253]: tun0: Chat: Received: OK^M 
> Jul 29 15:30:47  ppp[253]: tun0: Chat: Send: ATDT0302222^M 
> Jul 29 15:30:49  ppp[253]: tun0: Chat: Expect(60): CONNECT 
> Jul 29 15:31:12  ppp[253]: tun0: Chat: Received: ATDT0302222^M^M 
> Jul 29 15:31:12  ppp[253]: tun0: Chat: Received: PROTOCOL:LAPM^M 
> Jul 29 15:31:12  ppp[253]: tun0: Chat: Received: COMPRESSION:V42B^M 
> Jul 29 15:31:12  ppp[253]: tun0: Chat: Received: CONNECT 49333^M 
> Jul 29 15:31:12  ppp[253]: tun0: Phase: deflink: dial -> carrier 
> Jul 29 15:31:13  ppp[253]: tun0: Phase: deflink: /dev/cuaa1: CD detected 
> 
> Jul 29 15:31:13  ppp[253]: tun0: Phase: deflink: carrier -> login 
> Jul 29 15:31:13  ppp[253]: tun0: Phase: deflink: login -> lcp 
> Jul 29 15:31:13  ppp[253]: tun0: LCP: FSM: Using "deflink" as a 
> transport 
> Jul 29 15:31:13  ppp[253]: tun0: LCP: deflink: State change Initial --> 
> Closed 
> Jul 29 15:31:13  ppp[253]: tun0: LCP: deflink: State change Closed --> 
> Stopped 
> Jul 29 15:31:14  ppp[253]: tun0: LCP: deflink: LayerStart 
> Jul 29 15:31:14  ppp[253]: tun0: LCP: deflink: SendConfigReq(1) state = 
> Stopped 
> Jul 29 15:31:14  ppp[253]: tun0: LCP:  ACFCOMP[2] 
> Jul 29 15:31:14  ppp[253]: tun0: LCP:  PROTOCOMP[2] 
> Jul 29 15:31:14  ppp[253]: tun0: LCP:  ACCMAP[6] 0x00000000 
> Jul 29 15:31:14  ppp[253]: tun0: LCP:  MRU[4] 1500 
> Jul 29 15:31:14  ppp[253]: tun0: LCP:  MAGICNUM[6] 0xd09ef541 
> Jul 29 15:31:14  ppp[253]: tun0: LCP:  AUTHPROTO[4] 0xc023 (PAP) 
> Jul 29 15:31:14  ppp[253]: tun0: LCP: deflink: State change Stopped --> 
> Req-Sent 
> Jul 29 15:31:16  ppp[253]: tun0: Phase: Unknown protocol 0x000d 
> (reserved (transparency inefficient)) 
> Jul 29 15:31:16  ppp[253]: tun0: LCP: deflink: SendProtocolRej(1) state 
> = Req-Sent 
> Jul 29 15:31:17  ppp[253]: tun0: LCP: deflink: SendConfigReq(1) state = 
> Req-Sent 
> Jul 29 15:31:17  ppp[253]: tun0: LCP:  ACFCOMP[2] 
> Jul 29 15:31:17  ppp[253]: tun0: LCP:  PROTOCOMP[2] 
> Jul 29 15:31:17  ppp[253]: tun0: LCP:  ACCMAP[6] 0x00000000 
> Jul 29 15:31:17  ppp[253]: tun0: LCP:  MRU[4] 1500 
> Jul 29 15:31:17  ppp[253]: tun0: LCP:  MAGICNUM[6] 0xd09ef541 
> Jul 29 15:31:17  ppp[253]: tun0: LCP:  AUTHPROTO[4] 0xc023 (PAP) 
> Jul 29 15:31:18  ppp[253]: tun0: LCP: deflink: RecvConfigReq(1) state = 
> Req-Sent 
> Jul 29 15:31:18  ppp[253]: tun0: LCP:  MRU[4] 1450 
> Jul 29 15:31:18  ppp[253]: tun0: LCP:  ACCMAP[6] 0x000a0000 
> Jul 29 15:31:18  ppp[253]: tun0: LCP:  AUTHPROTO[4] 0xc023 (PAP) 
> Jul 29 15:31:18  ppp[253]: tun0: LCP:  MAGICNUM[6] 0x2dcb0bc6 
> Jul 29 15:31:18  ppp[253]: tun0: LCP:  PROTOCOMP[2] 
> Jul 29 15:31:18  ppp[253]: tun0: LCP:  ACFCOMP[2] 
> Jul 29 15:31:18  ppp[253]: tun0: LCP: deflink: SendConfigAck(1) state = 
> Req-Sent 
> Jul 29 15:31:18  ppp[253]: tun0: LCP:  MRU[4] 1450 
> Jul 29 15:31:18  ppp[253]: tun0: LCP:  ACCMAP[6] 0x000a0000 
> Jul 29 15:31:18  ppp[253]: tun0: LCP:  AUTHPROTO[4] 0xc023 (PAP) 
> Jul 29 15:31:18  ppp[253]: tun0: LCP:  MAGICNUM[6] 0x2dcb0bc6 
> Jul 29 15:31:18  ppp[253]: tun0: LCP:  PROTOCOMP[2] 
> Jul 29 15:31:18  ppp[253]: tun0: LCP:  ACFCOMP[2] 
> Jul 29 15:31:18  ppp[253]: tun0: LCP: deflink: State change Req-Sent --> 
> Ack-Sent 
> Jul 29 15:31:20  ppp[253]: tun0: LCP: deflink: SendConfigReq(1) state = 
> Ack-Sent 
> Jul 29 15:31:20  ppp[253]: tun0: LCP:  ACFCOMP[2] 
> Jul 29 15:31:20  ppp[253]: tun0: LCP:  PROTOCOMP[2] 
> Jul 29 15:31:20  ppp[253]: tun0: LCP:  ACCMAP[6] 0x00000000 
> Jul 29 15:31:20  ppp[253]: tun0: LCP:  MRU[4] 1500 
> Jul 29 15:31:20  ppp[253]: tun0: LCP:  MAGICNUM[6] 0xd09ef541 
> Jul 29 15:31:20  ppp[253]: tun0: LCP:  AUTHPROTO[4] 0xc023 (PAP) 
> Jul 29 15:31:20  ppp[253]: tun0: LCP: deflink: RecvConfigRej(1) state = 
> Ack-Sent 
> Jul 29 15:31:20  ppp[253]: tun0: LCP:  ACCMAP[6] 0x00000000 
> Jul 29 15:31:20  ppp[253]: tun0: LCP:  AUTHPROTO[4] 0xc023 (PAP) 
> Jul 29 15:31:20  ppp[253]: tun0: LCP: deflink: SendConfigReq(2) state = 
> Ack-Sent 
> Jul 29 15:31:20  ppp[253]: tun0: LCP:  ACFCOMP[2] 
> Jul 29 15:31:20  ppp[253]: tun0: LCP:  PROTOCOMP[2] 
> Jul 29 15:31:20  ppp[253]: tun0: LCP:  MRU[4] 1500 
> Jul 29 15:31:20  ppp[253]: tun0: LCP:  MAGICNUM[6] 0xd09ef541 
> Jul 29 15:31:20  ppp[253]: tun0: LCP:  AUTHPROTO[4] 0xc023 (PAP) 

> Jul 29 15:31:20  ppp[253]: tun0: LCP: deflink: RecvConfigRej(2) state = 
> Ack-Sent 
> Jul 29 15:31:20  ppp[253]: tun0: LCP:  AUTHPROTO[4] 0xc023 (PAP) 

^^^^^^^^^^^^^
See all these? That's your failure to negotiate

<snip>

Regards,
	Kyle

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?20020810173036.A347>