next up previous contents index
Next: Compiling rp-pppoe-3.3 Up: Connecting the SEGA Dreamcast Previous: Some theory   Contents   Index


Compiling ppp-2.4.1

As seen in the previous section, we need ppp for transferring data packets from one point to another point. An implemention of this protocol is the one, we compile in this section. Additionally, we need a patch for getting the source compiled.

But first, we need to download the appropriate source package:


Table 5.1: Source package, size and URL for ppp.
Package Size License URL
ppp-2.4.1 524 KB BSD/GPL ftp://cs.anu.edu.au/pub/software/ppp/ppp-2.4.1.tar.gz


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

$ wget http://www.tu-bs.de/~y0018536/dc/src/\
  ppp-2.4.1-uclibc-dreamcast.patch

The patch corrects some problems with the strip command. This program is used for removing some information needed for debugging a program. Since we need really small programs, we just remove such sections.

Now, we're ready to compile ppp-2.4.1:

$ cd ../BUILD
$ tar -xvzf ../SRC/ppp-2.4.1.tar.gz -C .
$ cd ppp-2.4.1
$ patch -p1 < ../../SRC/\
  ppp-2.4.1-uclibc-dreamcast.patch
$ ./configure
$ make CROSS=$UCLIBC/usr/bin/ all
$ su -c "make DESTDIR=/home/christian/Dreamcast/\
  INITRD install"
$ cd ../../SRC

If you really want to save space, you can delete the programs pppstats and pppdump from your initial ramdisk. Both programs are needed for debugging a connection or for billing information.


next up previous contents index
Next: Compiling rp-pppoe-3.3 Up: Connecting the SEGA Dreamcast Previous: Some theory   Contents   Index
Christian Berger 2004-10-19