Following the basics of a HowTo by ACID about something completely different, I came up with the following steps to download, compile and install a driver that, so far, is working properly with the dual Realtek 8111C gigabit NICs on my Supermicro Atom330 server.
If you are having the same problems I did, you might have to install an additional NIC in the box in order to gain access. At one point I had 2 additional NICs installed - one for RED and one for GREEN.
1) If you have a monitor installed on your Endian box, log in to the SHELL as root (default password is endian).
If you don't have a monitor on your Endian box, enable and use SSH to log in to Endian as root.
Make sure you have a connection to the internet (try pinging something)
2) Install via RPM the INFO and WGET packages
rpm -Uvh
http://archives.fedoraproject.org/pub/archive/fedora/linux/core/3/i386/os/Fedora/RPMS/info-4.7-5.i386.rpm rpm -Uvh
http://archives.fedoraproject.org/pub/archive/fedora/linux/core/3/i386/os/Fedora/RPMS/wget-1.9.1-17.i386.rpm3) Get the latest developer package from endian (RPMS, not the SRPMS which are source code)
wget
http://dfn.dl.sourceforge.net/sourceforge/efw/EFW-COMMUNITY-2.2-rc3-devel-rpms.tar.gz4) Extract the package of RPMS
tar xvfz EFW-COMMUNITY-2.2-rc3-devel-rpms.tar.gz
5) Install the utilities needed to compile and make files from source.
cd RPMS/devel/
rpm -Uvh binutils-2.15.92.0.2-24.endian1.i586.rpm
rpm -Uvh kernel-devel-2.6.22.19-72.endian15.i586.rpm
rpm -Uvh glibc-kernheaders-2.4-9.1.100.EL.endian1.i386.rpm
rpm -Uvh patch-2.5.4-20.endian0.i386.rpm
rpm -Uvh glibc-headers-2.3.4-2.39.endian6.i386.rpm
rpm -Uvh glibc-devel-2.3.4-2.39.endian6.i386.rpm
rpm -Uvh libgomp-4.1.2-14.endian1.i586.rpm
rpm -Uvh gcc4-4.1.2-14.endian1.i586.rpm
rpm -Uvh make-3.81-3.endian0.i586.rpm
rpm -Uvh cpp-3.4.6-9.endian7.i586.rpm
6) Download the Realtek 8111C driver source. (version 8.013.00 when this was written)
To do so, you will likely have to visit the Realtek website and download the file from their FTP, then transfer it to your Endian box manually. They have a password on their FTP, and at the time I wrote this I couldn't find an HTTP source for the file.
Once I downloaded the file on a Windows machines, I uploaded it to a webserver I use for testing and then downloaded it with wget, but I'm sure if you've come this far, you can figure it out.
http://www.realtek.com.tw/downloads/downloadsView.aspx?Langid=1&PNid=13&PFid=5&Level=5&Conn=4&DownTypeID=3&GetDown=false#27) Extract the driver source.
tar vjxf r8168-8.013.00.tar.bz2
Change in to the new driver folder and make the file
cd r8168-8.013.00
make clean modules
9) Change to the src directory and gzip your new driver.
There is probably a better way to do this, like 'rmmod r8169' to remove the Realtek 8169 kernel module, then 'insmod r8168.ko' or something to install the new one, but in the end, all I ended up doing was gzipping the .ko file and copying it over top of the r8169 file (which I would recommend making a backup copy of first). It's a hack, but hell, I was a Linux newbie about 4 hours ago, so I think I'm doing ok.
cd src/
gzip r8168.ko
cp r8168.ko.gz /lib/modules/2.6.22.19-72.endian15/kernel/drivers/net/r8169.ko.gz
Note:
If you want to install FTP on Endian so you can transfer files like the Realtek driver a little easier, do this:
rpm -Uvh
http://archives.fedoraproject.org/pub/archive/fedora/linux/core/3/i386/os/Fedora/RPMS/readline-4.3-13.i386.rpmrpm -Uvh
http://archives.fedoraproject.org/pub/archive/fedora/linux/core/3/i386/os/Fedora/RPMS/ftp-0.17-22.i386.rpm