This will be my last post on how to get wifi working on a raspberry pi because I’m going to buy the pi 3 from now on with inbuilt wifi. With a cheap as wifi dongle and changes in the OS from Wheezy to Jessie, getting wifi to work is a nightmare.
I keep getting errors such as “8188EU: ERROR indicate disasso”.
Here is what needs to be done.
Run uname -a to get you version. Something like “Linux raspberrypi 4.1.7-v7+ #817 SMP PREEMPT Sat Sep 19 15:32:00 BST 2015 armv7l GNU/Linux”
Go to this page: https://www.raspberrypi.org/forums/viewtopic.php?f=28&t=62371 and wget the right driver for your exact version. eg for me it is
> wget http://www.fars-robotics.net/8188eu-4.1.7-v7-817.tar.gz
> tar xzf 8188eu-4.4.8-v7-881.tar.gz > ./install.sh
The key for me was putting the wifi details directly into the /etc/network/interfaces file instead of using the recommended wpa_supplicant.conf. It’s probably because I’ve another configuration that I don’t know about overriding this file.
My /etc/network/interfaces was:
auto lo iface lo inet loopback iface eth0 inet manual auto wlan0 iface wlan0 inet dhcp wpa-ssid "your_ssid_here" wpa-psk "your_pwd_here"
Everything else I commented out with #.
sudo reboot and it should work. It did for me finally.