how to unload Ethernet driver
hello , i have installed rhel 4 on my PC which has previously windows XP OS. now i want to install Ethernet driver but i am getting this error.
check old driver and unload it. build the module and install make : *** /lib/modlues/2.6.9-42.ELsmp/build: No such file or directory.Error 1 stop . make [1]: ***[modlue]Error 2 |
Hello.
This shows the driver (module) used for my Ethernet card: Code:
lexus@reinstein:~$ dmesg | grep Eth Code:
lexus@reinstein:~$ lsmod | grep 8169 Code:
rmmod r8169 To make the changes permanent you have to put the command "rmmod <module_name>" somewhere to the start scripts, say to /etc/rc.local or to some specific config-file of your distribution. In Ubuntu it's /etc/modprobe.d/blacklist.conf. |
i have tried this
]# dmesg | grep eth its showing divert : not allocating divert -blk for non_ethernet device lo. divert : not allocating divert -blk for non_ethernet device sito |
Quote:
Also you can use modprobe to unload modules: Code:
# modprobe --remove --verbose MODULE Quote:
Code:
# yum install kernel kernel-devel |
Hi,
you could as well use Code:
lspci -k | grep -iA5 eth Markus |
i have reinstalled the RHEL 4 on my PC.
i have tried this command ]# lspci -k | grep -iA5 eth but its showing invalid command i tried this ]# lspci -v | grep -iA5 eth it shows 01:00.0 Ethernet controller : Realtek semiconductor co. pvt .ltd RTL8101E PCI Express fast Ethernet Controller (rev o1) many other things like flags , memory usage ect. here, it shows Ethernet is RTL8101E , so should i installed this driver ?? actually previously i did installation of the required driver for Ethernet and that time its was showing the error i have mention in very first post i.e check old driver and unload it. build the module and install as i am new for linux not getting the exact way to solve this . :( |
If you paid for Red Hat, ask them what to do! And if you didn't pay, you shouldn't be using it. Red Hat does not come with as much hardware support as most distros; a different one would probably has support for your ethernet port built-in.
|
Quote:
Code:
lsmod | sort |
Quote:
BTW, CentOS is compiled from RHEL sources and is free. |
All times are GMT -5. The time now is 01:00 PM. |