Re: ppp phone dial is broken

1999-12-22 Thread Maxim Sobolev

Christopher Nielsen wrote:

 On Tue, 21 Dec 1999, Andrey A. Chernov wrote:

  With latest ppp I hear no phone numbers dial sounds at the stage:
  Phase: Phone: N
  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.

For me too. It seems that it stopped correctly iserting phone number instead
\\T, because if I enabling chat log I see ATDTT instead of ATDTNN.

-Maxim



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: ppp phone dial is broken

1999-12-22 Thread Brian Somers

 With latest ppp I hear no phone numbers dial sounds at the stage:
 Phase: Phone: N
 ppp does _nothing_ until timeout occurse, then redial happens
 with the same unsuccessful result.

Erk!  Fixed now.  Thanks for the report.

 -- 
 Andrey A. Chernov
 http://nagual.pp.ru/~ache/
 MTH/SH/HE S-- W-- N+ PEC+ D A a++ C G+ QH+(++) 666+++ Y
 

-- 
Brian [EMAIL PROTECTED][EMAIL PROTECTED]
  http://www.Awfulhak.org   [EMAIL PROTECTED]
Don't _EVER_ lose your sense of humour !  [EMAIL PROTECTED]




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



ppp phone dial is broken

1999-12-21 Thread Andrey A. Chernov

With latest ppp I hear no phone numbers dial sounds at the stage:
Phase: Phone: N
ppp does _nothing_ until timeout occurse, then redial happens
with the same unsuccessful result.

-- 
Andrey A. Chernov
http://nagual.pp.ru/~ache/
MTH/SH/HE S-- W-- N+ PEC+ D A a++ C G+ QH+(++) 666+++ Y


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: ppp phone dial is broken

1999-12-21 Thread Christopher Nielsen

On Tue, 21 Dec 1999, Andrey A. Chernov wrote:

 With latest ppp I hear no phone numbers dial sounds at the stage:
 Phase: Phone: N
 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 [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message