From owner-freebsd-net@FreeBSD.ORG Mon Jun 30 14:37:01 2003 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 54C3637B4FA for ; Mon, 30 Jun 2003 14:37:01 -0700 (PDT) Received: from mail.dada.it (mail3.dada.it [195.110.100.3]) by mx1.FreeBSD.org (Postfix) with SMTP id A4CB143FDD for ; Mon, 30 Jun 2003 14:36:31 -0700 (PDT) (envelope-from ale@unixmania.net) Received: (qmail 30620 invoked from network); 30 Jun 2003 21:36:25 -0000 Received: from unknown (HELO libero.sunshine.ale) (195.110.114.252) by mail.dada.it with SMTP; 30 Jun 2003 21:36:25 -0000 Received: by libero.sunshine.ale (Postfix, from userid 1001) id D6BA76248; Mon, 30 Jun 2003 23:36:26 +0200 (CEST) Date: Mon, 30 Jun 2003 23:36:26 +0200 From: Alessandro de Manzano To: Doug White Message-ID: <20030630233626.A73415@libero.sunshine.ale> References: <20030630212122.A72414@libero.sunshine.ale> <20030630124257.M31036@carver.gumbysoft.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20030630124257.M31036@carver.gumbysoft.com>; from dwhite@gumbysoft.com on Mon, Jun 30, 2003 at 12:44:51PM -0700 X-Operating-System: FreeBSD 4.7-STABLE cc: mobile@freebsd.org cc: Reinhard Speyerer cc: net@freebsd.org Subject: Re: strange PPP negotiation problem with GPRS mobile phone X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Alessandro de Manzano List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Jun 2003 21:37:01 -0000 On Mon, Jun 30, 2003 at 12:44:51PM -0700, Doug White wrote: > Quick analysis: It doesn't like something in the negotiation, since it > rejects config attempts. Usually its supposed to tell you what it didn't > like, but I'm not seeing that in the printout. Ok, now after the kind help of Mr. Speyerer I've reached the following phase: Now PPP seems to negotiate some IP address, but after about a second it still close the session... Could someone, please, help me understanding what's wrong now according to this log ? ;) Many thanks forever :)) Jun 30 23:27:13 asusmobile ppp[274]: Phase: Using interface: tun0 Jun 30 23:27:13 asusmobile ppp[274]: Phase: deflink: Created in closed state Jun 30 23:27:15 asusmobile ppp[274]: tun0: Command: default: ident user-ppp VERSION (built COMPILATIONDATE) Jun 30 23:27:15 asusmobile ppp[274]: tun0: Command: default: set device /dev/cuaa0 Jun 30 23:27:15 asusmobile ppp[274]: tun0: Command: default: set speed 115200 Jun 30 23:27:15 asusmobile ppp[274]: tun0: Command: default: set dial ABORT BUSY ABORT NO\sCARRIER TIMEOUT 5 "" AT OK-AT-OK ATE1Q0 OK \dATDT\T TIMEOUT 40 CONNECT Jun 30 23:27:15 asusmobile ppp[274]: tun0: Command: default: set timeout 180 Jun 30 23:27:15 asusmobile ppp[274]: tun0: Command: default: enable dns Jun 30 23:27:15 asusmobile ppp[274]: tun0: Command: default: disable ipv6cp Jun 30 23:27:15 asusmobile ppp[274]: tun0: Command: default: disable mppe Jun 30 23:27:15 asusmobile ppp[274]: tun0: Command: vodagprs: set speed 57600 Jun 30 23:27:15 asusmobile ppp[274]: tun0: Command: vodagprs: set dial ABORT BUSY ABORT NO\sCARRIER TIMEOUT 5 "" ATZ OK-AT-OK ATE1Q0 OK AT+CGDCONT=1,\"IP\",\"web.omnitel.it\",,0,0 OK AT+CGQREQ=1,0,0,0,0,0 OK ATD*99***1# TIMEOUT 85 CONNECT Jun 30 23:27:15 asusmobile ppp[274]: tun0: Command: vodagprs: set phone Jun 30 23:27:15 asusmobile ppp[274]: tun0: Command: vodagprs: set login Jun 30 23:27:15 asusmobile ppp[274]: tun0: Command: vodagprs: set authname Jun 30 23:27:15 asusmobile ppp[274]: tun0: Command: vodagprs: set authkey Jun 30 23:27:15 asusmobile ppp[274]: tun0: Command: vodagprs: set timeout 0 Jun 30 23:27:15 asusmobile ppp[274]: tun0: Command: vodagprs: add default HISADDR Jun 30 23:27:15 asusmobile ppp[274]: tun0: Command: vodagprs: disable dns Jun 30 23:27:15 asusmobile ppp[274]: tun0: Command: vodagprs: disable vjcomp Jun 30 23:27:15 asusmobile ppp[274]: tun0: Command: vodagprs: disable deflate Jun 30 23:27:15 asusmobile ppp[274]: tun0: Command: vodagprs: disable protocomp Jun 30 23:27:15 asusmobile ppp[275]: tun0: Phase: PPP Started (background mode). Jun 30 23:27:15 asusmobile ppp[275]: tun0: Phase: bundle: Establish Jun 30 23:27:15 asusmobile ppp[275]: tun0: Phase: deflink: closed -> opening Jun 30 23:27:15 asusmobile ppp[275]: tun0: Phase: deflink: Connected! Jun 30 23:27:15 asusmobile ppp[275]: tun0: Phase: deflink: opening -> dial Jun 30 23:27:15 asusmobile ppp[275]: tun0: Chat: deflink: Dial attempt 1 of 1 Jun 30 23:27:15 asusmobile ppp[275]: tun0: Chat: Send: ATZ^M Jun 30 23:27:15 asusmobile ppp[275]: tun0: Chat: Expect(5): OK Jun 30 23:27:15 asusmobile ppp[275]: tun0: Chat: Received: ATZ^M^M Jun 30 23:27:15 asusmobile ppp[275]: tun0: Chat: Received: OK^M Jun 30 23:27:15 asusmobile ppp[275]: tun0: Chat: Send: ATE1Q0^M Jun 30 23:27:15 asusmobile ppp[275]: tun0: Chat: Expect(5): OK Jun 30 23:27:15 asusmobile ppp[275]: tun0: Chat: Received: ATE1Q0^M^M Jun 30 23:27:15 asusmobile ppp[275]: tun0: Chat: Received: OK^M Jun 30 23:27:15 asusmobile ppp[275]: tun0: Chat: Send: AT+CGDCONT=1,"IP","web.omnitel.it",,0,0^M Jun 30 23:27:15 asusmobile ppp[275]: tun0: Chat: Expect(5): OK Jun 30 23:27:15 asusmobile ppp[275]: tun0: Chat: Received: AT+CGDCONT=1,"IP","web.omnitel.it",,0,0^M^M Jun 30 23:27:15 asusmobile ppp[275]: tun0: Chat: Received: OK^M Jun 30 23:27:15 asusmobile ppp[275]: tun0: Chat: Send: AT+CGQREQ=1,0,0,0,0,0^M Jun 30 23:27:15 asusmobile ppp[275]: tun0: Chat: Expect(5): OK Jun 30 23:27:15 asusmobile ppp[275]: tun0: Chat: Received: AT+CGQREQ=1,0,0,0,0,0^M^M Jun 30 23:27:15 asusmobile ppp[275]: tun0: Chat: Received: OK^M Jun 30 23:27:15 asusmobile ppp[275]: tun0: Chat: Send: ATD*99***1#^M Jun 30 23:27:15 asusmobile ppp[275]: tun0: Chat: Expect(85): CONNECT Jun 30 23:27:15 asusmobile ppp[275]: tun0: Chat: Received: ATD*99***1#^M^M Jun 30 23:27:15 asusmobile ppp[275]: tun0: Chat: Received: CONNECT^M Jun 30 23:27:15 asusmobile ppp[275]: tun0: Phase: deflink: dial -> carrier Jun 30 23:27:16 asusmobile ppp[275]: tun0: Phase: deflink: /dev/cuaa0: CD detected Jun 30 23:27:16 asusmobile ppp[275]: tun0: Phase: deflink: carrier -> login Jun 30 23:27:16 asusmobile ppp[275]: tun0: Phase: deflink: login -> lcp Jun 30 23:27:16 asusmobile ppp[275]: tun0: LCP: FSM: Using "deflink" as a transport Jun 30 23:27:16 asusmobile ppp[275]: tun0: LCP: deflink: State change Initial --> Closed Jun 30 23:27:16 asusmobile ppp[275]: tun0: LCP: deflink: State change Closed --> Stopped Jun 30 23:27:17 asusmobile ppp[275]: tun0: LCP: deflink: LayerStart Jun 30 23:27:17 asusmobile ppp[275]: tun0: LCP: deflink: SendConfigReq(1) state = Stopped Jun 30 23:27:17 asusmobile ppp[275]: tun0: LCP: ACFCOMP[2] Jun 30 23:27:17 asusmobile ppp[275]: tun0: LCP: ACCMAP[6] 0x00000000 Jun 30 23:27:17 asusmobile ppp[275]: tun0: LCP: MRU[4] 1500 Jun 30 23:27:17 asusmobile ppp[275]: tun0: LCP: MAGICNUM[6] 0x570341ed Jun 30 23:27:17 asusmobile ppp[275]: tun0: LCP: deflink: State change Stopped --> Req-Sent Jun 30 23:27:17 asusmobile ppp[275]: tun0: LCP: deflink: RecvConfigRej(1) state = Req-Sent Jun 30 23:27:17 asusmobile ppp[275]: tun0: LCP: deflink: SendIdent(0) state = Req-Sent Jun 30 23:27:17 asusmobile ppp[275]: tun0: LCP: MAGICNUM 570341ed Jun 30 23:27:17 asusmobile ppp[275]: tun0: LCP: TEXT user-ppp 3.1 (built Jun 15 2003) Jun 30 23:27:17 asusmobile ppp[275]: tun0: LCP: ACFCOMP[2] Jun 30 23:27:17 asusmobile ppp[275]: tun0: LCP: deflink: SendConfigReq(2) state = Req-Sent Jun 30 23:27:17 asusmobile ppp[275]: tun0: LCP: ACCMAP[6] 0x00000000 Jun 30 23:27:17 asusmobile ppp[275]: tun0: LCP: MRU[4] 1500 Jun 30 23:27:17 asusmobile ppp[275]: tun0: LCP: MAGICNUM[6] 0x570341ed Jun 30 23:27:17 asusmobile ppp[275]: tun0: LCP: deflink: RecvConfigReq(32) state = Req-Sent Jun 30 23:27:17 asusmobile ppp[275]: tun0: LCP: ACCMAP[6] 0x00000000 Jun 30 23:27:17 asusmobile ppp[275]: tun0: LCP: AUTHPROTO[4] 0xc023 (PAP) Jun 30 23:27:17 asusmobile ppp[275]: tun0: LCP: MAGICNUM[6] 0x003aaa33 Jun 30 23:27:17 asusmobile ppp[275]: tun0: LCP: deflink: SendConfigAck(32) state = Req-Sent Jun 30 23:27:17 asusmobile ppp[275]: tun0: LCP: ACCMAP[6] 0x00000000 Jun 30 23:27:17 asusmobile ppp[275]: tun0: LCP: AUTHPROTO[4] 0xc023 (PAP) Jun 30 23:27:17 asusmobile ppp[275]: tun0: LCP: MAGICNUM[6] 0x003aaa33 Jun 30 23:27:17 asusmobile ppp[275]: tun0: LCP: deflink: State change Req-Sent --> Ack-Sent Jun 30 23:27:17 asusmobile ppp[275]: tun0: LCP: deflink: RecvConfigAck(2) state = Ack-Sent Jun 30 23:27:17 asusmobile ppp[275]: tun0: LCP: ACCMAP[6] 0x00000000 Jun 30 23:27:17 asusmobile ppp[275]: tun0: LCP: MRU[4] 1500 Jun 30 23:27:17 asusmobile ppp[275]: tun0: LCP: MAGICNUM[6] 0x570341ed Jun 30 23:27:17 asusmobile ppp[275]: tun0: LCP: deflink: State change Ack-Sent --> Opened Jun 30 23:27:17 asusmobile ppp[275]: tun0: LCP: deflink: LayerUp Jun 30 23:27:17 asusmobile ppp[275]: tun0: LCP: deflink: SendIdent(1) state = Opened Jun 30 23:27:17 asusmobile ppp[275]: tun0: LCP: MAGICNUM 570341ed Jun 30 23:27:17 asusmobile ppp[275]: tun0: LCP: TEXT user-ppp 3.1 (built Jun 15 2003) Jun 30 23:27:17 asusmobile ppp[275]: tun0: Phase: bundle: Authenticate Jun 30 23:27:17 asusmobile ppp[275]: tun0: Phase: deflink: his = PAP, mine = none Jun 30 23:27:17 asusmobile ppp[275]: tun0: Phase: Pap Output: ******** Jun 30 23:27:17 asusmobile ppp[275]: tun0: Warning: Sending empty PAP authname! Jun 30 23:27:17 asusmobile ppp[275]: tun0: Phase: Pap Input: SUCCESS () Jun 30 23:27:17 asusmobile ppp[275]: tun0: CCP: FSM: Using "deflink" as a transport Jun 30 23:27:17 asusmobile ppp[275]: tun0: CCP: deflink: State change Initial --> Closed Jun 30 23:27:17 asusmobile ppp[275]: tun0: CCP: deflink: LayerStart. Jun 30 23:27:17 asusmobile ppp[275]: tun0: CCP: deflink: SendConfigReq(1) state = Closed Jun 30 23:27:17 asusmobile ppp[275]: tun0: CCP: PRED1[2] Jun 30 23:27:17 asusmobile ppp[275]: tun0: CCP: deflink: State change Closed --> Req-Sent Jun 30 23:27:17 asusmobile ppp[275]: tun0: Phase: deflink: lcp -> open Jun 30 23:27:17 asusmobile ppp[275]: tun0: Phase: bundle: Network Jun 30 23:27:17 asusmobile ppp[275]: tun0: IPCP: FSM: Using "deflink" as a transport Jun 30 23:27:17 asusmobile ppp[275]: tun0: IPCP: deflink: State change Initial --> Closed Jun 30 23:27:17 asusmobile ppp[275]: tun0: IPCP: deflink: LayerStart. Jun 30 23:27:17 asusmobile ppp[275]: tun0: IPCP: deflink: SendConfigReq(1) state = Closed Jun 30 23:27:17 asusmobile ppp[275]: tun0: IPCP: IPADDR[6] 127.0.0.1 Jun 30 23:27:17 asusmobile ppp[275]: tun0: IPCP: deflink: State change Closed --> Req-Sent Jun 30 23:27:17 asusmobile ppp[275]: tun0: IPCP: deflink: RecvConfigReq(33) state = Req-Sent Jun 30 23:27:17 asusmobile ppp[275]: tun0: IPCP: IPADDR[6] 192.168.100.101 Jun 30 23:27:17 asusmobile ppp[275]: tun0: IPCP: COMPPROTO[6] 16 VJ slots with slot compression Jun 30 23:27:17 asusmobile ppp[275]: tun0: IPCP: deflink: SendConfigAck(33) state = Req-Sent Jun 30 23:27:17 asusmobile ppp[275]: tun0: IPCP: IPADDR[6] 192.168.100.101 Jun 30 23:27:17 asusmobile ppp[275]: tun0: IPCP: COMPPROTO[6] 16 VJ slots with slot compression Jun 30 23:27:17 asusmobile ppp[275]: tun0: IPCP: deflink: State change Req-Sent --> Ack-Sent Jun 30 23:27:17 asusmobile ppp[275]: tun0: IPCP: deflink: RecvConfigReq(33) state = Ack-Sent Jun 30 23:27:17 asusmobile ppp[275]: tun0: IPCP: IPADDR[6] 192.168.100.101 Jun 30 23:27:17 asusmobile ppp[275]: tun0: IPCP: COMPPROTO[6] 16 VJ slots with slot compression Jun 30 23:27:17 asusmobile ppp[275]: tun0: IPCP: deflink: SendConfigAck(33) state = Ack-Sent Jun 30 23:27:17 asusmobile ppp[275]: tun0: IPCP: IPADDR[6] 192.168.100.101 Jun 30 23:27:17 asusmobile ppp[275]: tun0: IPCP: COMPPROTO[6] 16 VJ slots with slot compression Jun 30 23:27:19 asusmobile ppp[275]: tun0: LCP: deflink: RecvTerminateReq(34) state = Opened Jun 30 23:27:19 asusmobile ppp[275]: tun0: LCP: deflink: LayerDown Jun 30 23:27:19 asusmobile ppp[275]: tun0: LCP: deflink: SendTerminateAck(34) state = Opened Jun 30 23:27:19 asusmobile ppp[275]: tun0: LCP: deflink: State change Opened --> Stopping Jun 30 23:27:19 asusmobile ppp[275]: tun0: CCP: deflink: State change Req-Sent --> Starting Jun 30 23:27:19 asusmobile ppp[275]: tun0: CCP: deflink: LayerFinish. Jun 30 23:27:19 asusmobile ppp[275]: tun0: CCP: deflink: State change Starting --> Initial Jun 30 23:27:19 asusmobile ppp[275]: tun0: Phase: deflink: open -> lcp Jun 30 23:27:19 asusmobile ppp[275]: tun0: IPCP: deflink: State change Ack-Sent --> Starting Jun 30 23:27:19 asusmobile ppp[275]: tun0: IPCP: deflink: LayerFinish. Jun 30 23:27:19 asusmobile ppp[275]: tun0: IPCP: Connect time: 2 secs: 0 octets in, 0 octets out Jun 30 23:27:19 asusmobile ppp[275]: tun0: IPCP: 0 packets in, 0 packets out Jun 30 23:27:19 asusmobile ppp[275]: tun0: IPCP: total 0 bytes/sec, peak 0 bytes/sec on Mon Jun 30 23:27:17 2003 Jun 30 23:27:19 asusmobile ppp[275]: tun0: IPCP: deflink: State change Starting --> Initial Jun 30 23:27:19 asusmobile ppp[275]: tun0: Phase: bundle: Terminate Jun 30 23:27:20 asusmobile ppp[275]: tun0: Phase: deflink: Carrier lost Jun 30 23:27:20 asusmobile ppp[275]: tun0: LCP: deflink: State change Stopping --> Starting Jun 30 23:27:20 asusmobile ppp[275]: tun0: LCP: deflink: LayerFinish Jun 30 23:27:20 asusmobile ppp[275]: tun0: LCP: deflink: State change Starting --> Initial Jun 30 23:27:20 asusmobile ppp[275]: tun0: Phase: deflink: Disconnected! Jun 30 23:27:20 asusmobile ppp[275]: tun0: Phase: deflink: lcp -> logout Jun 30 23:27:20 asusmobile ppp[275]: tun0: Phase: deflink: Disconnected! Jun 30 23:27:20 asusmobile ppp[275]: tun0: Phase: deflink: logout -> hangup Jun 30 23:27:20 asusmobile ppp[275]: tun0: Phase: deflink: Connect time: 5 secs: 240 octets in, 354 octets out Jun 30 23:27:20 asusmobile ppp[275]: tun0: Phase: deflink: 10 packets in, 11 packets out Jun 30 23:27:20 asusmobile ppp[275]: tun0: Phase: total 118 bytes/sec, peak 133 bytes/sec on Mon Jun 30 23:27:18 2003 Jun 30 23:27:21 asusmobile ppp[275]: tun0: Phase: deflink: hangup -> closed Jun 30 23:27:21 asusmobile ppp[275]: tun0: Phase: bundle: Dead Jun 30 23:27:21 asusmobile ppp[275]: tun0: Phase: PPP Terminated (normal). Jun 30 23:27:21 asusmobile ppp[274]: tun0: Phase: Parent: Child failed (errdead) Jun 30 23:27:21 asusmobile ppp[275]: tun0: Chat: Parent notified of failure -- bye! Ale