From owner-freebsd-current Tue Dec 21 19:47:19 1999 Delivered-To: freebsd-current@freebsd.org Received: from hayseed.net (hayseed.net [207.181.249.194]) by hub.freebsd.org (Postfix) with ESMTP id 2FB3915037; Tue, 21 Dec 1999 19:47:17 -0800 (PST) (envelope-from cnielsen@pobox.com) Received: from localhost (LOCALHOST [127.0.0.1]) by hayseed.net (8.9.3/8.9.3) with ESMTP id TAA21957; Tue, 21 Dec 1999 19:47:05 -0800 Date: Tue, 21 Dec 1999 19:46:56 -0800 (PST) From: Christopher Nielsen X-Sender: cnielsen@ender.scient.com To: "Andrey A. Chernov" Cc: current@FreeBSD.ORG, brian@Awfulhak.org Subject: Re: ppp phone dial is broken In-Reply-To: <19991221190634.A60602@freebsd.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, 21 Dec 1999, Andrey A. Chernov wrote: > With latest ppp I hear no phone numbers dial sounds at the stage: > Phase: Phone: NNNNNNNNN > ppp does _nothing_ until timeout occurse, then redial happens > with the same unsuccessful result. I'm seeing the exact same thing. It appears that the phone number substition is broken in the dial string. It work for me, if I replace \\T with the number I want to dial. Once I got it working, something else I saw that I thought was odd, maybe due to the mbuf changes in ppp, is when doing a cvsup of a large file, I get the log messages below and then ppp dies. Specifically it was choking on one of the uuencided compat libs just committed. -- Begin Log Messages -- Dec 20 20:15:35 ender ppp[5719]: tun0: Error: Request for mbuf size 2872 denied Dec 20 20:15:35 ender ppp[5719]: tun0: Phase: PPP Terminated (71). Dec 20 20:15:35 ender ppp[5719]: tun0: IPCP: deflink: LayerDown: 204.179.134.192 Dec 20 20:15:35 ender ppp[5719]: tun0: IPCP: Using trigger address 0.0.0.0 Dec 20 20:15:35 ender ppp[5719]: tun0: IPCP: deflink: SendTerminateReq(3) state = Opened Dec 20 20:15:35 ender ppp[5719]: tun0: IPCP: deflink: State change Opened --> Closing Dec 20 20:15:35 ender ppp[5719]: tun0: Error: Oops, destroying a datalink in state open Dec 20 20:15:35 ender ppp[5719]: tun0: Phase: deflink: Connect time: 604 secs: 724617 octets in, 1007191 octets out Dec 20 20:15:35 ender ppp[5719]: tun0: Phase: total 2867 bytes/sec, peak 6971 bytes/sec on Mon Dec 20 20:15:35 1999 -- End Log Messages -- My currently working config is below: default: # # Make sure that "device" references the correct serial port # for your modem. (cuaa0 = COM1, cuaa1 = COM2) # set device /dev/cuaa1 set log Phase Chat LCP IPCP CCP tun command set speed 115200 set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" ATZ OK-ATZ-OK \ ATE1Q0 OK ATDT\\T TIMEOUT 40 CONNECT" set timeout 120 set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0 add default HISADDR enable dns ricochet: set device /dev/cuaa0 set speed 57600 set parity even set ctsrts on set phone 777 set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" ATZ OK-ATZ-OK \ ATE1Q0 OK ATDT777 TIMEOUT 40 CONNECT" set timeout 0 delete! default set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0 delete ALL add 0 0 HISADDR Here is my previously working config: default: # # Make sure that "device" references the correct serial port # for your modem. (cuaa0 = COM1, cuaa1 = COM2) # set device /dev/cuaa1 set log Phase Chat LCP IPCP CCP tun command set speed 115200 set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" ATZ OK-ATZ-OK \ ATE1Q0 OK ATDT\\T TIMEOUT 40 CONNECT" set timeout 120 set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0 add default HISADDR enable dns ricochet: set device /dev/cuaa0 set speed 57600 set parity even set ctsrts on set phone 777 set timeout 0 delete! default set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0 delete ALL add 0 0 HISADDR -- Christopher Nielsen (enkhyl|cnielsen)@pobox.com Enkhyl on IRC To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message