QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 712|回复: 1

rpm -bb SPECS/bcm5700.spec是什么?

[复制链接]
发表于 2005-5-1 11:26:42 | 显示全部楼层 |阅读模式
我在装网卡的时候,按照说明书上的方法安装到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
=====
发表于 2005-5-6 16:41:11 | 显示全部楼层
用类Unix系统要先学会用男人

man rpm……
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-11-27 22:53 , Processed in 0.052495 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表