PPPOE on CentOS

Install

1
2
3
yum search pppoe
yum install rp-pppoe -y
yum erase NetworkManager #有時NetworkManager會造成干擾,必需移除。

Configure

1
pppoe-setup

input
dialup account ex. 12345678@hinet.net
network interface. by default eth0
no
8.8.8.8 for dns
dialup password
repeat dialup password
no
0
yes for dialup at boot time
y to confirm all good

dialup
1
/sbin/ifup ppp0
disconnect and check statup
1
2
/sbin/ifdown ppp0
/sbin/pppoe-status