Linux PPPoE configuration
Posted by on 2023-04-29 09:36:05:
UPDATED: 22/05/2024
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
NOTE: If using ipv6 remove the 'noipv6' option and...
Add the following for ipv6:
ipcp-accept-local ipv6cp-use-ipaddr ipv6cp-use-persistent
As far as I know, all UK ISPs use CHAP for authentication, but if yours differs you may need to remove one of the no-ms** or eap/pap options to enable an alternate authentication mechanism.
# Linux ppp configuration # IP and Routing Configuration noipdefault ipcp-accept-local defaultroute replacedefaultroute # Security and Authentication hide-password refuse-mschap refuse-mschap-v2 refuse-eap refuse-pap noipv6 noauth # User Credentials user 'your username' password 'your password' # PPPoE Plugin and Network Interface plugin rp-pppoe.so enp3s0 # MTU and MRU Settings mru 1500 mtu 1500 # Connection Persistence and Failure Handling persist holdoff 10 maxfail 0 # DNS and Kernel Tuning usepeerdns ktune # Compression and Protocol Control default-asyncmap nopcomp
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
Tags: Networking , Linux
Return to home page: Home