QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 501|回复: 0

新手求助!!(网卡驱动)

[复制链接]
发表于 2003-5-7 09:52:51 | 显示全部楼层 |阅读模式
Packaging
=========

The driver is released in two packaging formats: source RPM and compressed tar
formats. The file names for the two packages are bcm5700-<version>.src.rpm and
bcm5700-<version>.tar.gz respectively. Identical source files to build the
driver are included in both packages. The tar file contains additional
utilities such as patches and driver diskette images for network installation.


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

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.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.

这些是我下的驱动的RELEASE文件说明。(网卡为asus a7v8x板载Broadcom 440x)
我有几个问题想问:
1、.tar.gz文件是什么类型的?是否跟win中的zip差不多
2、.rpm文件是什么类型的?
3、.spec文件是什么类型的?
4、.o文件是什么类型的?
5、rpm -bb SPECS/bcm5700.spec 这句中的-bb是否有这个参数?
6、kernels是否指的终端?
7、insmod是什么命令?
8、最后什么文件才可以make install?
9、如果照上面都做好了,那如果添加网卡?
谢谢!我刚装了linux8.0,其他都认了,就网卡不认所以很头疼!
看说明我有很多地方看不懂!所以请大家帮忙,谢谢了
您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-11-3 00:24 , Processed in 0.054488 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

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