Jorged wroteWifi not working with the usb wifi module TP-LINK TL-WN725N.
I am using a similar usb wireless, the TL-WN722N, and, at least for me, as long as one *waits* long enough for it to grab an IP address via DHCP, this has worked flawlessly. You probably have already checked what follows, which is all from:
https://wiki.archlinux.org/index.php/Wireless_network_configuration
but just in case you might want to check whether the card is being recognized properly, and that there is a driver for it, via cmd line.
(i) whether the wireless usb was detected - use lsusb -v
you should get back info re the device & wireless driver loaded into the kernel, e.g., mine starts out:
Bus 001 Device 006: ID 0cf3:9271 Atheros Communications, Inc. AR9271 802.11n
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 255 Vendor Specific Class
(ii) dmesg | grep usbcore
[ 9.824326] usbcore: registered new interface driver ath9k_htc
This shows it took over 9 seconds to register the wlan0 interface driver.
(iii) If the wireless device wlan0 is associated w/ the card, and the radio is working then the command:
iw dev
should give back something like this:
phy#0
Interface wlan0
ifindex 3
wdev 0x1
addr e8:94:f6:27:ad:4b
type managed
channel 1 (2412 MHz), width: 20 MHz, center1: 2412 MHz
(iv) if the card is on and can see the current wireless networks:
iw scan
Connected to 24:a2:e1:eb:72:4e (on wlan0)
SSID: homenew
freq: 2412
RX: 2272443988 bytes (18778722 packets)
TX: 50238879 bytes (376598 packets)
signal: -78 dBm
(etc.)
(v) turn off power saving mode:
iw dev wlan0 set power_save off
I found it worthwhile to work my way down the archlinux wireless page, to see at what point the card fails during boot, if it does,
and that wlan0 is actually brought up; e.g., via cmdline you can do:
iw dev wlan0 connect your_essid
and so forth.
Finally, the card needs sufficient power - usually a powered usb hub helps there, which is what I use.