不知哪位前辈能帮我解释一下这些步骤都是什么意思?
我的笔记本是HP NC4000 ,网卡不能被正常识别,我在网上找到了他的驱动程序,我装的是REDHAT9。0,我在网卡的README里看到了安装的过程,但不是都是什么意思,不知哪位前辈能帮我解释一下,不胜感谢!
Installing Source RPM Package
=============================
The following are general guidelines for installing the driver. Refer to
DISTRIB.TXT for additional installation notes for various Linux distributions.
1. Install the source RPM package:
rpm -ivh bcm5700-<version>.src.rpm
2. CD to the RPM path and build the binary driver for your kernel:
cd /usr/src/{redhat,OpenLinux,turbo,packages,rpm ..}
rpm -bb SPECS/bcm5700.spec
or
rpmbuild -bb SPECS/bcm5700.spec (for RPM version 4.x.x)
Note that the RPM path is different for different Linux distributions.
3. Install the newly built package (driver and man page):
rpm -ivh RPMS/i386/bcm5700-<version>.i386.rpm
Note that the --force option is needed if installing on Red Hat 7.2, 7.3,
2.1AS and others that already contain an older version of the driver.
The driver will be installed in the following path:
2.2.x kernels:
/lib/modules/<kernel_version>/net/bcm5700.o
2.4.x kernels:
/lib/modules/<kernel_version>/kernel/drivers/net/bcm5700.o
2.4.x kernels with bcm5700 as an addon driver (e.g. Red Hat 7.3, 2.1AS):
/lib/modules/<kernel_version>/kernel/drivers/net/bcm/bcm5700.o
or
/lib/modules/<kernel_version>/kernel/drivers/addon/bcm5700/bcm5700.o
2.6.0 kernels:
/lib/modules/<kernel_version>/kernel/drivers/net/bcm5700.ko
4. Load the driver:
insmod bcm5700
or
modprobe bcm5700
If loading the driver on Red Hat 7.3, 2.1 AS or other newer kernels with the
tg3 driver, refer to the "Removing tg3 Driver" in DISTRIB.TXT before loading
the driver.
5. To configure network protocol and address, refer to various Linux
documentations.
Building Driver From TAR File
=============================
The following are general guidelines for installing the driver. Refer to
DISTRIB.TXT for additional installation notes for various Linux distributions.
1. Create a directory and extract the files:
tar xvzf bcm5700-<version>.tar.gz
2. Build the driver bcm5700.o as a loadable module for the running kernel:
cd src
make
3. Test the driver by loading it:
insmod bcm5700.o
or
insmod bcm5700.ko (on 2.6.x kernels)
If loading the driver on Red Hat 7.3, 2.1 AS or other newer kernels with the
tg3 driver, refer to the "Removing tg3 Driver" in DISTRIB.TXT before loading
the driver.
4. Install the driver and man page:
make install
See RPM instructions above for the location of the installed driver.
5. To configure network protocol and address, refer to various Linux
documentations.
Patching Driver Into Kernel (Optional)
======================================
Patch files are included for patching the driver into some of the latest
2.4.x kernel source trees. This step is optional and should only be done
by users familiar with configuring and building the kernel. The patch
will modify the orginal kernel's source code.
Follow the following steps to patch the driver into kernel:
1. Select the patch file that matches your kernel and apply the patch:
patch -p1 -d <kernel_src_root> < bcm5700-<version>-2.4.<x>.patch
where <version> is the version of the bcm5700 driver and 2.4.<x> is the
version of the kernel to patch (e.g. 2.4.10).
Note: <kernel_src_root> is usually /usr/src/linux or /usr/src/linux-2.4.<x>
2. Configure the kernel to include the bcm5700 driver. It can be found
under Network Device Support ---> Ethernet (1000 Mbit) ---> Broadcom BCM5700
support when make menuconfig is run. Select built-in or module for the driver:
cd <kernel_src_root>
make menuconfig
3. Compile the kernel:
make dep
make clean
....
.... |