Heya all,

I am having some major problems with the ppp-watch re-dial "daemon". I use
my RH6.2 box as a ip masq gateway to the net through a 56k dialup
connection. I have used netconf to setup my ppp0. I have also read a
previous post by Bret Hughes who was having the similar problem. To dial
the connection I run "ifup ppp0" and like Bret the connection isn't
"completed" until there is traffic sent to the remote server. This I can
handle cos I just ping the remote server.

I then run the ppp firewall script that I downloaded from Linuxberg to set
the IP Masq firewall settings. Again no problem until I get disconnected.
I unfortuately don't have a permanent internet account and every now and
then have no choice and get disconnected. The real problem occurs when
ppp-watch redials. I have a "cooling off" period where I can't reconnect
for 5 minutes and what happens is ppp-watch reconnects. My server
subsequently disconnects me and thus starting a vicious (and costly) loop. 

Is there a way to either:

1. Set ppp-watch to re-dial after 5 minutes or
2. Diable it so it never runs in the first place (optimal!!)???

I (like Bret) tried for many many hours for a way around it. I tried
commenting this bit out of "/etc/sysconfig/network-scripts/ifup-ppp":

>if [ "$1" != daemon ] ; then
>  # just in case a full path to the configuration file is passed in
>  ifcfg=$(basename $1)
>  shift
>  # let ppp-watch do the right thing
>  # Peter's removed this bit
>  exec /sbin/ppp-watch "$ifcfg" "$@"
>fi
>shift
 --> and When I go to run "ifup ppp0" I get script error and wont dial
out.

If anyone can suggest something it would be much appreciated. 

Regards,


Peter M.



-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.

Reply via email to