- 论坛徽章:
- 0
|
从网上下载驱动后,安装网卡。按照安装提示都没出问题,但是到最后ifconfig eth0 up 提示没有eth0设备。望高手指点。
readme.txt如下:
4) untar the archive file:
tar xzvf rhinefet.tgz
cd rhinefet
5) 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/2.6.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
6) Check configuration file (/etc/modules.conf or /etc/conf.modules or
/etc/modprobe.conf, it depends on your Linux distribution) for loading
kernel modules. Make sure the first line below is appeared in the
configuration file, where # is the interface number (eg: alias eth0
rhinefet). If you need to set the driver options, below second line is
an example to set the NIC to 100Mbps fullduplex mode (remember to unmark
the line if it is put in the configuration file).
alias eth# rhinefet
#options eth# speed_duplex=2
7) Reboot now:
shutdown -r now
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.o
9) Use ifconfig command to assign the IP address, where # is network
interface number:
ifconfig eth# <IP>
10) Check the interface works:
ping <remote_host_IP> |
|