Install the NIC Driver from a USB flash drive-linux general technology-Linux technology and application information. For more information, see the following. Today I met a machine named RTL8169 Nic. The system is as 4.4 64-bit.
Only the development kit is installed.
No NIC Driver, no NIC Driver for linux on the random disc.
I had to go to the rtl official website.
:
Http://www.realtek.com.tw/downlo... D = 3 & GetDown = false #2
The downloaded version:
Ftp: // 202.65.194.212/cn/nic/r8168-8.003.00.tar.bz2
Download the driver file to the USB flash drive.
Insert the USB flash drive to the USB port of the machine, and the system will automatically prompt you to find the new device, but no drive symbol is assigned.
Use fdisk-l to view automatically assigned identifiers
I recognized/dev/sdb.
Start Installation
Create a usb drive symbol
# Mkdir/mnt/usb
Mount a USB flash drive
# Mount/dev/sdb/mnt/usb
Enter the USB flash drive directory
# Cd/mnt/usb
Check whether the disk is mounted normally and list the files in the USB flash drive.
# Ls-l
See r8168-8.003.00.tar.bz2
Copy to system temp directory
# Cp rr8168-8.003.00.tar.bz2/tmp/r8168-8.003.00.tar.bz2
Decompress the document
# Tar-jxvf r8168-8.003.00.tar.bz2
Enter the Directory
# Cd r8168-8.003.00
# Cd src
Just in case, clear the original compilation traces first
# Make clean
Compile
# Make install
The driver file r8169.o or r8169.ko is automatically generated.
And automatically copy to the driver directory
Driver Directory:/lib/modules/2.6.9-42.EL/ kernel/drivers/net/
You can see the driver file in this directory.
Restart the machine
# Shutdown-r now
During the startup process, a message is displayed, indicating whether to configure the new hardware.
Select Yes to configure the NIC.
Configure the NIC information just like the result of running netconfig in the system.
Complete.
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.