PPPoA is an Acronym for PPP over ATM, a protocol which is commonly used for ADSLModems such as World-Net's AccessRunner and D-Link AHL110. The default PPP distribution for linux does not come with PPPoA support and neither does the debian packages in either woody, sarge, or sid. However there are patches floating around to add this functionality. The patches provided below are originally from the current SuSe? version of ppp which ships with PPPoA support. I have extracted these patches and verified that they work with both the standard ppp-2.4.1 distribution and the debian sarge ppp-2.4.1 source package.
You'll need a kernel that has ATM support compiled in. Make sure the following options are enabled
You'll also need standard PPP support in your kernel, for obvious reasons
And recompile your kernel.
Note - at least one person had trouble with pppoa not working which was apparently solved by compiling atm and ppp over atm support into the kernel instead of as modules . - The problem with using modules for pppoa is that if you use too many you get a large dependency tree, this is the problem mentioed above. It is entirely possible to run pppoa (and other ppp related code) as modules provided that you are aware of the dependencies and ensure that the modules are loaded in the correct order.
modprobe should surely handle this itself, as it understands module dependencies. Can you elaborate on the correct module load order? --DanielLawson
I've not yet seen modprobe do it correctly (i've never spent the time trying), i am not sure what the correct order is and it is dependent on what parts you have as modules and what parts are built in --MattBrown
If you are impatient and just want to get PPPoA up and running on your system without compiling from source the following debs may work for you. Grab whichever one is appropriate for your version of debian. If you dont run debian woody or sarge, you have to compile from source.
Skip ahead to the Configuring PPPoA section.
You will need the following 3 patches
You will also need to have the atm-tools and atm-dev packages installed
This step is much the same as it would be for compiling PPP normally, if you are unfamiliar with PPP it might be an idea to read a HOWTO or something. I have ppp configured so that it is easy to switch between my normal dsl provider (World-Net) and JSGames. I will show you how to set this up.
Create configuration files in /etc/ppp/peers for your dsl provider and JSGames. The most important line to have in each file is
plugin /usr/lib/pppd/2.4.1/pppoatm.so 0.100
This tells pppd to load the PPPoA plugin. Download my sample configs to see the full set of options
http://www.wlug.org.nz/archive/LinuxPPPoA/ppp-provider
http://www.wlug.org.nz/archive/LinuxPPPoA/ppp-jsgames
My configuration is setup to use PAP authentication, make sure you have a line such as
username@provider * yourpassword
in your /etc/ppp/pap-secrets file. Download my sample pap-secrets file
Finally setup ppp to start on boot
Edit /etc/ppp/ppp_on_boot so that it calls your adsl provider on startup ie for the example provider you download above we would have the line
That's it. You should be done!!
4 pages link to LinuxPPPoA: