Unstable PPP connection in Redhat9
i have my ppp connection disconnected every time
i tried the solution for swapping the values of PPPOE_TIMEOUT and LCP_INTERVAL and it works fine for my RH 9.0 rp-pppoe-3.5.2 setup.
(Note that I also added an additional item to the cfg in sysconfig/network-scripts/ifcfg-ppp0; though I don't think it does anything except make adsl-status report the correct status -- I could be wrong, though. ;-):
[19:24:08 root@localhost//etc/sysconfig/network-scripts]# cat ifcfg-ppp0
USERCTL=yes
BOOTPROTO=dialup
NAME=DSLppp0
DEVICE=ppp0
TYPE=xDSL
ONBOOT=yes
PIDFILE=/var/run/pppoe-adsl.pid
FIREWALL=NONE
PING=.
PPPOE_TIMEOUT=80
LCP_FAILURE=3
LCP_INTERVAL=20
CLAMPMSS=1412
CONNECT_POLL=6
CONNECT_TIMEOUT=60
DEFROUTE=yes
SYNCHRONOUS=no
ETH=eth0
PROVIDER=DSLppp0
USER='xxx@xxx.xxx'
PEERDNS=yes
DEMAND=no
PERSIST=no
[19:24:23 root@localhost//etc/sysconfig/network-scripts]#
The DEMAND=no is used to ensure that the various post scripts do not do any stupid demand-based work. As far as I can tell, the rp-pppoe setup script included with RH 9.0 forgets to write this value to the cfg file (actually, it assumes that a DEMAND="" value is a no [ie. if the value is never set], but some aspects of the script don't [they check if it is explicitly set to no instead of ""] which is why I believe there is some confusion in a call to adsl-status).
but i am still have disconnect from my ISP
any IDEAS?
|