ubuntu14.04.1 installing Tenda w311m Wireless driver network card

Source: Internet
Author: User

1. Check the system kernel version, Uname-r v3.0 version of this network card does not support more than 4.0 of the kernel (customer service personnel, not verified)

2., then go to the official website to download the corresponding driver, http://www.tenda.com.cn/product/download/W311M.html, download the corresponding driver

3. Then it is decompression, and then it is best to make uninstall and Modprobe-r mt7601u operation, because some version comes with a driver, not easy to use, which mt7601u is the corresponding module,

After this source code is compiled, that is, make install after making, this process will be error, reason does not provide the tool, need to install, build-essential not provide, need to install, command as follows

: sudo apt-get make build-essential, and then you can modprobe Mt760usta This operation, note here is Mt7601usta and above the mt7601u is not the same, the above is the system comes with, the following is compiled

If the kernel is replaced, make uninstall operation is required, then make clean, then recompile the installation

4. Now start to view IP a This situation, in order to connect the wireless network, first to activate the network card: IP link set wlan0 up, and then use the Wap_supplicant this tool, Sir into a configuration file, using the tool wpa_passphrase [SSID] [password ]>wpa_supplicant.conf

Then copy it to the/etc/wpa_supplicant/folder below and use the command:

Wpa_supplicant-b-dwext-iwlan0-c/etc/wpa_supplicant/wpa_supplicant.conf

You can start networking.

5. To automatically connect when the system restarts, you need to change the configuration file/etc/network/interface

At the bottom, add:

Auto Eth1

Iface eth1 inet Static

Address 192.168.1.100

Netmask 255.255.255.0

Wireless-essid HomeNet

Pre-up Wpa_supplicant-b-dwext-ieth1-c/etc/wpa_supplicant/wpa_supplicant.conf

Post-down Killall-q Wpa_supplicant

This automatically restarts after the wireless network can be connected to obtain a static IP, if you get dynamic IP, you can change the above 2 lines to:

Auto Eth1

Iface eth1 inet DHCP

If IP is not available, it is best to configure DNS:

That is, add dnsname-servers 8.8.8.8 192.168.1.1 at the back.

Reference: Http://www.linuxhomenetworking.com/wiki/index.php/Quick_HOWTO_:_Ch13_:_Linux_Wireless_Networking#Installing _wpa_supplicant

ubuntu14.04.1 installing Tenda w311m Wireless driver network card

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.