Home > Friki Stuff, How-To Guides, RaspberryPi > Raspberry Pi WiFi WLan USB Dongle TP-Link

Raspberry Pi WiFi WLan USB Dongle TP-Link

Login in SSH and type

lsusb

U sould get something like

pi@raspberrypi ~ $ lsusb
Bus 001 Device 002: ID 0424:9512 Standard Microsystems Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 007: ID 0bda:8176 Realtek Semiconductor Corp. RTL8188CUS 802.11n WLAN Adapter
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp.
Bus 001 Device 004: ID 0781:5530 SanDisk Corp. Cruzer
Bus 001 Device 005: ID 05e3:0608 Genesys Logic, Inc. USB-2.0 4-Port HUB
Bus 001 Device 006: ID 05e3:0608 Genesys Logic, Inc. USB-2.0 4-Port HUB

Where the Realtek entry is the TP-Link USB WiFi Dongle

Then edit the following file as below

sudo pico /etc/network/interfaces

The default file should be like

auto lo

iface lo inet loopback
iface eth0 inet dhcp

allow-hotplug wlan0
iface wlan0 inet manual
wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf
iface default inet dhcp

Change it as below

auto lo

iface lo inet loopback
#iface eth0 inet dhcp

allow-hotplug wlan0
auto wlan0
iface wlan0 inet dhcp
wpa-ssid "your-ssid"
wpa-psk "your-password"
#wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf
iface default inet dhcp

Change your-ssid and your-password, but please keep the quotation marks around them

Comment out the wpa_supplicant.conf is commented out

Then reboot byt typing sudo reboot and remove the LAN cable

The Raspberry Pi will reboot and should connect to your WiFi Network

Enjoy!

Similar Posts:

  1. magoo
    July 27th, 2013 at 09:47 | #1

    What about when after

    lsusb

    the answer fo realtek is only

    Bus 001 Device 004: ID 0bda:8179 Realtek Semiconductor Corp

    Adapter is Nano USB TL-WN752N, raspbian-wheezy 25-05-2013

  1. No trackbacks yet.