Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Feb 2006 14:02:07 +0200
From:      "a" <a@zeos.net>
To:        <freebsd-questions@freebsd.org>
Subject:   A problem with the pppd
Message-ID:  <000101c62fcc$2a2ca2c0$7988a0d5@privateew99bf2>

next in thread | raw e-mail | index | archive | help
Help me, please, with the pppd. The problem is the next. 
I want to connect to Internet Service Provide (ISP) with a callback. 
I use the pppd and the chat with the next scripts, which are inessential
now: 

# pppd script 
 
/dev/cuad1 115200 

debug 
defaultroute 
crtscts 
noipdefault 
connect	"/usr/bin/chat -v -f
/etc/ppp/peers/login.chat.script.prostointernet.callback" 
callback 4504257 
passive 
domain	prostointer.net 
persist 
holdoff	300 

# chat script login.chat.script.prostointernet.callback 
# It is one line really

ABORT BUSY	ABORT 'NO CARRIER'  
"" AT 
OK ATS0=1 
OK ATDP5945050 
TIMEOUT 300 CONNECT "" 
TIMEOUT 30 sername:-\\r-sername: login 
TIMEOUT 30 sword: password 
"hostname:" 0.0.0.0 

The first step goes well: my side connects with the ISP and
authentication is done successfully. 
After authentication and querying a callback, pppd hangs up the line. 
But then pppd exits. 
The ISP calls me back after some time. But there is no pppd already, and
nobody is waiting for the incoming call. 
(Without callback I have no problem.) 

What do I wrong?

mailto:a@zeos.net




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000101c62fcc$2a2ca2c0$7988a0d5>