Artur K. Shakirov system administrator

Установка RTL8169 RTL8168 RTL8101 - r1000 CentOS 5

Драйвер r1000 не включён в ядро CentOS, но без сети оно нам ненадо. Начинаем диагностику присутствия сетевухи:
[root@centos ~]# lspci -v | more

02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 01)
        Subsystem: ASUSTeK Computer Inc. Unknown device 81aa
        Flags: bus master, fast devsel, latency 0, IRQ 177
        I/O ports at a800 [size=256]
        Memory at ff5ff000 (64-bit, non-prefetchable) [size=4K]
        Expansion ROM at ff5c0000 [disabled] [size=128K]
        Capabilities: [40] Power Management version 2
        Capabilities: [48] Vital Product Data
        Capabilities: [50] Message Signalled Interrupts: 64bit+ Queue=0/1 Enable-
        Capabilities: [60] Express Endpoint IRQ 0
        Capabilities: [84] Vendor Specific Information
[root@centos ~]# kudzu -p --class=NETWORK
-
class: NETWORK
bus: PCI
detached: 0
device: eth0
driver: r1000
desc: "Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller"
сетупим:
[root@centos ~]# wget http://blog.shakirov.com/entry/1000038/file/r1000-kmod-1.05-3.2.6.18_8.1.1.el5.src.rpm
[root@centos ~]# rpm -ivh kernel-xen*
[root@centos ~]# rpm -ivh kernel-PAE*
[root@centos ~]# rpmbuild --rebuild r1000* --target i686
[root@centos ~]# cd /usr/src/redhat/RPMS/i686
[root@centos ~]# rpm -ivh kmod-r1000-1.05-3.2.6.18_8.el5.i686.rpm      
[root@centos ~]# rpm -ivh kmod-r1000-xen-1.05-3.2.6.18_8.el5.i686.rpm
[root@centos ~]# rpm -ivh kmod-r1000-PAE-1.05-3.2.6.18_8.el5.i686.rpm  
[root@centos ~]# rpm -ivh r1000-kmod-common-1.05-3.2.6.18_8.el5.i686.rpm
[root@centos ~]# shutdown -r now
[root@centos ~]# ifconfig
И ещё вариант: установить драйвер http://blog.shakirov.com/entry/1000038/file/r8168-8.004.00.tar.bz2
а потом modprobe r8168 или при установке системы использовать дискету
http://blog.shakirov.com/entry/1000038/file/r8168-2.6.18-53.el5-i686-x86_64.img.zip
ссылка по теме: http://wiki.centos.org/HardwareList/RealTekRTL8111b

Слова: Linux, Networking
Nov. 25, 2007 // 12:13 [ permalink : LJ ]

Комментарии Отключены