Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Dec 1999 19:46:56 -0800 (PST)
From:      Christopher Nielsen <cnielsen@pobox.com>
To:        "Andrey A. Chernov" <ache@FreeBSD.ORG>
Cc:        current@FreeBSD.ORG, brian@Awfulhak.org
Subject:   Re: ppp phone dial is broken
Message-ID:  <Pine.BSF.4.10.9912211936110.498-100000@ender.scient.com>
In-Reply-To: <19991221190634.A60602@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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




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