Page 1 of 1

Installing drivers for tp link wn722n

Posted: Wed Jul 25, 2018 6:18 am
by GrimtheReaper
Hi all
I purchased a tp link wn722n and attempted to install drivers following tutorials it seems they are outdated as the linuxwireless.org download site returns as unresponsive. Pls give break down on how to install the drivers. I'm running rasbian stretch on a pi 2 model b
Thanks

Re: Installing drivers for tp link wn722n

Posted: Wed Jul 25, 2018 6:58 am
by fruitoftheloom
GrimtheReaper wrote:
Wed Jul 25, 2018 6:18 am
Hi all
I purchased a tp link wn722n and attempted to install drivers following tutorials it seems they are outdated as the linuxwireless.org download site returns as unresponsive. Pls give break down on how to install the drivers. I'm running rasbian stretch on a pi 2 model b
Thanks

Plug it in and open the terminal, type lsusb ( that is LSUSB in lower case ) and press enter and also uname -a and press enter. This will give details of Raspbian Kernel / Firmware and the WiFi Chipset:

Code: Select all

lsusb

Code: Select all

uname -a

Re: Installing drivers for tp link wn722n

Posted: Wed Jul 25, 2018 9:43 am
by MrEngman
The Tp-Link WN722N wifi I have use the ath9k_htc driver that is included in the Raspbian image so no need to install a driver.

Sometimes manufacturers change the chip used in wifi modules so it is possible yours may be different but using command lsusb will show the USB ID of the wifi which will indicate which driver it needs to use.

The USB ID of my WN722N wifis are 0CF3:9271

Re: Installing drivers for tp link wn722n

Posted: Wed Jul 25, 2018 10:59 am
by MrEngman
Just checked the WN722N wifi on https://wikidevi.com/wiki/TP-LINK_TL-WN722N and it appears there are at least 3 versions.

The original WN722 v1 uses the ath9k_htc driver and WN722N v2 and WN722N v3 use the r8188eu driver. Both of these drivers are included in the Raspbian image so you should not need to install a driver to get your wifi working unless there is an even newer version - v4?

Just tried connecting my WN722n v1 to a Pi 3 running Raspbian Stretch and it connected to my wifi network straight away. I would expect the V2 and V3 versions to connect as well as the driver they use is also included in the Raspbian Stretch image.

To get your wifi working you should just need to configure your wifi connection correctly. My set up is as follows:

File /etc/network/interfaces should not be changed from the default.

File /etc/wpa_supplicant/wpa_supplicant.conf should be set up like:

Code: Select all

ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
country=GB

network={
        ssid="network-name"
        psk="network-password"
        key_mgmt=WPA-PSK
}
Set country=GB to use the country code for the country you are in. Set network-name and network-password to the values your network uses. This set up is for a network using WPA/WPA2 security.

Re: Installing drivers for tp link wn722n

Posted: Wed Jul 25, 2018 9:01 pm
by GrimtheReaper
Great I have v2 will follow the instructions and revert back

Re: Installing drivers for tp link wn722n

Posted: Mon Jul 30, 2018 2:26 pm
by GrimtheReaper
Thank you all, it worked and was very simple to do :D The instructions were easy to follow. Thumbs up