RHEL6 pppoe Tools

environment: rhel6
Note: rhel6 do not exist adsl-setup command.

@@@make sure you install these packages
[root@station3 Desktop]# rpm -qa | grep ppp
ppp-2.4.5-5.el6.i686
rp-pppoe-3.10-8.el6.i686

@@@pppoe+tab you would find these command.
[root@station3 Desktop]# pppoe
pppoe            pppoe-relay      pppoe-sniff      pppoe-stop
pppoe-connect    pppoe-server     pppoe-start     
pppoe-discovery  pppoe-setup      pppoe-status

@@@configure your pppoe as it prompt.
[root@station3 Desktop]# pppoe-setup
DNS=> server and so on.

@@@then your configfile generated.
[root@station3 Desktop]# cat /etc/sysconfig/network-scripts/ifcfg-ppp0
USERCTL=yes
BOOTPROTO=dialup
NAME=DSLppp0
DEVICE=ppp0
TYPE=xDSL
ONBOOT=no
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=root
PEERDNS=yes
DEMAND=no

你可能感兴趣的:(pppoe)