Ubuntu12.04 installing the NIC driver

Source: Internet
Author: User
Tags bz2

Recently has been to the children to install the system-mounted driver, to summarize the following recently to ubuntu12.04 installed network card driver, as well as some unresolved issues (there are many not recorded, unfortunately, there is not so many computer experiment opportunities ¯\ (°_o)/¯).

First step: see if the network card driver is present or whether the wireless is enabled

There are several ways to do this:

1. Top Right Network icon: If only show " No Devices available ", right-click to see whether to Enable networking (for wired network required), if you have selected but still display this information, the lack of cable network card driver, if you have a wired driver after enabling networking will show "Wired Network" For wireless networks, right-click to see if Wireless is not enabled . Both of these options are reviewed and determined before you start looking for installation drivers, and the province does not work hard.

2. Command: Ifconfig

[email protected]:~$ ifconfigeth0 Link encap:ethernet HWaddr 88:ae:1d:31:1e:19 up broadcast Multicas          T mtu:1500 metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0  (0.0 B) TX bytes:0 (0.0 B) Lo Link encap:local Loopback inet addr:127.0.0.1 mask:255.0.0.0 inet6 addr::: 1/128 Sco          Pe:host up LOOPBACK RUNNING mtu:65536 metric:1 RX packets:706 errors:0 dropped:0 overruns:0 frame:0           TX packets:706 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:104873 (104.8 KB) TX bytes:104873 (104.8 KB) wlan0 Link encap:ethernet HWaddr 78:e4:00:cf:77:42 I          NET addr:192.168.1.3 bcast:192.168.1.255 mask:255.255.255.0 inet6 addr:fe80::7ae4:ff:fecf:7742/64 Scope:Link  Up broadcast RUNNING multicast mtu:1500 metric:1        RX packets:9711 errors:0 dropped:0 overruns:0 frame:0 TX packets:8756 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:5068789 ( 5.0 MB) TX bytes:1549108 (1.5 MB)

Where Eth0 is a wired network, WLAN0 is a wireless network, and Lo's explanation can refer to the problem: what's the loopback device and how does I use it?

If you do not have eth0 or wlan0 need to determine whether to enable networking and enable wireless, use the Rfkill List command:

[Email protected]:~$ rfkill list0:ideapad_wlan:Wireless LAN    Soft blocked:no hard    blocked:no1:phy0:Wireless L An    Soft blocked:no hard    Blocked:no

If not enabled, the soft blocked under the corresponding network name is yes, you need to use the command Rfkill unblock 1 to enable.

Step Two: Check the network card type

After making sure that the NIC driver is not installed, first look at the network card type to download the appropriate driver. Here are a few commands to view:

1. Lspci | Grep-i Net (can refer to the use of LSPCI)

[Email protected]:~$ lspci | Grep-i net06:00.0 Network Controller:qualcomm Atheros AR9285 Wireless Network Adapter (pci-express) (rev.) 07:00.0 EThe Rnet Controller:realtek Semiconductor Co., Ltd. rtl8101e/rtl8102e PCI Express Fast Ethernet Controller (rev 02)

The network controller is the type of wireless network card, Ethernet controller is the type of wired network card, you can find the corresponding driver to install according to the network card type.

2. Sudo lshw-c network

[email protected]:~$ sudo lshw-c network[sudo] password for Sophia: *-network Description:wi Reless interface product:ar9285 Wireless Network Adapter (pci-express) Vendor:qualcomm Atheros Physica L id:0 Bus Info: [email protected]:06:00.0 logical Name:wlan0 version:01 serial:78:e4:00: cf:77:42 width:64 bits clock:33mhz capabilities:pm msi pciexpress bus_master cap_list Ethernet physic Al Wireless Configuration:broadcast=yes driver=ath9k driverversion=3.13.0-24-generic firmware=n/a ip=192.168.1.3 LA Tency=0 link=yes multicast=yes wireless=ieee 802.11bgn resources:irq:17 memory:99100000-9910ffff *-network D  Escription:ethernet interface product:rtl8101e/rtl8102e PCI Express Fast Ethernet Controller Vendor:realtek       Semiconductor Co., Ltd. Physical id:0 Bus Info: [email protected]:07:00.0 logical Name:eth0 VERSION:02 Serial:88:ae:1d:31:1e:19 size:10mbit/s capacity:100mbit/s width:64 bits Clock:33mhz Capabil ITIES:PM msi pciexpress msix VPD bus_master cap_list ROM Ethernet physical TP mii 10BT 10bt-fd 100BT 100bt-fd Autonegotia tion configuration:autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3lk-napi duplex=half latency=0 Lin K=no multicast=yes port=mii speed=10mbit/s resources:irq:41 ioport:2000 (size=256) memory:95110000-95110fff Memory:9 5100000-9510FFFF MEMORY:95120000-9513FFFF

