Install NIC drivers in centos server

E.G

-Driver Installation steps for Atheros Communications Inc. AR8161 Gigabit Ethernet [NIC].

*verify ethernet controller in use :

#lspci -v

02:00.0 Ethernet controller: Atheros Communications Inc. AR8161 Gigabit Ethernet (rev 10)
Subsystem: Dell Device 0562
Flags: bus master, fast devsel, latency 0, IRQ 33
Memory at d0400000 (64-bit, non-prefetchable) [size=256K]
I/O ports at 2000 [size=128]
Capabilities: [40] Power Management version 3
Capabilities: [58] Express Endpoint, MSI 00
Capabilities: [c0] MSI: Enable+ Count=1/16 Maskable+ 64bit+
Capabilities: [d8] MSI-X: Enable- Count=16 Masked-
Capabilities: [100] Advanced Error Reporting
Capabilities: [180] Device Serial Number ff-4c-ed-51-5c-f9-dd-ff

* download .rar file here : http://www.touslesdrivers.com/index.php ... _langue=en

* yum --enablerepo=rpmforge install unrar

*unrar -e *****.rar

------> replace Makefile : No

* # yum groupinstall "kernel-devel"

*#make

*cp -r /path-to-downloaded-rar/alx.ko /lib/modules/2.6.32-279.5.2.el6.i686/kernel/net/wired

*add "alx.ko" to /lib/modules/2.6.32-279.5.2.el6.i686/modules.networking

* #depmod -a

*vi /etc/sysconfig/modules/alx.modules

------------------------------------------------------------------------------------------------------------
#!/bin/sh

if [ ! -c /dev/input/alx.ko ] ; then
exec /sbin/modprobe alx >/dev/null 2>&1
fi

------------------------------------------------------------------------------------------------------------

* #modprobe alx



Comments

Popular posts from this blog

Using a Linux server to route packets between two private networks

PHP Fatal error: Class 'JFactory' not found

KVM & Qemu