Date: Sat, 15 Feb 1997 14:21:29 +0000 From: Cam Johnson <cam@solidsys.com> To: Terry Todd <tlt@badger.tltodd.com> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: question for users of pppd Message-ID: <3305C669.39829B6C@solidsys.com> References: <199702151341.HAA25014@badger.tltodd.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Terry Todd wrote:
>
> Have you ever tried putting this type of line in the options file
> disconnect "/usr/sbin/pppd"
> I am trying to come up with a way for pppd to reconnect the line if
> it drops for some reason. I don't know what the other consequences
> of putting this line in are so I am posting it here to see if anyone
> else has done this.
>
> Thanks
> Terry Todd
> tlt@tltodd.com
Merely put the line
persist
in your options file and it will redial and reconnect.
My options file follows
/dev/cuaa1
115200
connect "/usr/bin/chat '' 'atdtXXXXXXX' '' '\\r'
'rname>-\\r-name>' 'USER' 'word>' 'PASSWORD'"
crtscts
lock
defaultroute
netmask 255.255.255.0
0:0
persist
modem
The above chat script varies with the ISP's terminal server.
Cam Johnson
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3305C669.39829B6C>
