From ArchWiki
Revision as of 01:53, 12 December 2005 by Brain0 (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

This page explains how to set up a PPPoE connection using pppd and the kernel PPPoE driver. Note that this setup does not need rp-pppoe.


  • Make sure pppd is installed and your kernel is compiled with PPPoE support
$ pacman -Q ppp 
ppp 2.4.3-1
$ zgrep CONFIG_PPPOE /proc/config.gz 
  • Create the configuration file /etc/ppp/peers/pppoe
# /etc/ppp/peers/pppoe
plugin /usr/lib/pppd/2.4.3/rp-pppoe.so
# network interface
# login name
name "someloginname"
# Uncomment this if you want to enable dial on demand
#idle 180

If you want usepeerdns to work, you have to edit your /etc/ppp/ip-up and add a command that copies /etc/ppp/resolv.conf to /etc/resolv.conf.

  • Edit /etc/ppp/pap-secrets

Put a line like this in /etc/ppp/pap-secrets

"someloginname" * "yourpassword*

You can now start the link using the command

pppd call pppoe

Starting pppd with Arch

  • Create a symlink to /etc/ppp/peers/provider
ln -s pppoe /etc/ppp/peers/provider
  • Make sure ppp module is loaded

If ppp support is compiled as a module, you have to load the ppp_generic module. In this case, add this to rc.conf:

MODULES=(... ppp-generic ...)
  • Add ppp to DAEMONS in /etc/rc.conf
DAEMONS=(... ppp ...)