Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 06 Jul 1997 00:22:51 +0100
From:      Brian Somers <brian@awfulhak.org>
To:        Nathan Dorfman <nathan@deimos.senate.org>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: pppd Auto-reconnect? 
Message-ID:  <199707052322.AAA03165@awfulhak.demon.co.uk>
In-Reply-To: Your message of "Sat, 05 Jul 1997 10:51:55 EDT." <199707051451.KAA00233@deimos.senate.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
> Is it possible to have pppd reconnect automatically? I have a script
> /usr/sbin/ppp-on to start pppd with the required options, if necessary
> I can put all of them in /etc/ppp/options so it can be brought up with
> a simple pppd command. However, can I make the system do it (as with
> SysV's /etc/inittab) so that whenever the process dies it restarts it?

You can spawn pppd from /etc/ppp/ip-down.

> Or do I have to write my own program to do it? I DID try ppp, after I
> use term to establish the "Packet mode" and ppp becomes PPP, I ^Z and
> bg, then after the first <ENTER> I type in the shell, it sends a 'machine
> gun' stream of beeps through my PC speaker (not the modem speaker) until
> I kill the shell. The "tone" of the beep changes as I switch ttys.

Use the -background option and set yourself up a dial script.  For
the latest copy of ppp, have a look at

    http://www.freebsd.org/~brian/ppp-2.2-970701.tar.gz

> Thanks for any input!

-- 
Brian <brian@awfulhak.org>, <brian@freebsd.org>
      <http://www.awfulhak.org>;
Don't _EVER_ lose your sense of humour....





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