Install NIC driver under Linux

Source: Internet
Author: User

1) NIC driver mismatch may cause the Linux server network to be intermittent

2) go to the official website to download the driver , detected the native network card type is Realtek Semiconductor Co., Ltd. rtl8111/8168b PCI Express Gigabit Ethernet, detection method reference HTTP ://my.oschina.net/u/555061/blog/487239

3) to the official website download driver, generally download down is about 10k

4) View the Read Me file

<quick install with proper kernel settings>unpack the tarball :#  tar vjxf r8168-8.aaa.bb.tar.bz2Change to the directory:# cd  r8168-8.aaa.bbif you are running the target kernel, then you  Should be able to do :# ./autorun.sh (As root or with sudo) you can check whether the driver is loaded by using  Following commands.# lsmod | grep r8168# ifconfig -aif there is  a device name, ethX, shown on the monitor, the linux  Driver is loaded. then, you can use the following command to  activate the ethx.# ifconfig ethx up,where x=0,1,2,...

That is, the first step to extract, the second step into the directory, the third step to execute autorun.sh, different drive conditions, but there are readme files

5) After installation, restart the NIC

[[email protected] ~]# ifconfig eth0 down[[email protected] ~]# ifconfig eth0 up

Note: The eth0 here is to check the network adapter configuration, see the method reference http://my.oschina.net/u/555061/blog/526020 in the device= "eth0", or use/sbin/ Ifconfig Check the NIC configuration can also find eth0

Install NIC driver under Linux

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.