LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1636|回复: 12

网卡为asus a7v8x板载Broadcom 440x ,如何在Redhat 8中驱动?

[复制链接]
发表于 2003-5-6 21:35:07 | 显示全部楼层 |阅读模式
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,其他都认了,就网卡不认所以很头疼!
看说明我有很多地方看不懂!所以请大家帮忙,谢谢了
发表于 2003-5-7 11:01:51 | 显示全部楼层
这样提问没有效果。。

最好是看一下LinuxSir的首页的提示。

要把下面的两个命令的信息发上来
#uname -a
#lspci
多谢。
发表于 2003-5-7 13:10:25 | 显示全部楼层
顺便问一个关于上网的问题:
我么学校上网要通过认证
我装了mdc-ssd-01.1.2-1.i386.rpm
rpm -Uvh -nodeps mdc-ssd-01.1.2-1.i386.rpm
cd /us/lib
ln -s libssl.so libssl.so.1
ln -s libcrypto.so libcrypto.so.1
修改文件ifcfg
这样应该没有错吧?
但是我不知道怎么运行mdc-ssd & mdc-ssc
刚刚接触linux  请帮忙!
发表于 2003-5-7 16:30:45 | 显示全部楼层
一个一个的来,第一个问题还没有答复我呢。

如果网卡不驱动,无论怎么弄还是上不了网,应该看一下首页的关于发帖的约定。

另我对认证不懂,也不知道兄弟用的是什么认证??
 楼主| 发表于 2003-5-7 19:37:58 | 显示全部楼层
谢谢北兄了:)
输入unmame -a
Linux localhost.localhostdomino 2.4.18-14 #Web Sep 4 12:13:11 EDT 2002 i686 athlon i386 GNU/Linux
输入ispci
00:00:0 Host bridge:VIA Technologies ,Inc.:Unknown devide 3189
00:01:0 Pci brideg:VIA Technologies ,Inc.:Unknown devide b168
00:02:0 Ethernet Controller:Broadcom Corporation:Unknown devide 4401(rev 01)
......
.......
这些大概就是北兄所要的信息了吧!
帮兄弟看看,谢谢了
发表于 2003-5-8 06:39:20 | 显示全部楼层
感觉信息不全,按我这样的来做
#lspci -b
如果在linux下上不了网,我们可以用下面的方法输出成文件。

#lspci -b lspci.txt

然后就把lspci.txt写到软盘或者fat32分区。这个过程应该没有问题吧
 楼主| 发表于 2003-5-8 19:57:08 | 显示全部楼层
#lspci -b lspci.txt
用这个命令以后他提示lspci的用法!!后来我还是用手记了

00:00:0 Host bridge:VIA Technologies ,Inc.:Unknown device 3189
00:01:0 Pci brideg:VIA Technologies ,Inc.:Unknown device b168
00:09:0 Ethernet Controller:Broadcom Corporation:Unknown device 4401(rev 01)
00:0f:0 Multimedia Video controller:Brooktree Corporation Bt878 Video Capture(rev 02)
00:0f:1 Multimedia controller:Brooktree Corporation Bt878 Audio Capture(rev 02)
00:10:0 USB Controller:VIA Technologies,Inc.USB(rev 80)
00:10:1 USB Controller:VIA Technologies,Inc.USB(rev 80)
00:10:2 USB Controller:VIA Technologies,Inc.USB(rev 80)
00:10:3 USB Controller:VIA Technologies,Inc.USB2.0(rev 82)
00:11:0 ISA bridge:VIA Technologies,Inc.VT8233A ISA Bridge
00:11:1 IDE interface:VIA Technologies,Inc.VT82C586B PIPC Bus Master IDE(rev 06)
00:11:5 Multimedia audio controller:VIA Technologies,Inc.VT8233 AC97 Audio Controller(rev 50)
01:00:0 VGA compatible controller:nVidia Corporation:Unknown device 0181(rev a2)

这是全部了!!请北兄看看!!
 楼主| 发表于 2003-5-8 20:01:59 | 显示全部楼层
其实我自己也按照说明安装了,可是当执行
rpm -bb SPECS/bcm5700.spec
时他提示说 -bb不对!

当我用rpmbuild -bb SPECS/bcm5700.spec (for RPM version 4.x.x)
时他提示说 rpmbuild命令不对!可是我看rpm是4.1的版本。
发表于 2003-5-8 20:27:13 | 显示全部楼层
rpm -bb SPECS/bcm5700.spec 这是编译RPM包所用的命令,我刚才找了一下这个驱动,下载下来的都是坏包,仅有8K
用rpm --bb *.spec这个命令来编译一下试试,如果成功会在,然后到/usr/src目录中,如果中Redhat,应该是这个目录/usr/src/redhat/RPM/i368,在这里面有个RPM包,就是关于这个网卡的,如果不成功,可能就得想别的办法了,原因可能出现在驱动包太旧了。
 楼主| 发表于 2003-5-9 19:19:29 | 显示全部楼层
北兄!小弟试了下rpm -bb *.spec,还是提示
-bb:unknown option
无法继续了!!还有别的什么办法吗?
我下的挺好,应该不是包太旧了,好像就是2003年3月份的
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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