Eddie,

> Check for the persist option in /etc/ppp/options file. I use
> this option and it seems to time out for one minute if it
> looses the connection or the modem is shut off, etc.

My /etc/ppp/options looks like that :
# lock
And that's all

I checked in /etc/sysconfig/network-scripts/ifcfg-ppp0 file, and
there I have :
DEVICE="ppp0"
ONBOOT="no"
USERCTL="no"
MODEMPORT="/dev/modem"
LINESPEED="115200"
PERSIST="yes"
DEFABORT="yes"
DEBUG="yes"
INITSTRING="ATZ"
DEFROUTE="yes"
HARDFLOWCTL="yes"
ESCAPECHARS="no"
PPPOPTIONS=""
PAPNAME="xxxxx"
REMIP=""
NETMASK=""
IPADDR=""
MRU=""
MTU=""
DISCONNECTTIMEOUT="5"
RETRYTIMEOUT="60"
BOOTPROTO="none"
PEERDNS="yes"
DNS1=212.27.32.5
DNS2=212.27.32.6

So I have a "RETRYTIMEOUT="60", but what I do not understand, is why
when I run kppp, I don't have this problem when I disconnect from my
ISP, but I have the prob (below), when I run "ifup ppp0". Why ? And
how can I do to get rid of that ?
I saw when I run "ifup ppp0" a ppp-watch pid running, so maybe ifup
ppp0 launch that ppp-watch ?
ifdown-ppp doesn't seem to do anything about that pppwatch pid.
That's part of my ifdown-ppp file :

file=/var/run/pppwatch-${DEVICE}.pid

if [ ! -f $file ]; then
    # ppp isn't running, or we didn't start it
    exit 0
fi


Francois

 
> >>Sorry to jump in, but does anybody know why when I fire up
> ppp0 using
> >>"ifup ppp0", then hang up using "ifdown ppp0", I have my
> system that
> >>recall again my ISP by itself after one minute ? Francois



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to