Setting up PPPoE Debian

Install PPPoE :
apt-get install pppoe pppoeconf
To file /etc/ppp/chap-secrets add line:
“your_login” * “your_pass” *
In file /etc/ppp/peers/dsl-provider must be such lines (they all will be there axept login) :
user your_login
pty “/usr/sbin/pppoe -I eth1 -T 80 -m 1452″
noipdefault
defaultroute
hide-password
lcp-echo-interval 20
lcp-echo-failure 3
connect /bin/true
noauth
persist
mtu 1500
noaccomp
default-asyncmap

Attention: Change eth1 to name of your card (eth0, eth1).
In file /etc/network/interfaces add lines:
auto ppp0
iface ppp0 inet ppp
provider dsl-provider

After system reboot you will have ppp0 connection.

Leave a comment