(Prerequisites)
Line 6: Line 6:
 
== Prerequisites ==
 
== Prerequisites ==
  
The RP-PPPoE client requires the host to have the PPPd (Point-to-Point Protocol Daemon) installed and the PPP-generic kernel module.
+
The RP-PPPoE client requires the host to have the PPPd (Point-to-Point Protocol Daemon) and the PPP-generic kernel module installed.
  
 
To build and install PPPd:
 
To build and install PPPd:
Line 17: Line 17:
 
</PRE>
 
</PRE>
  
We don't <TT>make install</TT> 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).  
+
We don't <TT>make install</TT> 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 ==
 
== RP-PPPoE Client ==

Revision as of 12:13, 9 April 2014

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) and the PPP-generic kernel module installed.

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.