Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Feb 2006 07:31:15 -0500
From:      "fbsd_user" <fbsd_user@a1poweruser.com>
To:        "a" <a@zeos.net>, <freebsd-questions@freebsd.org>
Subject:   RE: A problem with the pppd
Message-ID:  <MIEPLLIBMLEEABPDBIEGGEBJHNAA.fbsd_user@a1poweruser.com>
In-Reply-To: <000101c62fcc$2a2ca2c0$7988a0d5@privateew99bf2>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
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@freebsd.org
[mailto:owner-freebsd-questions@freebsd.org]On Behalf Of a
Sent: Sunday, February 12, 2006 7:02 AM
To: freebsd-questions@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@zeos.net

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




Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?MIEPLLIBMLEEABPDBIEGGEBJHNAA.fbsd_user>