next up previous contents index
Next: Connecting to an access Up: Connecting the SEGA Dreamcast Previous: Compiling ppp-2.4.1   Contents   Index


Compiling rp-pppoe-3.3

The last source package for an ADSL connection is the implementation of RFC 2516 [RFC2516]. Several implementations of this protocol exist, therefore I've decided to take rp-pppoe-3.3 because of the recommendation found in the documentation of uClibc.

First, we need to download the appropriate source package:


Table 5.2: Source package, size and URL for rp-pppoe.
Package Size License URL
rp-pppoe-3.3 167 KB GPLv2 http://www.roaringpenguin.com/pppoe/rp-pppoe-3.3.tar.gz


Next, fetch the needed patch (assuming your pwd points to $\sim$/Dreamcast/SRC):

$ wget http://www.tu-bs.de/~y0018536/dc/src/\
  rp-pppoed-3.3-uclibc-dreamcast.patch

The patch creates a script adsl-connect with some specific options. Besides, the patch also corrects some problems with the strip command and the setting of some environment variables.

Now, we're ready to compile rp-pppoe-3.3:

$ cd ../BUILD
$ tar -xvzf ../SRC/rp-ppp-3.3.tar.gz -C .
$ cd rp-pppoe-3.3
$ patch -p1 < ../../SRC/\
  rp-pppoed-3.3-uclibc-dreamcast.patch
$ ./configure
$ make CROSS=$UCLIBC/usr/bin/
$ su -c "make PREFIX=/home/christian/Dreamcast/\
  INITRD install"
$ su -c "cp scripts/adsl-connect /home/christian\
  Dreamcast/INITRD/usr/sbin"
$ cd ..

That's all. Now, we're ready to connect.



Christian Berger 2004-10-19