TL-WN725N wifi dongle on Raspberry Pi

18 Sep 2013

Prerequisites

Network setup

$ sudo nano /etc/network/interfaces

Set:

auto lo

iface lo inet loopback
iface eth0 inet dhcp

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

WPA setup

$ sudo nano /etc/wpa_supplicant/wpa_supplicant.conf

Set:

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

network={
 ssid="chezak_ng"
 proto=RSN
 key_mgmt=WPA-PSK
 pairwise=CCMP TKIP
 group=CCMP TKIP
 psk="<PASSWORD>"
}

Fix TL-WN725N v2.0 issue

$ wget https://dl.dropboxusercontent.com/u/80256631/8188eu-20130209.tar.gz
$ tar -zxvf 8188eu-20130209.tar.gz
$ sudo install -p -m 644 8188eu.ko /lib/modules/3.6.11+/kernel/drivers/net/wireless
$ sudo depmod -a
$ sudo modprobe 8188eu
$ ifconfig -a
$ sudo reboot

If wifi becomes unavailable after an update, run:

$ sudo depmod -a
$ sudo modprobe 8188eu

External References