Pppoe Script

You might also like

Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1of 1

I have setup a PPPoE connection under CentOS 4.5.

I am able to establish the con


nection with 'ifup ppp0.' However, there are a few issues:
1. pppd does not reconnect when disconnected
2. pppd does not retry when a connection attempt fails
3. ifdown ppp0 and adsl-stop do not bring down the connection - the only way I c
an terminate the connection is to manually kill the pppd process
Below is the contents of my /etc/sysconfig/network-scripts/ifcfg-ppp0:
USERCTL=no
BOOTPROTO=dialup
NAME=DSLppp0
DEVICE=ppp0
TYPE=xDSL
ONBOOT=yes
PERSIST=yes
PIDFILE=/var/run/pppoe-adsl.pid
FIREWALL=NONE
PING=.
PPPOE_TIMEOUT=80
LCP_FAILURE=3
LCP_INTERVAL=20
CLAMPMSS=1412
CONNECT_POLL=5
CONNECT_TIMEOUT=60
DEFROUTE=yes
SYNCHRONOUS=no
ETH=dev98
PROVIDER=DSLppp0
USER=user@domain
PEERDNS=yes
DEMAND=no
DEBUG=no
RETRY_ON_FAILURE=yes

You might also like