Today I successfully installed my TP-Link WN725N USB WiFi dongle.
Warning: If the system is updated, the driver must be re-installed for the WIFI Dongle to work
Installing the Driver as a binary
Update the system with rpi-update
first, so when I then run uname -r
Something like this is displayed.
Linux hostname .... 4.1.6-v7+
... PREEMPT Debian ...
Search for 4.1.6-v7+
on https://www.raspberrypi.org/forums/viewtopic.php?p=462982 so the following binary should be used:
8188eu-v7-20150818.tar.gz
Adjust the script like so:
export VERSION=$(uname -r)
export FILE=8188eu-v7-20150818.tar.gz
wget https://dl.dropboxusercontent.com/u/80256631/$FILE
tar -zxvf $FILE
install -p -m 644 8188eu.ko /lib/modules/$VERSION/kernel/drivers/net/wireless
insmod /lib/modules/$VERSION/kernel/drivers/net/wireless/8188eu.ko
depmod -a
Alternatively building the driver from source
I tried to download and install the driver, but this failed for some reasons I don't know. So I built it from source using this tutorial:
apt-get update
apt-get install linux-headers-$(uname -r)
apt-get update
apt-get install build-essential
apt-get install git
git clone https://github.com/lwfinger/rtl8188eu
cd rtl8188eu
make all
make install
insmod 8188eu.ko
Now the device shows up when I execute lsusb
:
lsusb -t
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=dwc_otg/1p, 480M
|__ Port 1: Dev 2, If 0, Class=hub, Driver=hub/5p, 480M
|__ Port 1: Dev 3, If 0, Class=vend., Driver=smsc95xx, 480M
|__ Port 2: Dev 4, If 0, Class=vend., Driver=r8188eu, 480M
|__ Port 4: Dev 5, If 0, Class='bInterfaceClass 0xe0 not yet handled', Driver=btusb, 12M
|__ Port 4: Dev 5, If 1, Class='bInterfaceClass 0xe0 not yet handled', Driver=btusb, 12M
Configuring the Interface
Setup
apt-get install wpasupplicant
Setup /etc/network/interfaces
# ...
auto wlan0
allow-hotplug wlan0
iface wlan0 inet dhcp
wpa-conf /etc/wpa_supplicant.conf
Setup /etc/wpa_supplicant.conf
network={
ssid="MySSID"
scan_ssid=0
proto=WPA
key_mgmt=WPA-PSK
psk="MyPassword"
pairwise=TKIP
group=TKIP
}
Now I can fire up the interface like so:
ifdown wlan0
ifup wlan0
Update:
I added auto
and allow-hotplug
settings in the interface
configuration, so that the device would connect to the Wifi automatically.