rpm -bb SPECS/bcm5700.spec是什么?
我在装网卡的时候,按照说明书上的方法安装到rpm -bb SPECS/bcm5700.spec就过不去了,大侠们帮忙看看,好像就没有-bb这个参数啊!!超级郁闷!!!另-rpm和tar文件是不是都可以装驱动呀?cd src; make;
这一步是什么意思?make不成功,也过不去啊!
我的网卡是华硕A7V333-X主板自带的网卡,bcm5700,晕,broadcom公司的网卡竟然认不出来?好伤心~~~
说明书如下:
Installing Source RPM Package
=============================
1. Install the source RPM package:
rpm -ivh bcm5700-<version>.src.rpm
If installing the driver on SuSE Linux, refer to the Notes section below
before continuing.
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
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.1, 7.2,
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 driver patched in (e.g. Red Hat 7.1, 7.2):
/lib/modules/<kernel_version>/kernel/drivers/net/bcm/bcm5700.o
or
/lib/modules/<kernel_version>/kernel/drivers/addon/bcm5700/bcm5700.o
4. Load the driver:
insmod bcm5700
If loading the driver on Red Hat 7.3, 2.1 AS or newer Red Hat kernels, refer
to the Notes section below before loading the driver.
5. To configure network protocol and address, refer to various Linux
documentations.
Building Driver From TAR File
=============================
1. Create a directory and extract the files:
tar xvzf bcm5700-<version>.tar.gz
If installing the driver on SuSE Linux, refer to the Notes section below
before continuing.
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 newer Red Hat kernels, refer
to the Notes section below 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.
Notes
===== 用类Unix系统要先学会用男人
man rpm……
页:
[1]