先确定gcc安装好,得出8139.o
./configure
make
cp 8139.o lib/modules/<linux-version>;/kernel/drivers/net/
这是详细的解释:
Compile the driver source files and it will generate rhinefet.o, and
copy it to correct driver installation path (The installation directory
is different in different kernel versions. In 2.4.x kernel, the path is
/lib/modules/KERNEL_VERSION/kernel/drivers/net/, and in 2.2.x kernel,
the path is /lib/modules/KERNEL_VERSION/net/, the KERNEL_VERSION (see
above) means the kernel version of your Linux distribution. If you don't
know your kernel version , please run 'uname -r' command in command
line. The kernel version will look like '2.2.16', '2.4.2-2smp' etc.) :
make install
insmod 8139too
ifconfig eth0 up
reboot
==============================
我的不是8139,但做法更详细,看以下的照做也可以..
Please enter the following commands at the UNIX prompt. Remember, UNIX is
case sensitive.
1) Create a temporary directory:
mkdir /temp
2) Change to the temporary directory:
cd /temp
2) Copy driver (dlkfet-4.24.tar.gz) from released CD, (If you didn't mount
CD drive before, you can type
'mkdir /cdrom'
'mount -r -t iso9660 -o conv=auto /dev/cdrom /cdrom' and use
'cp /cdrom/LINUX/dlkfet-4.24.tar.gz /temp'
command to copy the driver to the temporary directory):
cp /<cdrom_mount_point>;/LINUX/dlkfet-4.24.tar.gz .
3) untar the archive file:
tar xzvf dlkfet-4.24.tar.gz
cd dlkfet-4.24
4) Compile the driver source files and it will generate rhinefet.o, and
copy it to correct driver installation path (The installation directory
is different in different kernel versions. In 2.4.x kernel, the path is
/lib/modules/KERNEL_VERSION/kernel/drivers/net/, and in 2.2.x kernel,
the path is /lib/modules/KERNEL_VERSION/net/, the KERNEL_VERSION (see
above) means the kernel version of your Linux distribution. If you don't
know your kernel version , please run 'uname -r' command in command
line. The kernel version will look like '2.2.16', '2.4.2-2smp' etc.) :
make install
5) Check configuration file (/etc/modules.conf or /etc/conf.modules,it
depend on your Linux distribution) for loading kernel modules. Make sure
there is the following content in the configuration file, where # is
interface number (eg: alias eth0 rhinefet):
alias eth# rhinefet
6) Reboot now:
shutdown -r now
7) Install your driver module (If the driver module is in the wrong place,
an error message will appear, and say that can't find the driver
module):
insmod rhinefet
Use ifconfig command to assign the IP address, where # is network

interface number:
ifconfig eth# <IP>;
9) Check the interface works:
ping <remote_host_IP>;