Skip to content

Instantly share code, notes, and snippets.

@h4cc
Created July 3, 2017 08:53
Show Gist options
  • Star 12 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save h4cc/51750fa6843bf2c7e1ee21a003b923cf to your computer and use it in GitHub Desktop.
Save h4cc/51750fa6843bf2c7e1ee21a003b923cf to your computer and use it in GitHub Desktop.
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
@h4cc
Copy link
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
Copy link

lexg commented Feb 9, 2018

Copy/paste - worked perfectly! Thanks!

@yanquiuxo
Copy link

Works great Thanx!!!

@mokorov
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
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
Copy link

nky70 commented Aug 15, 2018

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

@MadalinNitu
Copy link

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
Copy link

Thank you!

@shamim-42
Copy link

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