免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1185 | 回复: 2
打印 上一主题 下一主题

[网络管理] 求助:linux安装网卡错误 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2005-10-30 22:49 |只看该作者 |倒序浏览
安装:intel pro/1000 mt 网卡

到intel 网站下驱动e1000-6.2.15.tar.gz  按照以下说明操作1. Move the base driver tar file to the directory of your choice. For
   example, use /home/username/e1000 or /usr/local/src/e1000.

2. Untar/unzip archive:

     tar zxf e1000-x.x.x.tar.gz

3. Change to the driver src directory:

     cd e1000-x.x.x/src/

4. Compile the driver module:

     make install

   The binary will be installed as:

     /lib/modules/<KERNEL VERSION>/kernel/drivers/net/e1000/e1000.[k]o

   The install locations listed above are the default locations. They
   might not be correct for certain Linux distributions. For more
   information, see the ldistrib.txt file included in the driver tar.

5. Install the module:

     insmod e1000 <parameter>=<value>

   Note that this command may need to be modified for kernel versions later
   than 2.4, as follows:

     insmod /lib/modules/<KERNEL VERSION>/kernel/drivers/net/e1000/e1000.ko <parameter>=<value>

6. Assign an IP address to the interface by entering the following, where
   x is the interface number:

     ifconfig ethx <IP_address>

7. Verify that the interface works. Enter the following, where <IP_address>
   is the IP address for another machine on the same subnet as the
   interface that is being tested:

     ping  <IP_address>       


Command Line Parameters

当到第四步时,出现以下错误信息:

[root@localhost root]# cd /lib/modules/2.4.20-8/kernel/drivers/net/e1000/e1000-6.2.15/src
[root@localhost src]# make install
make
make[1]: Entering directory `/lib/modules/2.4.20-8/kernel/drivers/net/e1000/e1000-6.2.15/src'
**************************************************
** e1000.o built for 2.4.20-8
** SMP               Disabled
**************************************************

make[1]: Leaving directory `/lib/modules/2.4.20-8/kernel/drivers/net/e1000/e1000-6.2.15/src
# remove all old versions of the driver
find /lib/modules/2.4.20-8 -name e1000.o -exec rm -f {} \; || true
find /lib/modules/2.4.20-8 -name e1000.o.gz -exec rm -f {} \; || true
install -D -m 644 e1000.o /lib/modules/2.4.20-8/kernel/drivers/net/e1000/e1000.oinstall: cannot stat `e1000.o': No such file or directory
make: *** [install] Error 1
[root@localhost src]#

重起确实找到硬件,但不能被激活。郁闷啊,请大家帮帮忙啊!!谢谢啦~~

论坛徽章:
0
2 [报告]
发表于 2005-10-30 22:54 |只看该作者
你试度找个RPM 装简单一点.
另你看一下这个文件有没有存在.
/lib/modules/2.4.20-8/kernel/drivers/net/e1000/e1000.

论坛徽章:
0
3 [报告]
发表于 2005-10-30 23:00 |只看该作者
没有安装前是有的,安装后就没有了~~被删除掉了
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP