Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Apr 1995 09:33:47 -0500 (CDT)
From:      John Lind <john@starfire.mn.org>
To:        questions@FreeBSD.org (FreeBSD questions)
Subject:   pppd not re-connecting with FreeBSD 2.0-950322-SNAP
Message-ID:  <199504181433.JAA17281@starfire.mn.org>

next in thread | raw e-mail | index | archive | help
I have the following command at the end of /etc/rc.local to start up
a PPP uplink for a customer to the Internet:
/usr/sbin/pppd connect /etc/ppp/call.skypoint defaultroute /dev/cuaa0 115200
The "call.skypoint" script usese chat(1) to establish the link and
negotiate a login to the Portmaster terminal server.  Here is the contents
of the "/etc/ppp/options" file:
crtscts
modem
lock

It works great -- brings up the link right after booting and things seem
happy -- until the link drops, and then, unlike the slattach that I am
more used to, it doesn't bring it up again.  Since I am on the other
side of the link, I am unable to see anything about the system state
at that time.  Does pppd not reconnect?  Does it just exit and that's
it?  Do I need some sort of script to detect when pppd exits and
re-issue the command to start it?  Or is there an option that I missed
that will instruct it to reconnect?

I have read the man page on pppd and the ppp.FAQ, but didn't get any
help on this issue from either one...

		   John Lind, Starfire Consulting Services
E-mail: john@starfire.MN.ORG		USnail: PO Box 17247, Mpls MN  55417



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199504181433.JAA17281>