免费注册 查看新帖 |

Chinaunix

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

centos 系统 网卡驱动不上 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2007-01-16 11:49 |只看该作者 |倒序浏览
刚安装完的centos 4.3 ,竟然不显示网卡,是网卡驱动不上吗,...我的网卡是Realtek RTL8169/ PCI-E Gigabit ,哪为大哥帮帮忙啊,小弟感激不尽啊!

论坛徽章:
1
狮子座
日期:2013-12-05 16:04:37
2 [报告]
发表于 2007-01-16 13:12 |只看该作者
下载网卡驱动.然后进行安装就可以啦.

论坛徽章:
0
3 [报告]
发表于 2007-03-10 20:19 |只看该作者
楼主解决了这个问题了吗?我也是遇到这个问题了

论坛徽章:
0
4 [报告]
发表于 2007-03-10 23:11 |只看该作者
我在FC6上面也遇到安装
Realtek  PCI-E Gigabit 问题,去其官方网站下载驱动,R1000_V1.05 ,进行如下动作即可!

<Linux device driver for Realtek Ethernet controllers>

  This is the Linux device driver released for RealTek Ethernet controllers, which are listed as following.
        1. RTL8169S/SB/SC (Gigabit Ethernet with PCI interface)
        2. RTL8168B (Gigabit Ethernet with PCI-Express interface)
        3. RTL8101E (Fast Ethernet with PCI-Express interface)

<Requirements>

  - kernel source tree (supported versions 2.4.x or 2.6.x)
  - compiler/binutils for kernel compilation



<Quick install with proper kernel settings>

  Unpack the tarball :
        tar vzxf r1000_vX.YZ.tgz

  Change to the directory:
        cd r1000_vX.YZ

  If you are running the target kernel, then you should be
  able to do :

        make clean modules        (as root or with sudo)
        make install
        depmod -a




<Force Link Status>

1. Force the link status when insert the driver.
        If the user is in the path ~/r1000, the link status can be forced to one of the 5 modes as following command.

        #insmod ./src/r1000.ko speed=SPEED_MODE duplex=DUPLEX_MODE autoneg=NWAY_OPTION

        ,where
                SPEED_MODE        = 1000        for 1000Mbps
                                = 100        for 100Mbps
                                = 10        for 10Mbps
                DUPLEX_MODE        = 0        for half-duplex
                                = 1        for full-duplex
                NWAY_OPTION        = 0        for auto-negotiation off
                                = 1        for auto-negotiation on
        For example:
        #insmod ./src/r1000.ko speed=100 duplex=0 autoneg=0
        will force PHY to operate in 100Mpbs Half-duplex.

2. Force the link status by using ethtool.
        a. Insert the driver first.
        b. Make sure that ethtool exists in /sbin.
        c. Force the link status as the following command.

        #ethtool -s eth? speed SPEED_MODE duplex DUPLEX_MODE autoneg NWAY_OPTION

        ,where
                SPEED_MODE        = 1000        for 1000Mbps
                                = 100        for 100Mbps
                                = 10        for 10Mbps
                DUPLEX_MODE        = half        for half-duplex
                                = full        for full-duplex
                NWAY_OPTION        = off        for auto-negotiation off
                                = on        for auto-negotiation on

<Advanced feature>

  - Supports Jumbo Frame
  - Hardware Tx/Rx flow control

论坛徽章:
0
5 [报告]
发表于 2007-03-10 23:23 |只看该作者
谢谢楼上的,能不能给出确切地址

论坛徽章:
0
6 [报告]
发表于 2007-03-10 23:27 |只看该作者
找到了,原来和8168用的是同一个
http://www.cl2.cn/down/file/8168.tar.gz

论坛徽章:
0
7 [报告]
发表于 2007-03-10 23:39 |只看该作者

论坛徽章:
0
8 [报告]
发表于 2007-03-11 00:10 |只看该作者
谢谢!
下面这个是在FC和 ubuntu下安装的方法,有没有#for centOS的?(我挂载了光盘后运行yum和apt-get都不成功)

realtek8168驱动for linux的安装方法
1.下载8168 for linux驱动

2.获取kernel的源码包

uname -r 获取内核版本

如果网络不可以用,可从安装光盘找到对应kernel的源码包安装
网络可用的话,可通过以下方式安装:)

#for fedora core
sudo yum install kernel-devel

#for ubuntu
sudo apt-get install linux-headers

找到对应内核的开发源码包下载安装。

3.解压后,编译安装模块

tar -xzvf 8168.tar.gz
cd r1000_v1.0/src
sudo make clean modules && make install && depmod -a

论坛徽章:
0
9 [报告]
发表于 2007-03-11 00:23 |只看该作者
下载一个tar包,然后解压缩后,一般里面都有个README!

论坛徽章:
0
10 [报告]
发表于 2007-03-11 01:39 |只看该作者
郁闷,我安装了这个驱动,怎么还是有问题
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP