A problem with the pppd

fbsd_user fbsd_user at a1poweruser.com
Sun Feb 12 04:31:22 PST 2006


First of all you are trying to use kernel ppp.
This was completely rewritten because it was so hard to
configure and debug and it now called User ppp.
ppppd (IE: kernel ppp) was kept around for backwards compatibility.
For all practical purposes its dead and just waiting to be removed.
You will get better help here if you change to user ppp.

The install guide at www.a1poweruser.com has a step by step
instructions for seting up user ppp callback function.



-----Original Message-----
From: owner-freebsd-questions at freebsd.org
[mailto:owner-freebsd-questions at freebsd.org]On Behalf Of a
Sent: Sunday, February 12, 2006 7:02 AM
To: freebsd-questions at freebsd.org
Subject: A problem with the pppd


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 at zeos.net

_______________________________________________
freebsd-questions at freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
"freebsd-questions-unsubscribe at freebsd.org"



More information about the freebsd-questions mailing list