GrimtheReaper
Posts: 7
Joined: Wed May 30, 2018 9:52 am

Installing drivers for tp link wn722n

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

fruitoftheloom
Posts: 23337
Joined: Tue Mar 25, 2014 12:40 pm
Location: Delightful Dorset

Re: Installing drivers for tp link wn722n

Wed Jul 25, 2018 6:58 am

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
Rather than negativity think outside the box !
RPi 4B 4GB (SSD Boot)..
Asus ChromeBox 3 Celeron is my other computer...

MrEngman
Posts: 4032
Joined: Fri Feb 03, 2012 2:17 pm
Location: Southampton, UK

Re: Installing drivers for tp link wn722n

Wed Jul 25, 2018 9:43 am

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
Simplicity is a prerequisite for reliability. Edsger W. Dijkstra

Please post ALL technical questions on the forum. Please Do Not send private messages.

MrEngman
Posts: 4032
Joined: Fri Feb 03, 2012 2:17 pm
Location: Southampton, UK

Re: Installing drivers for tp link wn722n

Wed Jul 25, 2018 10:59 am

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.
Simplicity is a prerequisite for reliability. Edsger W. Dijkstra

Please post ALL technical questions on the forum. Please Do Not send private messages.

GrimtheReaper
Posts: 7
Joined: Wed May 30, 2018 9:52 am

Re: Installing drivers for tp link wn722n

Wed Jul 25, 2018 9:01 pm

Great I have v2 will follow the instructions and revert back

GrimtheReaper
Posts: 7
Joined: Wed May 30, 2018 9:52 am

Re: Installing drivers for tp link wn722n

Mon Jul 30, 2018 2:26 pm

Thank you all, it worked and was very simple to do :D The instructions were easy to follow. Thumbs up

Return to “Beginners”