How to install TP-Link Nano WLAN USB adapter on Raspberry Pi 2B

Raspberry Pi 2B doesn’t have a inbuilt WLAN interface so I’m using TP-Link Nano WLAN usb adapter to connect to internet. Raspberry Pi OS (Raspbian) does not have a default driver for TP-Link nano, so every time I reset my Pi, it’s a little hassle to setup the Wi-Fi.

I’m a Linux dummy so every time I had to google search the forum threads to do this. Therefore in this post, I’ve listed all the steps needed to setup the driver, how to enable SSH and connect remotely for my own reference. Hope it will help you somehow 😎

Finding the Correct TP-Link Driver Version for your Pi

Open a terminal and type

uname - a

This will print the Linux version

Version installed in my Pi is 5.10.17-v7 #1403

Get the Driver Version

Once you found the Linux version, download the correct driver to the PC (I’m using Windows) from Fars Robotics Wi-Fi Drivers.

Driver name is defined with the Linux version so it’s important to get the correct driver for the Linux build

driver name: 8188eu-[LINUX VERSION].tar.gz

Download the driver and transfer to Pi using usb stick

Install the Driver

I’ve copied the file to the home directory. Open terminal and type following commands to extract and install. Once the driver is installed, reboot Pi.

tar xzf  8188eu-[LINUX VERSION].tar.gz
./install.sh
sudo reboot

Once the Pi is rebooted, you should see the available Wi-Fi networks in top right corner.

Enable SSH

Open terminal and type

sudo raspi-config

Go to Interface Options –> P2 SSH, Enable SSH

then type ifconfig in terminal to find the IP of your Pi.

Go to windows, open Putty (Download Link) and open a session

username: pi

password: password given when you setup Pi

Now you are connected to the Pi!


Posted

in

, ,

by

Comments

4 responses to “How to install TP-Link Nano WLAN USB adapter on Raspberry Pi 2B”

  1. kylelongstaff Avatar

    Wow I can not thank you enough! Every other tutorial I was following made me go download some random person’s github firmware and it never worked. This tutorial was for the exact same model of wifi adapter I have, what a lifesaver. Done in 5 minutes. Thanks.

  2. MAF Avatar
    MAF

    Thanks for sharing this documentation. I’ve:
    Linux raspberrypi 5.10.63-v7+ #1496 SMP Wed Dec 1 15:58:11 GMT 2021 armv7l GNU/Linux
    but latest version on the mentioned website is:
    8188eu-5.10.63-v7l-1460.tar.gz 2021-10-13 20:21 540K

    Is there any other website where I can find the correct driver of my version?

    1.  Avatar

      I have the exact issue MAF has, I’ve been trying to install a version of raspbian that has matching 8188eu drivers available from this site with no luck.

    2. Damith Jinasena Avatar

      may be you can compile and install the driver?
      Found this blog on how to compile and install driver from source. May be it will helpful for you 🙂

      https://blog.samat.org/2014/12/15/realtek-8188eu-based-wi-fi-adapters-on-the-raspberry-pi/

Leave a Reply to MAF Cancel reply

Your email address will not be published. Required fields are marked *