This command can display the details of the NIC.

Step three: Download the appropriate driver and install

First of all, it is a very important step to be prepared for the psychological preparation that cannot find the driver +_+

1. Some children's wireless card type is:Atheros AR9285 Wireless network adapter

Reference to the following: for Atheros AR9285 wireless network adapter installed Ubuntu 12.04 LTS Linux Driver

The process is as follows:

123456789101112 <span style= Code class= "CSharp string" > "font-family: ' Courier New ', Courier;" > first download Generic driver package: <a href= "http://www.orbit-lab.org/kernel/compat-wireless-3-stable/v3.6/ compat-wireless-3.6.8-1.tar.bz2 " >compat-wireless-3.6.8-1.tar.bz2</a Unzip and enter the extract directory, execute the following command: make sudo make install sudo make unload all sudo modprobe ath9k Edit modules: sudo VI modules add ath9k save restart your computer. </SPAN>

Problem: After successful installation, the wireless network can be connected. However, after the restart will not be able to surf the internet, is not added boot. Later the same model, with the method of installation success has not yet encountered ...

2.thinkpad-t440p Network card driver installation

thinkpad-t440p:~$ LSPCI |grep-i Net

00:19.0 Ethernet Controller:intel Corporation Device 153a (rev 04)
04:00.0 Network Controller:realtek Semiconductor Co., Ltd. Device 818b

1) wired network Intel Corporation Device 153a (rev) Driver:

In fact, the effective driver can be found from Intel's official website, of course, the process of the search and the name of the driver installed is not so intuitive, resulting in many like me this rookie to look for half a day.

First on the Ubuntu forum to see such a problem: Intel I217LM Ethernet controller not detected by Ubuntu 12.04LTS found that the author of the network card attached to the model is this, In the following answer, I find a link that says it works: Using the e1000e Base Driver for Gigabit intel®network Connections has been proven to be useful for the child's computer, and her computer can finally be wired online ...

The process is as follows:

1. Click Download E1000e2. Installation:
# TAR-ZXVF e1000e-3.0.4.tar.gz //(version when writing this post) # CD E1000E-3.0.4/SRC
# make Install//This installs the file to/lib/modules/' Uname-r '/kernel/drivers/net/e1000e/e1000e. [K]o different versions of Linux installations may have different locations
# modprobe e1000e
# insmod/lib/modules/' uname-r '/kernel/drivers/net/e1000e/e1000e.ko where Uname-r is the kernel version, the command can be directly hit, or can be viewed in advance, with the actual version number instead of
And then you can run it here.
Restart, shut down after the boot, and so on, can also be connected, indicating the success of the---------has been a good many lessons after the "legacy" =_=

2) Wireless Card driver Realtek Semiconductor Co., Ltd. Device 818b:

Find a network card that is not the model of the computer and do not know whether it is the model of the NIC driver but it works? Please refer to Thread: Thinkpad L540, Ubuntu 13.10, Thinkpad Wireless 2 x 2 bgn+bt 4.0:no Wi -fi

The process is as follows:

