(→Prerequisites) |
m (→Prerequisites) |
||
Line 13: | Line 13: | ||
wget ftp://ftp.samba.org/pub/ppp/ppp-2.4.6.tar.gz | wget ftp://ftp.samba.org/pub/ppp/ppp-2.4.6.tar.gz | ||
tar -xzf ppp-2.4.6.tar.gz | tar -xzf ppp-2.4.6.tar.gz | ||
+ | cd ppp-2.4.6/ | ||
./configure | ./configure | ||
make CC=arm-linux-gnueabi-gcc | make CC=arm-linux-gnueabi-gcc |
RP-PPPoE is a Point-to-Point Protocol over Ethernet client used to connect to many ADSL Internet Service Providers.
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 cd ppp-2.4.6/ ./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).
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>
Once rp-pppoe has been installed on your host, run pppoe-setup to configure credentials for your ISP.