Revision as of 12:11, 9 April 2014 by Craig Peacock (Talk | contribs)

Cross Compiling RP-PPPoE for ARM

RP-PPPoE is a Point-to-Point Protocol over Ethernet client used to connect to many ADSL Internet Service Providers.

Prerequisites

The RP-PPPoE client requires the host to have the PPPd (Point-to-Point Protocol Daemon) installed and the PPP-generic kernel module.

To build and install PPPd:

wget ftp://ftp.samba.org/pub/ppp/ppp-2.4.6.tar.gz
tar -xzf ppp-2.4.6.tar.gz
./configure 
make CC=arm-linux-gnueabi-gcc

We don't make install as the makefile is set up to strip the symbol tables using a X86 version of install and throws an error. Copy the binaries over manually or modify the makefiles and remove the stripping (-s).

RP-PPPoE Client

Now you can build the PPPoE client:

wget http://www.roaringpenguin.com/files/download/rp-pppoe-3.11.tar.gz
tar -xzf rp-pppoe-3.11.tar.gz
cd rp-pppoe-3.11/src
./configure --target=arm-linux-gnueabi --prefix=
make
make install DESTDIR=<Destination Root Directory>

Configuration

Once rp-pppoe has been installed on your host, run pppoe-setup to configure credentials for your ISP.