TCLUG Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [TCLUG:9741] PPP redial problem



On Fri, 5 Nov 1999, McNitt, Jennifer wrote:

MJ >I did read that in the man, but can't figure out where to add
MJ >it.  PPPD starts-up when the computer boots.  I have searched
MJ >all over, but I can not find the boot script that starts pppd.  
MJ >I'm using RedHat 6.1 with pretty much an out of the box setup.
MJ >
MJ >Where should this be so I can check if linuxconf added the
MJ >persist option correctly.

The startup scripts in redhat are usually found in /etc/rc.d/init.d/,
IIRC.  In debian, there is one less directory: /etc/init.d/.  The
script would probably be called "ppp" with the standard init options
of start, stop, restart, reload, force-reload.  On the Debian system,
this script looks for an activation file in the /etc/ppp directory
called ppp_on_boot.  You can move this file to no_ppp_on_boot if you
like, to disable the dial on boot option.  Simple, elegant.

If pppd starts up on boot, then I'm assuming that your options file
for your dialup provider has the words 'demand', 'persist', 'idle
900', and 'holdoff 30'.  Check these out in 'man pppd'.  Your provider
file is probably found in /etc/ppp/peers/provider.

To find out where files are installed with Debian for a given package,
we can use the command 'dpkg -L <package> | more'.  I'm certain there
is an equivalent command found for the RPM tool.  Do a 'man rpm' to
find out.

Another note to Debian users, if you want to see the different setup
and cleanup scripts that come with your DEB packages, look in
/var/lib/dpkg/info.  Each script will start with the package name and
end in it's action.  For example the preinstall script for the pppd
package would be found at /var/lib/dpkg/info/pppd-preinst.

Happy file hunting!

Later!

    ^chewie

+----------------------------------------------------+
| Chad Walstrom           mailto:chewie@wookimus.net | 
| ICQ: 9985127           http://wookimus.net/~chewie |
+----------------------------------------------------+
 Need a new truck?  Check out my '97 Explorer 2-door
   Sport at http://wookimus.net/~chewie/truck.html