Francois
I use my machine as a dialup server for 4 other RH 6.2 and
windows machines on a lan so I just use /etc/ppp/ppp-on
script to dial and I firewall on that machine plus masq. But
in your ifcfg-ppp0 file I see all the options listed that I
would normally place in /etc/ppp/options file. Note the
PERSIST="yes". Set it to "no" and then ppp should not
persist with the connection. From the man pppd page the
persist option does not allow pppd to stop after termination
of a connection, rather it will continue to try to reopen
the connection. That behavior is what I want with my dialing
via external modem so I use persist. As far as kppp not
behaving in persist mode, I am not sure. I know when I used
it in the past it used the options I put in /etc/ppp/options
file. Perhaps it does not use the ifcfg.ppp0? Not sure.
Eddie Strohmier
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Francois
Massonneau
Sent: Monday, February 26, 2001 12:35 PM
To: [EMAIL PROTECTED]
Subject: RE: Same modem problem
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
_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list