From owner-freebsd-questions Fri Jun 18 11:40: 7 1999 Delivered-To: freebsd-questions@freebsd.org Received: from neptune.twrol.com (ras1-15.wizrealm.com [208.153.237.16]) by hub.freebsd.org (Postfix) with ESMTP id 1D1A414F30 for ; Fri, 18 Jun 1999 11:39:51 -0700 (PDT) (envelope-from dionysos3@crosswinds.net) Received: from localhost (dionysos3@localhost) by neptune.twrol.com (8.9.3/8.9.3) with ESMTP id MAA00823; Fri, 18 Jun 1999 12:43:46 -0600 (MDT) (envelope-from dionysos3@crosswinds.net) X-Authentication-Warning: neptune.twrol.com: dionysos3 owned process doing -bs Date: Fri, 18 Jun 1999 12:43:45 -0600 (MDT) From: "James R. Shrenk" X-Sender: dionysos3@neptune.twrol.com To: "Michael E. Mercer" Cc: freebsd-questions@FreeBSD.ORG, Brian Somers Subject: Re: I have Frequent redials using ppp -ddial.... In-Reply-To: <376A5018.448D1DB8@ipass.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG From your init string it looks like you might be using a modem with a lucent chipset (external maybe?) Your ISP appears to be using 3com modems. Offhand, maybe you might try disabling the V90 and just going for a Kflex connection. This will cut your speed quite a bit, but as a test, if you stay connected, then the V90 implementation for your modem might not be functioning correctly. If you have a windows partition hanging around you can try finding an updated flash for the modem. I think most are DOS based so executing it in FreeBSD may not be the best idea. Other than that try setting S10=50 or so. You can increase the number up to 254 to allow a temporary loss of carrier without disconnecting. Take a look at ipass tech support as well. They have a much better support page than most. www.ipass.net/support/x2v90.html 808hi.com/56k/x2-lucent.htm www.lucent.com/micro/K56flex/driver.html One last though, you might see if you can grab ATI11 while you are connected. Assuming that it is a lucent that will display some connectivity info that could be useful. James On Fri, 18 Jun 1999, Michael E. Mercer wrote: > Hello all, > > I use ppp -ddial to keep a connection up with my ISP. However it randomly > disconnects. Meaning it does not disconnect me at set intervals... > Can someone tell me what is causing this? > > Thanks, > Michael > > Here is a snip of my ppp.log file: > > Jun 17 19:16:51 redneckscorner ppp[405]: tun0: Phase: deflink: Redial timer > expired. > Jun 17 19:16:51 redneckscorner ppp[405]: tun0: Phase: deflink: Connected! > Jun 17 19:16:51 redneckscorner ppp[405]: tun0: Phase: deflink: opening -> dial > Jun 17 19:16:51 redneckscorner ppp[405]: tun0: Phase: Phone: 4258000 > Jun 17 19:16:51 redneckscorner ppp[405]: tun0: Chat: Send: AT^M > Jun 17 19:16:51 redneckscorner ppp[405]: tun0: Chat: Expect(5): OK > Jun 17 19:16:51 redneckscorner ppp[405]: tun0: Chat: Received: AT^M^M > Jun 17 19:16:51 redneckscorner ppp[405]: tun0: Chat: Received: OK^M > Jun 17 19:16:51 redneckscorner ppp[405]: tun0: Chat: Send: > AT&F&C1&D2L2M1S109=2S30=0^M > Jun 17 19:16:51 redneckscorner ppp[405]: tun0: Chat: Expect(5): OK > Jun 17 19:16:51 redneckscorner ppp[405]: tun0: Chat: Received: > AT&F&C1&D2L2M1S109=2S30=0^M^M > Jun 17 19:16:51 redneckscorner ppp[405]: tun0: Chat: Received: OK^M > Jun 17 19:16:51 redneckscorner ppp[405]: tun0: Chat: Send: ATDT4258000^M > Jun 17 19:16:53 redneckscorner ppp[405]: tun0: Chat: Expect(40): CONNECT > Jun 17 19:17:18 redneckscorner ppp[405]: tun0: Chat: Received: ATDT4258000^M^M > Jun 17 19:17:18 redneckscorner ppp[405]: tun0: Chat: Received: CONNECT 46666 > V42bis^M > Jun 17 19:17:18 redneckscorner ppp[405]: tun0: Phase: deflink: dial -> login > Jun 17 19:17:18 redneckscorner ppp[405]: tun0: Phase: deflink: login -> lcp > Jun 17 19:17:18 redneckscorner ppp[405]: tun0: LCP: FSM: Using "deflink" as a > transport > Jun 17 19:17:18 redneckscorner ppp[405]: tun0: LCP: deflink: State change > Initial --> Closed > Jun 17 19:17:18 redneckscorner ppp[405]: tun0: LCP: deflink: State change > Closed --> Stopped > Jun 17 19:17:19 redneckscorner ppp[405]: tun0: LCP: deflink: LayerStart > Jun 17 19:17:19 redneckscorner ppp[405]: tun0: LCP: deflink: SendConfigReq(86) > state = Stopped > Jun 17 19:17:19 redneckscorner ppp[405]: tun0: LCP: ACFCOMP[2] > Jun 17 19:17:19 redneckscorner ppp[405]: tun0: LCP: PROTOCOMP[2] > Jun 17 19:17:19 redneckscorner ppp[405]: tun0: LCP: ACCMAP[6] 0x00000000 > Jun 17 19:17:19 redneckscorner ppp[405]: tun0: LCP: MRU[4] 2000 > Jun 17 19:17:19 redneckscorner ppp[405]: tun0: LCP: MAGICNUM[6] 0x76e578ac > Jun 17 19:17:19 redneckscorner ppp[405]: tun0: LCP: deflink: State change > Stopped --> Req-Sent > Jun 17 19:17:20 redneckscorner ppp[405]: tun0: LCP: deflink: RecvConfigReq(1) > state = Req-Sent > Jun 17 19:17:20 redneckscorner ppp[405]: tun0: LCP: MRU[4] 1514 > Jun 17 19:17:20 redneckscorner ppp[405]: tun0: LCP: ACCMAP[6] 0x00000000 > Jun 17 19:17:20 redneckscorner ppp[405]: tun0: LCP: AUTHPROTO[4] 0xc023 (PAP) > Jun 17 19:17:20 redneckscorner ppp[405]: tun0: LCP: MAGICNUM[6] 0x7a771d10 > Jun 17 19:17:20 redneckscorner ppp[405]: tun0: LCP: PROTOCOMP[2] > Jun 17 19:17:20 redneckscorner ppp[405]: tun0: LCP: ACFCOMP[2] > Jun 17 19:17:20 redneckscorner ppp[405]: tun0: LCP: MRRU[4] 1514 > Jun 17 19:17:20 redneckscorner ppp[405]: tun0: LCP: ENDDISC[3] Null Class > Jun 17 19:17:20 redneckscorner ppp[405]: tun0: LCP: deflink: SendConfigRej(1) > state = Req-Sent > Jun 17 19:17:20 redneckscorner ppp[405]: tun0: LCP: MRRU[4] 1514 > Jun 17 19:17:20 redneckscorner ppp[405]: tun0: LCP: deflink: RecvConfigAck(86) > state = Req-Sent > Jun 17 19:17:20 redneckscorner ppp[405]: tun0: LCP: deflink: State change > Req-Sent --> Ack-Rcvd > Jun 17 19:17:20 redneckscorner ppp[405]: tun0: LCP: deflink: RecvConfigReq(2) > state = Ack-Rcvd > Jun 17 19:17:20 redneckscorner ppp[405]: tun0: LCP: MRU[4] 1514 > Jun 17 19:17:20 redneckscorner ppp[405]: tun0: LCP: ACCMAP[6] 0x00000000 > Jun 17 19:17:20 redneckscorner ppp[405]: tun0: LCP: AUTHPROTO[4] 0xc023 (PAP) > Jun 17 19:17:20 redneckscorner ppp[405]: tun0: LCP: MAGICNUM[6] 0x7a771d10 > Jun 17 19:17:20 redneckscorner ppp[405]: tun0: LCP: PROTOCOMP[2] > Jun 17 19:17:20 redneckscorner ppp[405]: tun0: LCP: ACFCOMP[2] > Jun 17 19:17:20 redneckscorner ppp[405]: tun0: LCP: deflink: State change > Ack-Rcvd --> Opened > Jun 17 19:17:20 redneckscorner ppp[405]: tun0: LCP: deflink: LayerUp > Jun 17 19:17:20 redneckscorner ppp[405]: tun0: Phase: bundle: Authenticate > Jun 17 19:17:20 redneckscorner ppp[405]: tun0: Phase: deflink: his = PAP, mine > = none > Jun 17 19:17:20 redneckscorner ppp[405]: tun0: Phase: Pap Output: mmercer > ******** > Jun 17 19:17:23 redneckscorner ppp[405]: tun0: Phase: Pap Output: mmercer > ******** > Jun 17 19:17:23 redneckscorner ppp[405]: tun0: Phase: Pap Input: SUCCESS () > Jun 17 19:17:23 redneckscorner ppp[405]: tun0: CCP: FSM: Using "deflink" as a > transport > Jun 17 19:17:23 redneckscorner ppp[405]: tun0: CCP: deflink: State change > Initial --> Closed > Jun 17 19:17:23 redneckscorner ppp[405]: tun0: CCP: deflink: LayerStart. > Jun 17 19:17:23 redneckscorner ppp[405]: tun0: CCP: deflink: SendConfigReq(1) > state = Closed > Jun 17 19:17:23 redneckscorner ppp[405]: tun0: CCP: DEFLATE[4] win 15 > Jun 17 19:17:23 redneckscorner ppp[405]: tun0: CCP: PRED1[2] > Jun 17 19:17:23 redneckscorner ppp[405]: tun0: CCP: deflink: State change > Closed --> Req-Sent > Jun 17 19:17:23 redneckscorner ppp[405]: tun0: Phase: deflink: lcp -> open > Jun 17 19:17:23 redneckscorner ppp[405]: tun0: Phase: bundle: Network > Jun 17 19:17:23 redneckscorner ppp[405]: tun0: IPCP: FSM: Using "deflink" as a > transport > Jun 17 19:17:23 redneckscorner ppp[405]: tun0: IPCP: deflink: State change > Initial --> Closed > Jun 17 19:17:23 redneckscorner ppp[405]: tun0: IPCP: deflink: LayerStart. > Jun 17 19:17:23 redneckscorner ppp[405]: tun0: IPCP: deflink: > SendConfigReq(159) state = Closed > Jun 17 19:17:23 redneckscorner ppp[405]: tun0: IPCP: IPADDR[6] > 209.170.132.245 > Jun 17 19:17:23 redneckscorner ppp[405]: tun0: IPCP: COMPPROTO[6] 16 VJ slots > with slot compression > Jun 17 19:17:23 redneckscorner ppp[405]: tun0: IPCP: deflink: State change > Closed --> Req-Sent > Jun 17 19:17:23 redneckscorner ppp[405]: tun0: IPCP: deflink: RecvConfigReq(3) > state = Req-Sent > Jun 17 19:17:23 redneckscorner ppp[405]: tun0: IPCP: COMPPROTO[6] 16 VJ slots > without slot compression > Jun 17 19:17:23 redneckscorner ppp[405]: tun0: IPCP: IPADDR[6] 198.79.53.21 > Jun 17 19:17:23 redneckscorner ppp[405]: tun0: IPCP: deflink: SendConfigAck(3) > state = Req-Sent > Jun 17 19:17:23 redneckscorner ppp[405]: tun0: IPCP: COMPPROTO[6] 16 VJ slots > without slot compression > Jun 17 19:17:23 redneckscorner ppp[405]: tun0: IPCP: IPADDR[6] 198.79.53.21 > Jun 17 19:17:23 redneckscorner ppp[405]: tun0: IPCP: deflink: State change > Req-Sent --> Ack-Sent > Jun 17 19:17:23 redneckscorner ppp[405]: tun0: LCP: deflink: RecvProtocolRej(4) > state = Opened > Jun 17 19:17:23 redneckscorner ppp[405]: tun0: LCP: deflink: -- Protocol 0x80fd > (Compression Control Protocol) was rejected! > Jun 17 19:17:23 redneckscorner ppp[405]: tun0: CCP: deflink: State change > Req-Sent --> Stopped > Jun 17 19:17:26 redneckscorner ppp[405]: tun0: IPCP: deflink: > SendConfigReq(159) state = Ack-Sent > Jun 17 19:17:26 redneckscorner ppp[405]: tun0: IPCP: IPADDR[6] > 209.170.132.245 > Jun 17 19:17:26 redneckscorner ppp[405]: tun0: IPCP: COMPPROTO[6] 16 VJ slots > with slot compression > Jun 17 19:17:26 redneckscorner ppp[405]: tun0: IPCP: deflink: RecvConfigReq(5) > state = Ack-Sent > Jun 17 19:17:26 redneckscorner ppp[405]: tun0: IPCP: COMPPROTO[6] 16 VJ slots > without slot compression > Jun 17 19:17:26 redneckscorner ppp[405]: tun0: IPCP: IPADDR[6] 198.79.53.21 > Jun 17 19:17:26 redneckscorner ppp[405]: tun0: IPCP: deflink: SendConfigAck(5) > state = Ack-Sent > Jun 17 19:17:26 redneckscorner ppp[405]: tun0: IPCP: COMPPROTO[6] 16 VJ slots > without slot compression > Jun 17 19:17:26 redneckscorner ppp[405]: tun0: IPCP: IPADDR[6] 198.79.53.21 > Jun 17 19:17:26 redneckscorner ppp[405]: tun0: IPCP: deflink: > RecvConfigNak(159) state = Ack-Sent > Jun 17 19:17:26 redneckscorner ppp[405]: tun0: IPCP: IPADDR[6] > 209.170.134.152 > Jun 17 19:17:26 redneckscorner ppp[405]: tun0: IPCP: IPADDR[6] changing > address: 209.170.132.245 --> 209.170.134.152 > Jun 17 19:17:26 redneckscorner ppp[405]: tun0: IPCP: COMPPROTO[6] 16 VJ slots > without slot compression > Jun 17 19:17:26 redneckscorner ppp[405]: tun0: IPCP: COMPPROTO[6] changing > compproto: 002d0f01 --> 002d0f00 > Jun 17 19:17:26 redneckscorner ppp[405]: tun0: IPCP: deflink: > SendConfigReq(160) state = Ack-Sent > Jun 17 19:17:26 redneckscorner ppp[405]: tun0: IPCP: IPADDR[6] > 209.170.134.152 > Jun 17 19:17:26 redneckscorner ppp[405]: tun0: IPCP: COMPPROTO[6] 16 VJ slots > without slot compression > Jun 17 19:17:26 redneckscorner ppp[405]: tun0: IPCP: deflink: > RecvConfigAck(160) state = Ack-Sent > Jun 17 19:17:26 redneckscorner ppp[405]: tun0: IPCP: deflink: State change > Ack-Sent --> Opened > Jun 17 19:17:26 redneckscorner ppp[405]: tun0: IPCP: deflink: LayerUp. > Jun 17 19:17:26 redneckscorner ppp[405]: tun0: IPCP: myaddr 209.170.134.152 > hisaddr = 198.79.53.21 > Jun 17 19:17:26 redneckscorner ppp[405]: tun0: Command: ipass: delete ALL > Jun 17 19:17:26 redneckscorner ppp[405]: tun0: Command: ipass: add 0 0 HISADDR > Jun 18 03:18:23 redneckscorner ppp[405]: tun0: Phase: deflink: Carrier lost > Jun 18 03:18:23 redneckscorner ppp[405]: tun0: CCP: deflink: State change > Stopped --> Closed > Jun 18 03:18:23 redneckscorner ppp[405]: tun0: CCP: deflink: State change > Closed --> Initial > Jun 18 03:18:23 redneckscorner ppp[405]: tun0: LCP: deflink: LayerDown > Jun 18 03:18:23 redneckscorner ppp[405]: tun0: LCP: deflink: State change > Opened --> Starting > Jun 18 03:18:23 redneckscorner ppp[405]: tun0: Phase: deflink: open -> lcp > Jun 18 03:18:23 redneckscorner ppp[405]: tun0: LCP: deflink: LayerFinish > Jun 18 03:18:23 redneckscorner ppp[405]: tun0: LCP: deflink: State change > Starting --> Initial > Jun 18 03:18:23 redneckscorner ppp[405]: tun0: IPCP: deflink: LayerDown: > 209.170.134.152 > Jun 18 03:18:23 redneckscorner ppp[405]: tun0: IPCP: deflink: State change > Opened --> Starting > Jun 18 03:18:23 redneckscorner ppp[405]: tun0: IPCP: deflink: LayerFinish. > Jun 18 03:18:23 redneckscorner ppp[405]: tun0: IPCP: Connect time: 28860 secs: > 1057636 octets in, 573611 octets out > Jun 18 03:18:23 redneckscorner ppp[405]: tun0: IPCP: total 56 bytes/sec, peak > 3098 bytes/sec on Fri Jun 18 03:18:23 1999 > Jun 18 03:18:23 redneckscorner ppp[405]: tun0: IPCP: deflink: State change > Starting --> Initial > > > Jun 18 03:18:23 redneckscorner ppp[405]: tun0: Phase: bundle: Terminate > > > Jun 18 03:18:23 redneckscorner ppp[405]: tun0: Phase: deflink: Disconnected! > Jun 18 03:18:23 redneckscorner ppp[405]: tun0: Phase: deflink: lcp -> hangup > Jun 18 03:18:23 redneckscorner ppp[405]: tun0: Phase: deflink: Connect time: > 28892 secs: 1067872 octets in, 617010 octets out > Jun 18 03:18:23 redneckscorner ppp[405]: tun0: Phase: total 58 bytes/sec, peak > 2997 bytes/sec on Fri Jun 18 03:18:23 1999 > Jun 18 03:18:23 redneckscorner ppp[405]: tun0: Phase: deflink: hangup -> > opening > Jun 18 03:18:23 redneckscorner ppp[405]: tun0: Phase: deflink: Enter pause (3) > for redialing. > > In my ppp.conf: > > default: > set log Phase Chat LCP IPCP CCP tun command > set device /dev/cuaa0 > set timeout 0 > set speed 115200 > set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" AT \ > OK-AT-OK AT&F&C1&D2L2M1S109=2S30=0 OK \\dATDT\\T TIMEOUT 40 CONNECT" > > set redial 3 10 > set ctsrts on > set parity none > set mru 2000 > set mtu 1500 > > ipass: > set authname ******** > set authkey ******** > set phone 4258000 > set timeout 0 > set openmode active > set ifaddr 153.34.1.1/0 207.76.16.20/0 255.255.255.0 > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message