QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 734|回复: 2

有关1000M网卡的安装

[复制链接]
发表于 2004-7-4 23:01:48 | 显示全部楼层 |阅读模式
我用的电脑是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 但是没有内核文件,又不能安装。。。我现在快晕了,不知道怎么办?大家给我提点建议吧~谢谢了~~
发表于 2004-7-4 23:05:12 | 显示全部楼层
找到安装光盘,安装“内核开发”  
这个跟盗版没什么关系
回复

使用道具 举报

 楼主| 发表于 2004-7-6 09:20:10 | 显示全部楼层
安装了 内核开发后就可以找到了吗?然后根据原来的文但中提示的,进行操作
回复

使用道具 举报

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

本版积分规则

GMT+8, 2024-11-20 11:48 , Processed in 0.041350 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

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