Install the Realtek8110SC Gigabit NIC Driver in LINUX
Source: Internet
Author: User
Install the Realtek8110SC Gigabit NIC Driver in LINUX-general Linux technology-Linux technology and application information. For more information, see the following. A CENTOS5 machine is installed in the house and cannot access the Internet. Because there is no time to get this. New jobs are busy. I took the time to get it done this evening. My motherboard is a AMD690G-AM2.
1. Check whether the NIC is loaded when the system starts.
Dmesg | grep eth0 (because I only have one Nic)
If something is displayed, you don't need to read it because your Nic has already been recorded. That is why you have not configured the IP address and DNS.
2. the kernel source code is required during Nic compilation, and the corresponding GCC compiler is also required.
If no installation is available, download the corresponding host at http://www.kernel.org. (Run the uname-r command to view the kernel)
I have an RPM package. So I don't need.
In this case, check the/usr/src/directory.
Now your kernel source code is installed.
GCC Section
[Root @ localhost 2.6.18-8. el5] # whereis-B gcc
Gcc:/usr/bin/gcc/usr/lib/gcc/usr/libexec/gcc
If there is no output, you have to install GCC. Go to http://www.gnu.org/to download the file.
3. Download the NIC Driver. It is best to go to the site corresponding to the chip and decompress the package:
[Root @ localhost David _yeung] # tar jxvf r8169-6.003.00.tar.bz2
4. Read the README files in the directory after the installation is complete (this is a good habit and can solve many Software Installation Problems in LINUX in principle)
Start Compilation
If the previous steps are complete, there will be no errors.
Make
Make install
Depmod-
[Root @ localhost src] # pwd
/Home/David _yeung/r8169-6.003.00/src
[Root @ localhost r8169-6.003.00] # insmod./src/r8169.ko
Check whether the load is successful:
[Root @ localhost r8169-6.003.00] # lsmod | grep r8169
R8169 65936 0
After successful Loading
View information
Because I have already configured the IP address. If no IP address is configured, use netconfig or system-config-network-tui to configure the specific IP address.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.