Download driver: oem-wireless-rtl-92ce-92se-92de-8723ae-88ee-8723be-92ee-dkms_0017.1016.2013~sutton1.tar.gz
First execute the sudo apt-get install build-essential linux-headers-generic command (the previously installed unsuccessful may be missing this step), don't forget apt-get update before install
# TAR-ZXVF Oem-wireless-rtl-92ce-92se-92de-8723ae-88ee-8723be-92ee-dkms_0017.1016.2013~sutton1.tar.gz
# CD Oem-wireless-rtl-92ce-92se-92de-8723ae-88ee-8723be-92ee-dkms_0017.1016.2013~sutton1/driver
# sudo make
# sudo make install
# sudo modprobe rtl8192ee
EDIT
# Insmod Home/sophia (where your drive is placed)/oem-wireless-rtl-92ce-92se-92de-8723ae-88ee-8723be-92ee-dkms_0017.1016.2013~ Sutton1/driver/rtl8723be/rtl8723be.ko
"For the sake of insurance, there is the last sentence, otherwise it may not be connected after the shutdown,
Insmod behind the file as long as the compiled Rtl8723be.ko can be, before thought will be installed in the LIB, the harm I find Lib file for half a day,
Some computers are installed directly under the lib/modules of some will not, so directly to the compiled KO file insert is good "
After reboot, the wireless network can be found and connected after the shutdown is turned on, and the installation is successful (?)

3. There are many computer network card types for Broadcom Corporation Device 4365 (rev 01)

Referring to the Ubuntu 12.04 installation Wireless card driver with Dell E6400 successfully installed the Broadcom 802.11 Linux STA driver Wireless Card driver two articles, found to be valid after combining the following procedures:

Download driver: 802.11 linux_sta (page changed, select top two  linux®sta 32-bit driver or  linux®sta 64-bit driver) 32-bit and 64-bit , 32 bits are used here (some of the NIC models are shown as 802.11 linux_sta may also use this method)

First execute the sudo apt-get install build-essential linux-headers-generic command
# TAR-ZXVF Hybrid-v35-nodebug-pcoem-6_30_223_141.tar.gz
# CD Hybrid-v35-nodebug-pcoem-6_30_223_14
# sudo make
# sudo make install
# sudo rmmod bcm43xx b43 b43legacy SSB WL //removal of conflicting drivers
# modprobe lib80211
# modprobe cfg80211
# insmod Wl.ko //test, generally this time the wireless network can be used, but in order to be able to restart after the use of the following actions are required
# sudo rmmod WL
# insmod/lib/modules/' uname-r '/kernel/drivers/net/wireless/wl.ko//This is the directory installed when make install (or it can be written as in the second article). Create a new folder to copy the Wl.ko before installing)
# sudo depmod-a//This step is important to enable the drive to turn on and start

If you have the following drivers in your computer, you can run the following command screen to save the conflict:
sudo echo "blacklist bcm43xx" >>/etc/modprobe.d/blacklist
sudo echo "blacklist b43" >>/etc/modprobe.d/blacklist
sudo echo "blacklist b43legacy" >>/etc/modprobe.d/blacklist
sudo echo "blacklist SSB" >>/etc/modprobe.d/blacklist

Successful results???????

Problems encountered: There is a child's computer running Insmod Wl.ko when the display insmod inserting error:-1 Invalid parameters later did not resolve, until now unknown reason, there may be no run the first step of the build kernel command, Be careful.

4. Realtek 8723A seems to be this model)

Here's a question: Wireless card Realtek RTL8723AE-BT is not recognized one of the answers is valid: Realtek is making the official Linux driver Availab Le unofficially (via Dropbox)

You can click the location link in the title answer:

The bottom answer to the askubuntu.com/a/165002/74671 is Work , thanks!–chu-saing Lai Jan "at 16:44

The process is as follows:

Download driver: rtl_92ce_92se_92de_8723ae_linux_mac80211_0006.0514.2012.tar.gz
First run sudo apt-get install build-essential linux-headers-generic linux-headers-' uname-r '

# TAR-ZXVF Rtl_92ce_92se_92de_8723ae_linux_mac80211_0006.0514.2012.tar.gz
# CD rtl_92ce_92se_92de_8723ae_linux_mac80211_0006.0514.2012
# sudo make
# sudo make install
rtl8723e
测试后安装成功(ノ^_^)ノ

Original: http://www.cnblogs.com/Sophiawow/p/3654120.html

Ubuntu12.04 installing the NIC driver

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.