LinuxSA Mailing list archives

Index: [thread] [date] [subject] [author] [stats]
  From: Jake Hawkes <jake@infinitylimited.net>
  To  : Michael Kratz <michael_kratz@hotmail.com>
  Date: Mon, 27 Nov 2000 09:36:16 -0700

Re: pppd auto redial

Michael Kratz wrote:
> 
> Hi,
> 
> I have a permanent connection to the net using a modem,
> I have been looking around for an easy way to make pppd re-invoke the dial
> script when the connection gets dropped 


if your using redhat, and your connection is named ppp0 then edit the
file:

/etc/sysconfig/network-scripts/ifcfg-ppp0

and in there will be stuff that looks like this: (the first 4 lines are
mine)
# att in cabimas
#
LOCATION="cabimas"
NAME="att"
DEVICE="ppp2"
ONBOOT="no"
USERCTL="yes"
MODEMPORT="/dev/modem"
LINESPEED="115200"
PERSIST="no"
DEFABORT="yes"
DEBUG="yes"
INITSTRING="ATZ"
DEFROUTE="yes"
HARDFLOWCTL="yes"
ESCAPECHARS="no"
PPPOPTIONS=""
PAPNAME="internet.nles.jacobh"
REMIP=""
NETMASK=""
IPADDR=""
MRU=""

here are the options for the connection. The one you want is:
PERSIST="yes"

--
Jake Hawkes B.Eng, (CSE)

You dont need triple DES crypto from one side of your living room to the 
other  - Alan Kennington.

-- 
LinuxSA WWW: http://www.linuxsa.org.au/  IRC: #linuxsa on irc.linux.org.au
To unsubscribe from the LinuxSA list:
  mail linuxsa-request@linuxsa.org.au with "unsubscribe" as the subject


Index: [thread] [date] [subject] [author] [stats]
Return to the LinuxSA Mailing List Information Page