Add TP-Link TL-WN722N wifi usb adaptor

No luck with kmod-rtl8xxxu neither.

I plugged this usb wifi adaptor into a live linux mint 19.1 and it works without any installation

uname -a

Linux LAB-Mint 4.15.0-39-generic #42-Ubuntu SMP Tue Oct 23 15:48:01 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

dmesg

[mer nov 28 12:07:00 2018] usb 1-5: new high-speed USB device number 4 using ehci-pci
[mer nov 28 12:07:01 2018] usb 1-5: New USB device found, idVendor=2357, idProduct=010c
[mer nov 28 12:07:01 2018] usb 1-5: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[mer nov 28 12:07:01 2018] usb 1-5: Product: 802.11n NIC
[mer nov 28 12:07:01 2018] usb 1-5: Manufacturer: Realtek
[mer nov 28 12:07:01 2018] usb 1-5: SerialNumber: 00E04C0001
[mer nov 28 12:07:01 2018] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[mer nov 28 12:07:01 2018] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[mer nov 28 12:07:01 2018] r8188eu: module is from the staging directory, the quality is unknown, you have been warned.
[mer nov 28 12:07:01 2018] Chip Version Info: CHIP_8188E_Normal_Chip_TSMC_D_CUT_1T1R_RomVer(0)
[mer nov 28 12:07:01 2018] usbcore: registered new interface driver r8188eu
[mer nov 28 12:07:01 2018] r8188eu 1-5:1.0 wlxd46e0e09e990: renamed from wlan0
[mer nov 28 12:07:01 2018] IPv6: ADDRCONF(NETDEV_UP): wlxd46e0e09e990: link is not ready
[mer nov 28 12:07:02 2018] MAC Address = d4:6e:0e:09:e9:90
[mer nov 28 12:07:02 2018] IPv6: ADDRCONF(NETDEV_UP): wlxd46e0e09e990: link is not ready
[mer nov 28 12:07:02 2018] IPv6: ADDRCONF(NETDEV_UP): wlxd46e0e09e990: link is not ready

So according to this it should use r8188eu.

But apparently

and as @s_2 pointed out

it is still not working in openwrt 18.

So I guess I have to wait, since I don't think I'm able to fix this.... if there is not a way to port it

I made a patch available on branch rtl888eu of https://github.com/Menion2k/openwrt.git in order to add r8188eu driver to Openwrt.
This will NOT go upstream since it is an hack adding the module to the mac80211 package (in order to grab latest backport) and most important the driver is WEXT so ZERO support by current upstream uci/luci
Apparently there are people developing the nl80211 version of this driver, here https://github.com/lwfinger/rtl8188eu
I built this driver but it end up in Kernel warning, at least in a x86_64 Openwrt running in Virtualbox.
Unfortunately I have little time to check if the issue is with the driver itself or with the virtualbox emulation of USB, and I have only arm based SBC to check, so any results need to be checked against other platforms.
I have tried to ask support to the developer, but, well, he is not so available, and got zero answers (like 99% of the issue in github).
Sooner or later this driver will land in mainline, so we can test it without having to compile it out of tree.
Anyhow if you have the capabilities to compile it and test it, it would be appreciated :slight_smile:

1 Like

I'm afraid I don't have the capabilities. But I'm full of will =) Just need to be pointed to the right direction! (Any manual to read? Some tutorial/documentation?)

https://openwrt.org/docs/guide-developer/start

1 Like

Did anyone ever end up getting this working? I'm trying to get mine (a v3 but same chipset) to work with my rpi zero w as an access point.

I'm sorry I gave up. I lack too much knowledge. But I still have this adapter if anyone needs tests I can do

Are you able to update your git repo to 19.07 openwrt? I tried everything but unfortunately there is no working rtl8188eu driver for 19.07.

No, the way is to add https://github.com/lwfinger/rtl8188eu in openwrt but requires a rework of the makefile that I cannot do for the moment, sorry

Any news regarding this? I just got my TL-WN722N thinking it was V1.

V1 works fine with kmod-ath9k-htc driver but v2 and v3 still need realtek driver for openwrt that probably never be released.

Yeah. I didn't know there were multiple versions of it. So I guess this adapter goes into my storage room then.

Hello,

</># lsusb
Bus 001 Device 003: ID 2357:010c TP-Link TL-WN722N v2
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub</>

Also dmesg shows these : 
[    0.037838] usbcore: registered new interface driver usbfs
[    0.037919] usbcore: registered new interface driver hub
[    0.037985] usbcore: registered new device driver usb
[    1.235538] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.256443] orion-ehci f1050000.ehci: new USB bus registered, assigned bus number 1
[    1.291317] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00
[    1.298080] hub 1-0:1.0: USB hub found
[    1.306636] usbcore: registered new interface driver usb-storage
[    1.738035] usb 1-1: new high-speed USB device number 2 using orion-ehci
[   11.442231] usbcore: registered new interface driver rtl8xxxu
[ 1886.012539] usb 1-1: USB disconnect, device number 2
[ 5136.358698] usb 1-1: new high-speed USB device number 3 using orion-ehci

But I cannot get the radio through "wifi config" command as you said above.
Kindly help.

Kenny.

Any more info on this? i just bought this adapter, also not knowing there were different versions. Would rather not have to return this after it showed up already 2 weeks late after already requesting a second since the 1st was lost in transit.

Simply put, not going to happen.

1 Like

Next time before you buy a device, double-check. If it says Realtek chipset and you need to pair it with OpenWrt, do not buy.

Yeah that was a misread on my part it seems. Thanks regardless.

Version 1 works fine with drivers kmod-rt2800-usb and kmod-ath9k-htc Both must be installed together

not sure what you saying, v1 and v 1.1 are atheros, so you need ath9k-htc

you need ( kmod-ath9k-htc ) and ( kmod-rt2800-usb )

1 Like