Linux (Debian) install USB wireless network card (Tp-link tl-wn725n Rtl8188eu) __linux

Source: Internet
Author: User

1: The desktop home does not want to walk the line again. So went to a certain east bought a USB wireless network card. TP's wn725n USB, very small, is about the size of Logitech's superior receiver.


2: Drive can identify itself is not expected, since it is a USB card, insert USB, then LSUSB

See the ID 0bda:8179 of a new line Realtek added

root@debian:/# Lsusb Bus
001 Device 001:id 1d6b:0002 Linux Foundation 2.0 root Hub Bus 002 Device 001:id 1d6b:00
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 Hub Bus
004 Device 002:id 8087:0024 Intel Corp. integrated Rate Matching Hub
Bus 003 Device 007:id 0bda:8179 Realtek Semiconductor Corp. 
Bus 003 Device 004:id 04d9:4545 Holtek Semiconductor, Inc. 
Bus 003 Device 005:id 050d:0304 Belkin components FSU304 USB 2.0-4 Ports Hub bus 003 Device 006:id 046d:c52b Logit
Ech, Inc. Unifying Receiver bus
003 Device 008:id 0781:5567 SanDisk Corp cruzer Blade

Google, and found it was wn725n_v2.

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


Look at the chipset is

Probable Linux driver 8188eu

3: Now that you have the chipset number, first go to the Debian official website to see the wood-driven package, found the Realtek firmware driver

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

But there's no 8188eu in the support list, only 8188ce, 8188CU

Then only go to Realtek's official website, in

Http://www.realtek.com/downloads/downloadsView.aspx? Langid=1&pnid=21&pfid=48&level=5&conn=4&downtypeid=3&getdown=false

Stroll around, still did not find 8188eu. But I went to GitHub and found this.

Https://github.com/lwfinger/rtl8188eu


The next step is much better.

Remember to install the compilation environment and Git.

#apt-get Install gcc linux-headers-' uname-r ' Make automake git

If you don't want to git, the direct download zip file is the same

#unzip Rtl8188eu-master.zip

#cd rtl818 ...

#make && make Install

Next

#depmod-A

#modprobe 8188eu

(The main start is modprobe Rtlwifi found or can not recognize, think for a long time ...) )

Next, check to see if you have a wireless card.

#ifconfig-A

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 
          RX txqueuelen:1000 (0.0 B)  TX bytes:0 (0.0 B)

This time the system has been installed wireless drive. Use network management software or/etc/network/interfaces inside all can configure.


Note:

But this github updated drive, the signal is very poor, reboot after the signal 20%, half a meter distance of only 2 cells. 5 meters is almost gone. And will decay, 10 seconds after the signal is only 2%. 15 seconds later, 0%, it's not going to work.

Here a group of owners uploaded a 8188eu.deb package. After the test found the signal is very stable, more than under the windows of the stronger, recommend this

Address in CSDN: (Not integral)

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


Before installing, you need to uninstall this GitHub up and down drive,

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

Then go to/lib/modules/' uname-r '/kernel/net/wireless delete lib8188eu.ko (' uname-r ' This is your kernel version, like mine is 3.2.0.4-AMD64)

Then go to remove the mount, first check the name Lsmod | More Find 8188eu

And then Rmmod 8188eu.

So we unloaded the previous driver.


Then install the new Deb Pack's 8188eu drive

Dpkg-i Rtl8188eu-dkms_0+git20130406_all.deb

If the hint lacks dkms, then an

Apt-get Install dkms

Dpkg-i Rtl8188eu-dkms_0+git20130406_all.deb selecting previously unselected package. (Reading database ...)
172290 files and directories currently installed.) Unpacking rtl8188eu-dkms (from Rtl8188eu-dkms_0+git20130406_all.deb) ... dpkg:dependency problems prevent Configuration 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 WHI Le processing:rtl8188eu-dkms root@debian:/home/softs# apt-get install dkms Reading package ... Done building Dependency The Reading state information ...
Done the following NEW packages is 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 would 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 0s (81.7 kb/s) selecting previously unselected package. (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 ...
Installation:checking all kernels ...

Building only for 3.2.0-4-AMD64 building initial the 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 one more 8188eu.ko

Let's see if Wlan0 is there, Ifconfig found out it's not on the hook yet.

Execute depmod-a

and then Insmod 8188eu.ko

And then Ifconfig-a found Wlan0.

Switch the network management over and find 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.