Linux PPPoE configuration

ADSL ISP Linux Networking

I’m using Linux PPPoE for my internet connection, along with a Cisco VA887 router, in modem mode.

Here’s the configuration for my specific ISP, but there’s no reason why this shouldn’t work with typical UK ISP’s

This configuration should reside in /etc/ppp/peers/YOUR_ISP_NAME

noipdefault
defaultroute
replacedefaultroute
hide-password
bsdcomp 15
deflate 15
noauth
refuse-eap
user 'your isp username'
password 'your ISP password'
nomppe
plugin rp-pppoe.so "your Ethernet interface name here" (no quotes)
mru 1500 mtu 1500
persist
holdoff 10
maxfail 0
usepeerdns
ipcp-accept-remote ipcp-accept-local noipdefault
ktune
default-asyncmap nopcomp noaccomp
novj nobsdcomp nodeflate
lcp-echo-interval 6
lcp-echo-failure 10
lcp-echo-adaptive
logfile /var/log/ppp_pppoe0.log

On Debian, configure /etc/network/interfaces like this:

#
# ************************ PPPoE *****************************
#
auto INTERFACE_NAME
        iface INTERFACE_NAME inet manual
        mtu 1508
#
auto unchained-isp
        iface YOUR_PROVIDER_FILENAME inet ppp
        pre-up /sbin/ifconfig INTERFACE_NAME up
        provider YOUR_PROVIDER_FILENAME