Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 May 1997 13:44:15 -0400
From:      Patrick Gardella <pgardella@geocities.com>
To:        questions@freebsd.org
Subject:   Yet another ppp -auto question
Message-ID:  <3389CBEF.15FB7483@geocities.com>

next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.

--------------3F54BC7E1CFBAE3959E2B600
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Sorry about all the ppp questions, but I couldn't get a straight answer
from the mailing list archives or from PPP Tutorial.

I am setting up ppp -auto for an on-demand dial setup.  I can start ppp
cincy (my isp) and then "dial", and ppp works fine.  But I cannot get
the ppp -auto to dial.  It just sits there.  If I ping/telnet/lynx/etc.
I get the "No route" message.  

netstat -rn returns only the localhost (127.0.0.1) line.

I'm not good at shell scripts, which is what I read many people use
instead of ppp -auto, so if anyone has one I could use, please send it!

I've tried as many "set ifaddr" lines as I can find in the list
archives, as well as "route add default 206.173.96.3" (Which is one of
my ISP's IPs;  They vary from .2 to .6).

Any suggestions?  My ppp.conf is attached below.

Patrick

P.S.  PPP dial works, since that's how I'm sending this message.  Thanks
to all who have helped.

--------------3F54BC7E1CFBAE3959E2B600
Content-Type: text/plain; charset=us-ascii; name="ppp.conf.pat"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline; filename="ppp.conf.pat"

#################################################################
#
#  	PPP  Sample Configuration File
#
#################################################################

# Default setup. Always executed when PPP is invoked.
#
default:
 set device /dev/cuaa2
 set speed 38400
 disable lqr
 deny lqr
 set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" ATZ OK AT&F OK-AT-OK \\dATDT\\T TIMEOUT 40 CONNECT"
set redial 3 10

cincy:
 set phone 5830791
 set openmode active
# set login "TIMEOUT 5 user:-\\r-user: ppp word: ppp"
 deny chap
 accept pap
# enable pap
 set authname ****
 set authkey  ****
 set ifaddr 206.173.96.3/24 10.10.11.11/0 255.255.255.0
# set ifaddr 206.173.96.3/24 HISADDR
 delete ALL
 add 0 0 HISADDR
# add 206.173.96.3\24 0 HISADDR

--------------3F54BC7E1CFBAE3959E2B600--




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3389CBEF.15FB7483>