This is a short summary of the German article I have posted yesterday. Have a look at it, if you want to see photos how to distinguish Version 1.0 from Version 2.0 of this TP-Link TL-WN725 N Nano WiFi USB dongle.
We have released a package in our repository to install this driver in the most easy fashion possible. Head on over to our new blog-post to read all about it!
What is this about?
TP-Link changed the chip driving it’s TL-WN725N Nano WiFi stick. Whereas v1.0 would work out of the box with the newest Raspbian (02-09-13) v2.0 does not work unless you install a custom driver.
Driver installation procedure (legacy)
If possible, you should use the instructions to install the driver from our repository – it is more convenient for you. The remainder of this article is here for historical purposes.
MrEngman from the Raspberry Pi Forum has compiled a driver for v2.0 (which uses the 8188eu chip), including modifications for making the blue LED work and less debug output (thus making it faster).
Here are his installation instructions, quoted from this forum post on the Raspberry Pi Forum:
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
Once you have installed the driver you should activate it:
sudo depmod -a sudo modprobe 8188eu
The first command will update the kernel module settings – on the next reboot, the new driver should be included automatically. The second command allows you to load the driver immediately. Now you can try ifconfig to see wlan0 – it should be available now.
Raspbian Image with driver
We have bundled the driver with a fresh Raspbian image, based on Raspbian 2013-02-09.
Additionally we have updated the apt cache, and installed all currently available updates to the default packages. This should save you some bandwidth and – more importantly – time.
This image will be 4 GB in size when you decompress it (use 7-zip), and should be installed by the usual method of image writing to SD cards. Please note that we have not expanded the image to fit the whole (4 GB) SD card, you still need to run sudo raspi-config to finish the set-up.
The original tar.gz file from MrEngman is in the folder /home/pi/wlan-fix – just in case you should ever need it, it is already installed and activated for you in this image.
Download raspbian-wifi-fix130523.7z (532 MB)
I have updated the image today (31.05.2013). It has all updates as of the 23rd of may of a stock Raspbian install. Also I have resized the image to the real size the partitions need initially.
Please note, if you run updates the driver may become disabled. Simply use
sudo depmod -a
sudo modprobe 8188eu
to fix this after the updates.
Simple WiFi network setup
In the simple case of the Raspberry Pi being used with WLAN only, a DHCP access point / router, and no roaming is required, you should be fine with the followíng /etc/network/interfaces file
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. As you see in the setup above, the wpa_supplicant.conf is commented out.