|
我用的电脑是COMPAQ 的N620C 用的是 10/100/1000M的网卡, Broadcom BCM5700。我在HP上面下了驱动后,根据README 和 DISTRIB
进行安装
如下面的:
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
当到第2步的时候,用rpm -bb SPECS/bcm5700.spec的时候,提示没有 -bb
是UNKNOWN的,然后用MAN 命令查了一下,结果出现,RPM的VERSION 是4。2的,里面有提到-BB ,但是是rpmb -bb XXXXX(是把下面的RPMBUILD 改了的,但是我始终安装不上去!
原来的驱动压缩包里面解压缩有2个文件一个是.gz 和.tar
上面的不行,我然后用第2个安装方法
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
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.
我上一次安装LINUX的时候用的是内核是2。4。2-8的这次也是一样,但是上次是盗版的,这次是REDHAT正版的,上次安装到2步的时候MAKE是可以的,但是这次提示没有内核什么的,不行了,我找内核,原来的盗版的在USR/SRC/linux里面的,这次进去后是usr/src/redhat 但是没有内核文件,又不能安装。。。我现在快晕了,不知道怎么办?大家给我提点建议吧~谢谢了~~ |
|