sim 发表于 2005-2-19 15:15:32

[help]集成网卡驱动

在安装intel集成网卡的驱动时。提示找不到kernel source,安装失败.怎样解决?
安装说明如下
Building and Installation
=========================

To build a binary RPM* package of this driver run 'rpmbuild -tb
<filename.tar.gz>'. Replace <filename.tar.gz> with the specific file name of
the driver.

NOTES: For the build to work properly it is important that the currently
       running kernel MATCH the version and configuration of the installed
       kernel source. If you have just recompiled your kernel, reboot the
       system and choose the correct kernel to boot.

       RPM functionality has only been tested in Red Hat distributions.

1. Move the base driver tar file to the directory of your choice. For
   example, use: /home/username/e100 or /usr/local/src/e100.

2. Untar/unzip the archive by entering the following, where <x.x.x> is the
   version number for the driver tar:

   tar xfz e100-<x.x.x>.tar.gz

3. Change to the driver src directory by entering the following, where
   <x.x.x> is the version number for the driver tar:

   cd e100-<x.x.x>/src/       

4. Compile the driver module:

   make install

   The binary will be installed as below:

       /lib/modules/<kernel_version>/kernel/drivers/net/e100/e100.o

   The install location listed above is the default locations. It may
   not be correct for certain Linux distributions. For more information, see
   the ldistrib.txt file included in the driver tar.

5. Install the module:

   modprobe e100

6. Assign an IP address to the interface by entering the following, where
   <x> is the interface number:

   ifconfig eth<x> <IP_address>

7. Verify that the interface works. Enter the following, where <IP_address>
   is the IP address for another machine on the same subnet as the interface
   that is being tested:

   ping <IP_address>

sutie 发表于 2005-2-19 23:00:38

安装kernel source好了 :roll:
页: [1]
查看完整版本: [help]集成网卡驱动