TCLUG Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [TCLUG:9741] PPP redial problem
I went into /etc/rc.d/init.d and there is not a 'ppp' file. Here is what I
have:
apmd functions inet linuxconf nfs random sendmail
ypbind
arpwatch gpm isdn lpd nfslock routed single
atd halt keytable named pcmcia rstatd snmpd
autofs httpd killall netfs portmap rusersd syslog
crond identd kudzu network postgresql rwhod xfs
My /etc/ppp directory has these:
chap-secrets ioptions ip-up pap-secrets resolv.conf
connect-errors ip-down options peers
There is only one file in my peers directory and that is wvdial.
The only other files that I have found that seem to relate to ppp are in
/etc/sysconfig/network-scripts. Here is what is in this directory:
chat-ppp0 ifcfg-ppp0 ifdown-sl ifup-plip ifup-sl
ifcfg-eth0 ifdown ifup ifup-post network-functions
ifcfg-lo ifdown-post ifup-aliases ifup-ppp
ifcfg-lo.rpmsave ifdown-ppp ifup-ipx ifup-routes
Below is what is in the ifcfg-ppp0 file:
PHONENUM=298-1996
PERSIST="yes"
DEFROUTE="yes"
ONBOOT="yes"
INITSTRING="ATZ"
MODEMPORT="/dev/modem"
LINESPEED="115200"
ESCAPECHARS="no"
DEFABORT="no"
HARDFLOWCTL="yes"
DEVICE="ppp0"
PPPOPTIONS=""
DEBUG="no"
PAPNAME=""
REMIP=""
IPADDR=""
BOOTPROTO="none"
MTU=""
MRU=""
DISCONNECTTIMEOUT=""
RETRYTIMEOUT="0"
USERCTL="no"
NETMASK=""
Thanks,
Jen
(BTW: ^chewie are you in the SCA? I thought I recognized your name from
somewhere.)
-----Original Message-----
From: ^chewie [mailto:chewie@guinness.urw.org]
Sent: Friday, November 05, 1999 10:02 AM
To: 'tclug-list@mn-linux.org'
Subject: RE: [TCLUG:9741] PPP redial problem
On Fri, 5 Nov 1999, McNitt, Jennifer wrote:
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
---------------------------------------------------------------------
To unsubscribe, e-mail: tclug-list-unsubscribe@mn-linux.org
For additional commands, e-mail: tclug-list-help@mn-linux.org