How to install a USB wireless Nic on Debian

Source: Internet
Author: User
1: I don't want to go offline in my desktop. So I went to a certain East to buy a USB wireless network card. The WN725NUSB of tp is very small, which is about the same size as that of the Logitech USB adapter. 2: The driver can identify it by itself. since it is a usb Nic, after the USB is inserted, lsusb will see a new line of Realtek id0133: 8179root @ debian:/# lsusbBus00 added.

1: I don't want to go offline in my desktop. So I went to a certain East to buy a USB wireless network card. The WN725N USB of tp is very small, which is about the same size as that of the Logitech USB adapter.

2: The driver can identify it on its own. since it is a usb Nic, after the USB is inserted, lsusb

We can see that a new row of Realtek ID 0133: 8179 is added.


Root @ debian:/# lsusb
Bus 001 Device 001: ID 1d6b: 0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b: 0003 Linux Foundation 3.0 root hub
Bus 003 Device 001: ID 1d6b: 0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b: 0002 Linux Foundation 2.0 root hub
Bus 003 Device 002: ID 8087: 0024 Intel Corp. Integrated Rate Matching Hub
Bus 004 Device 002: ID 8087: 0024 Intel Corp. Integrated Rate Matching Hub
Bus 003 Device 007: ID 0133: 8179 Realtek semiconducorp.
Bus 003 Device 004: ID 04d9: 4545 Holtek semicondu, Inc.
Bus 003 Device 005: ID 050d: 0304 Belkin Components FSU304 USB 2.0-4 Ports Hub
Bus 003 Device 006: ID 046d: c52b Logitech, Inc. uniying Receiver
Bus 003 Device 008: ID 0781: 5567 SanDisk Corp. Cruzer Blade


Google found WN725N_V2

Http://wikidevi.com/wiki/TP-LINK_TL-WN725N_v2

Check whether the chipset is

Probable Linux driver8188eu

3: Now that you have obtained the chipset number, first go to the debian official website to see the wooden driver package and find the realtek Firmware driver.

Http://packages.debian.org/wheezy/firmware-realtek

However, the supported list does not contain 8188eu, but only 8188ce and 8188cu.

You can only go to the realtek official website.

Http://www.realtek.com/downloads/downloadsView.aspx? Langid = 1 & PNid = 21 & PFid = 48 & Level = 5 & Conn = 4 & DownTypeID = 3 & GetDown = false

After a tour, I still did not find 8188eu. Instead, I went to github and found this

Https://github.com/lwfinger/rtl8188eu

The next step is much easier.

Remember to install the compiling environment and git


# Apt-get install gcc linux-headers-'uname-R' make automake git


If you don't want git, download the zip file directly.

# Unzip rtl8188eu-master.zip

# Cd rtl818...

# Make & make install

Next

# Depmod-

# Modprobe 8188eu

(When the primary node started to modprobe rtlwifi, it still could not be identified. I thought about it for a long time ...)

Next, check whether there is a wireless network card.

# Ifconfig-


Wlan0 Link encap: Ethernet HWaddr 0c: 88: 77: 22: fa: 39
Up broadcast multicast 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 fig: 1000
RX bytes: 0 (0.0 B) TX bytes: 0 (0.0 B)

At this time, the system has installed wireless drivers. Network management software or/etc/network/interfaces can be configured.

Note:

However, the signal of the latest github driver is very poor. after the restart, the signal is 20%, and the distance from half a meter is only 2 grids. 5 meters is almost gone. And it degrades. after 10 seconds, the signal is only 2%. It will be 0% in 15 seconds, and it cannot be used at all.

A group owner uploads an 8188eu. deb package. After the test, the signal is found to be very stable, which is stronger than that in windows. we recommend this

Address in csdn: (do not point)

Http://download.csdn.net/detail/rainysia/6754869

Before installation, you need to uninstall the previously installed github driver,

First go to/lib/firmware/rtlwifi/delete rtl8188eufw. bin

Then delete lib8188eu from/lib/modules/'uname-r'/kernel/net/wireless. ko ('uname-R' is your kernel version, for example, 3.2.0.4-amd64)

Delete the Mount entry and check the name lsmod | more to find 8188eu.

Then rmmod 8188eu

In this way, the previous driver is detached.

Then install the 8188eu driver of the new deb package.

Dpkg-I rtl8188eu-dkms_0 + git20130406_all.deb

If dkms is missing, install one

Apt-get install dkms


Dpkg-I rtl8188eu-dkms_0 + git20130406_all.deb
Selecting previolet unselected package rtl8188eu-dkms.
(Reading database... 172290 files and directories currently installed .)
Unpacking rtl8188eu-dkms (from rtl8188eu-dkms_0 + git20130406_all.deb )...
Dpkg: dependency problems prevent configurations of rtl8188eu-dkms:
Rtl8188eu-dkms depends on dkms (> = 2.1.0.0); however:
Package dkms is not installed.

Dpkg: error processing rtl8188eu-dkms (-- install ):
Dependency problems-leaving unconfigured
Errors were encountered while processing:
Rtl8188eu-dkms
Root @ debian:/home/softs # apt-get install dkms
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
Dkms
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 77.4 kB of archives.
After this operation, 196 kB of additional disk space will be used.
Get: 1 http://mirrors.163.com/debian/ wheezy/main dkms all 2.2.0.3-1.2 [77.4 kB]
Fetched 77.4 kB in 0 s (81.7 kB/s)
Selecting previusly unselected package dkms.
(Reading database... 172545 files and directories currently installed .)
Unpacking dkms (from.../dkms_2.2.0.3-1.2_all.deb )...
Processing triggers for man-db...
Setting up dkms (2.2.0.3-1.2 )...
Setting up rtl8188eu-dkms (0 + git20130406 )...
Loading new rtl8188eu-0 + git20130406 DKMS files...
First Installation: checking all kernels...
Building only for 3.2.0-4-amd64
Building initial module for 3.2.0-4-amd64
Done.

8188eu:
Running module version sanity check.
-Original module
-No original module exists within this kernel
-Installation
-Installing to/lib/modules/3.2.0-4-amd64/updates/dkms/

Depmod ....

DKMS: install completed.

Then go to/lib/modules/'uname-r'/updates/dkms and find an 8188eu. ko

Check whether wlan0 is available. ifconfig finds that it is not mounted yet.

Run depmod-.

Then insmod 8188eu. ko

Then ifconfig-a finds that wlan0 exists.

Switch network management and find that the signal is full! Since then, the 8188eu driver has been installed.

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.