Chinaunix首页 | 论坛 | 博客
  • 博客访问: 66791
  • 博文数量: 42
  • 博客积分: 1720
  • 博客等级: 上尉
  • 技术积分: 415
  • 用 户 组: 普通用户
  • 注册时间: 2009-06-03 22:26
文章分类

全部博文(42)

文章存档

2011年(1)

2010年(2)

2009年(39)

我的朋友

分类: LINUX

2009-06-04 14:18:54

今天领导说要给一台PC机装linux 系统,是技嘉的主板,集成网卡(RTL8168)

我看到的网卡信息是从主板自带的说明书知道的,然后我去下载相关的网卡驱动程序,

找了N个驱动程序,没一个装成功的。

这时没招了,lspci一下,
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8101E PCI Express Fast Ethernet controller (rev 02)

结果看到的网卡信息和说明书的大大不一样,汗。

这时下载对应该的驱动程序,顺利安装成功

附readme说明


    This is the Linux device driver released for RealTek RTL8101E, RTL8102E(L) and RTL8103E(L), the Fast Ethernet controller with PCI-Express interface.


    Check whether the built-in driver, r8169.ko (or r8169.o for kernel 2.4.x), is installed.
        # lsmod | grep r8169

    If it is installed, please remove it.
        # rmmod r8169
    note: If the built-in driver cannot removed by rmmod, please edit /etc/modprobe.conf and comment 'alias eth0 r8169'. Then, remmove it again or reboot your computer.

    Unpack the tarball :
        # tar vjxf r8101-1.aaa.bb.tar.bz2

    Change to the directory:
        # cd r8101-1.aaa.bb

    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
        # modprobe r8101

    You can check whether the driver is loaded by using following commands.

        # lsmod | grep r8101
        # ifconfig -a

阅读(346) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~