Поиск по этому блогу

среда, 22 мая 2013 г.

CentOS PPPoE setup

Installing PPPoE at CentOS 6.4
1) yum install rp-pppoe   #install pppoe package
2) pppoe-setup    # wizard for entering your settings (login, pass, interface for pppoe,...)
3) Edit interface, connected to dsl modem in my case eth2
mcedit /etc/sysconfig/network-scripts/ifcfg-eth2

DEVICE=eth2
BOOTPROTO=static
HWADDR=fc:75:55:5e:ab:52
ONBOOT=yes


4) done
 adsl-start   # start pppoe
 adsl-stop   # stop pppoe


If the name of your connection is 'ppp0' you can use this commands:
Type '/sbin/ifup ppp0' to bring up your xDSL link
Type '/sbin/ifdown ppp0' to bring it down.
Type '/sbin/pppoe-status /etc/sysconfig/network-scripts/ifcfg-ppp0' to see the link status.

Комментариев нет:

Отправить комментарий