[Go] Linux (Debian) install USB wireless card (Tp-link tl-wn725n Rtl8188eu)

Source: Internet
Author: User

1: The desktop home does not want to go any further line. So went to some east bought a USB wireless card. TP's wn725n USB, very small, is almost as large as Logitech's optimal receiver.

2: The driver can identify itself is not expected, since it is USB card, after inserting USB, then LSUSB

See the newly added line Realtek ID 0bda:8179

[HTML]View Plaincopy
  1. [Email protected]:/# Lsusb
  2. Bus 001 Device 001:id 1d6b:0002 Linux Foundation 2.0 root Hub
  3. Bus 002 Device 001:id 1d6b:0003 Linux Foundation 3.0 root Hub
  4. Bus 003 Device 001:id 1d6b:0002 Linux Foundation 2.0 root Hub
  5. Bus 004 Device 001:id 1d6b:0002 Linux Foundation 2.0 root Hub
  6. Bus 003 Device 002:id 8087:0024 Intel Corp Integrated rate Matching Hub
  7. Bus 004 Device 002:id 8087:0024 Intel Corp Integrated rate Matching Hub
  8. Bus 003 Device 007:id 0bda:8179 Realtek Semiconductor Corp.
  9. Bus 003 Device 004:id 04d9:4545 Holtek Semiconductor, Inc.
  10. Bus 003 Device 005:id 050d:0304 Belkin components FSU304 USB 2.0-4 Ports Hub
  11. Bus 003 Device 006:id 046d:c52b Logitech, Inc. Unifying Receiver
  12. Bus 003 Device 008:id 0781:5567 SanDisk Corp. Cruzer Blade


Google down, found to be WN725N_V2

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

Look at the chipset is

Probable Linux driver 8188eu

3: Now that the chipset number has been obtained, first go to the Debian official website to see a wood-driven package, found the Realtek firmware driver

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

But the list of supported is not 8188EU, only 8188ce, 8188CU

It's only going 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. Helpless go to GitHub to stroll, found this

Https://github.com/lwfinger/rtl8188eu

The next step is much better.

Remember to install the build environment and git.

[Python]View Plaincopy
    1. #apt-get Install gcc linux-headers-' uname-r ' Make automake git


If you do not want git, then 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't identify, think for a while ... )

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

#ifconfig-A

[Python]View Plaincopy
  1. Wlan0 Link encap:ethernet HWaddr 0c: more:22:fa :
  2. Up broadcast multicast MTU:Metric:1
  3. RX packets:0 Errors:0 dropped:0 overruns:0 Frame:0
  4. TX packets:0 Errors:0 dropped:0 overruns:0 Carrier:0
  5. Collisions:0 Txqueuelen:
  6. RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

This time the system has installed the wireless driver. With the network management software or/etc/network/interfaces inside can be configured.

Note:

But this github update driver, the signal is very poor, after restarting the signal 20%, half a meter distance of only 2 cells. 5 meters is almost gone. And it will decay, after 10 seconds the signal is only 2%. 15 seconds, 0%, no use.

Here a group of the host has uploaded a 8188eu.deb package. After the test found that the signal is very stable, more powerful than under Windows, recommend this

Address in CSDN here: (Do not point)

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

Before installing, you need to uninstall the driver from the GitHub

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

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

Then go to delete the mount, first look at the name Lsmod | More found 8188eu

Then Rmmod 8188eu

This will unload the previous driver.

Then install the 8188eu driver for the new Deb package

Dpkg-i Rtl8188eu-dkms_0+git20130406_all.deb

If the hint is missing dkms, then Ann is a

Apt-get Install dkms

[Python]View Plaincopy
  1. Dpkg-i Rtl8188eu-dkms_0+git20130406_all.deb
  2. Selecting previously unselected package rtl8188eu-dkms.
  3. (Reading database ...  172290 files and directories currently installed.)
  4. Unpacking rtl8188eu-dkms (fromrtl8188eu-dkms_0+git20130406_all.deb) ...
  5. Dpkg:dependency problems prevent configuration of rtl8188eu-dkms:
  6. RTL8188EU-DKMS depends on dkms (>= 2.1.  0.0); However:
  7. Package dkms are not installed.
  8. Dpkg:error processing rtl8188eu-dkms (--install):
  9. Dependency Problems-leaving unconfigured
  10. Errors were encountered while processing:
  11. rtl8188eu-dkms
  12. [Email protected]:/home/softs# apt-get Install dkms
  13. Reading Package Lists ... Done
  14. Building Dependency Tree
  15. Reading state information ... Done
  16. The following NEW packages'll be installed:
  17. dkms
  18. 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
  19. 1 not fully installed or removed.
  20. Need to get 77.4 KB of archives.
  21. After this operation, 196 KB of additional disk space would be used.
  22. Get:1 http://mirrors. 163.com/debian/wheezy/main dkms All 2.2. 0.3-1.2 [77.4 KB]
  23. Fetched 77.4 kB in 0s (81.7 kb/s)
  24. Selecting previously unselected package dkms.
  25. (Reading database ...  172545 files and directories currently installed.)
  26. Unpacking dkms (from.../dkms_2. 2.0.3-1.2_all.deb) ...
  27. Processing triggers for man-db ...
  28. Setting up dkms (2.2. 0.3-1.2) ...
  29. Setting up rtl8188eu-dkms (0+git20130406) ...
  30. Loading new rtl8188eu-0+git20130406 DKMS files ...
  31. First Installation:checking all kernels ...
  32. Building only for 3.2. 0-4-amd64
  33. Building Initial module for 3.2. 0-4-amd64
  34. Done.
  35. 8188eu:
  36. Running Module version sanity check.
  37. -Original Module
  38. -No original module exists within this kernel
  39. -Installation
  40. -Installing to/lib/modules/3.2. 0-4-amd64/updates/dkms/
  41. Depmod ....
  42. Dkms:install completed.

Then went to/lib/modules/' Uname-r '/updates/dkms, found a more 8188eu.ko

First look at Wlan0 there is no, ifconfig found no should have not hung up

Executive Depmod-a

Then Insmod 8188eu.ko.

And then Ifconfig-a found Wlan0.

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

(Original address: http://blog.csdn.net/rainysia/article/details/17484537)

Related Article

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.