Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Installing a TP-Link TL-WN722N V2 on Ubuntu 16.04 with Kernel 4.4
# Source: https://askubuntu.com/questions/912498/tl-wn722n-is-not-recognized
sudo apt-get install git dkms git make build-essential
cd /usr/src
sudo git clone https://github.com/lwfinger/rtl8188eu.git
sudo dkms add ./rtl8188eu
sudo dkms build 8188eu/1.0
sudo dkms install 8188eu/1.0
sudo modprobe 8188eu
@weiminshen99

This comment has been minimized.

Copy link

weiminshen99 commented Jan 16, 2018

Hi, thanks for your instruction and I have a question about how to match the kernel version.
I am running 16.04, with an older kernel (my $(uname -r) returns "3.10.107-190").
So when I run step #8, it complains that I don't have linux-headers-3.10.107-190.
Could you please tell me how do I solve this problem?

@anagjordano

This comment has been minimized.

Copy link

anagjordano commented Jan 28, 2018

Hi, thanks for your help. But when I try last step, sudo modprobe 8188eu, i get the following message: 'modprobe: ERROR: could not insert '8188eu': Device or resource busy'. How to solve it? Thank you

@h4cc

This comment has been minimized.

Copy link
Owner Author

h4cc commented Jan 29, 2018

This is just a copy-paste gist for the code that can be found at askubuntu.com, check the link.

@weiminshen99

it complains that I don't have linux-headers-3.10.107-190

Just try sudo apt-get install linux-headers-3.10.107-190 or linux-headers-generic.
Searching can be done this way: apt-cache search linux-headers

@anagjordano
Check out this answer: https://unix.stackexchange.com/a/246881

@lexg

This comment has been minimized.

Copy link

lexg commented Feb 9, 2018

Copy/paste - worked perfectly! Thanks!

@yanquiuxo

This comment has been minimized.

Copy link

yanquiuxo commented Feb 16, 2018

Works great Thanx!!!

@mokorov

This comment has been minimized.

Copy link

mokorov commented Feb 23, 2018

Yes, it worked! Even in several computers, no problems at all. You just need to plug it out and stick it in again when you get this error: 'modprobe: ERROR: could not insert '8188eu', repeating the command 'sudo modprobe 8188eu'. Perfect. Thank you so much

@Flodip

This comment has been minimized.

Copy link

Flodip commented Feb 26, 2018

If you get 'modprobe: ERROR: could not insert '8188eu', you can get the current driver module name by typing sudo lshw -C network (source: https://askubuntu.com/a/333430) then removing it with sudo modprobe -r currentDriverName (source: https://unix.stackexchange.com/a/246881) and finally sudo modprobe 8188eu

@nky70

This comment has been minimized.

Copy link

nky70 commented Aug 15, 2018

@Flodip
So many thanks, your info helped me a lot.

@MadalinNitu

This comment has been minimized.

Copy link

MadalinNitu commented Aug 18, 2018

I have a problem with monitor mode.
sudo airmon-ng
PHY Interface Driver Chipset

phy0 wlo1 iwlwifi Intel Corporation Device a370 (rev 10)
null wlx503eaa5a11b0 r8188eu
---> this is what is print and i can't use monitor mode.
also ....
dmesg | grep wlx503eaa5a11b0
[ 21.009985] r8188eu 1-3:1.0 wlx503eaa5a11b0: renamed from wlan0
[ 37.644223] IPv6: ADDRCONF(NETDEV_UP): wlx503eaa5a11b0: link is not ready
[ 38.078055] IPv6: ADDRCONF(NETDEV_UP): wlx503eaa5a11b0: link is not ready
[ 38.306442] IPv6: ADDRCONF(NETDEV_UP): wlx503eaa5a11b0: link is not ready
[ 41.103295] IPv6: ADDRCONF(NETDEV_CHANGE): wlx503eaa5a11b0: link becomes ready

wlx503eaa5a11b0 is network interface for my TL-WN722N. Any help please?

@mehrdad1373pedramfar

This comment has been minimized.

Copy link

mehrdad1373pedramfar commented Sep 29, 2018

Thank you!

@shamim-42

This comment has been minimized.

Copy link

shamim-42 commented Oct 30, 2018

Thanks a lot man!!!!!!!!!!!!!!
It works on me.
After completing all of commands I just restarted my PC.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.