I've added an 8188eu driver for berryboot to dropbox. The driver works with installed images but I haven't figured out how to get the image installed in the BerryBoot GUI so it can be used to load new images. I have tried the driver with berryboot-20121229, berryboot-20130311 and a new image I compiled myself and it works with all of them.
NOTE:I've only tried it on berryboot with Raspbian 2012-12.
To install on an
already running berryboot SD card first setup the wifi config files. File
/etc/network/interfaces should look like
Code: Select all
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
and should not need changing. File
/etc/wpa_supplicant/wpa_supplicant.conf if already setup should look something like
Code: Select all
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
network={
ssid="NETWORK_NAME"
psk="NETWORK_PASSWORD"
}
If not already setup you will need to edit it to add the last section
network={..} inserting your own network name and password.
Now download and install the driver file.
Code: Select all
wget https://dl.dropboxusercontent.com/u/80256631/8188eu-berryboot201212.tar.gz
tar -zxvf 8188eu-berryboot201212.tar.gz
sudo install -p -m 644 8188eu.ko /lib/modules/3.6.11-rpi-aufs/kernel/drivers/net/wireless
sudo insmod /lib/modules/3.6.11-rpi-aufs/kernel/drivers/net/wireless/8188eu.ko
sudo depmod -a
With any luck your wifi should now automatically start and give you a working connection.
It is also possible to add the driver to the base berryboot image so it is automatically installed whenever you load a new image although I have found you will still need to manually load the driver and setup
/etc/wpa_supplicant/wpa_supplicant.conf in each new image installed.
There is a file in the berryboot boot directory
shared.tgz This contains all the driver modules and other files that are shared between the different images that get loaded. Adding the driver to this file will automatically load it into any image you install. I initially tried to update this file on my Windows laptop but when I ran the berryboot image on the Pi berryboot complained about the file format. May depend on the program you use in widows to update file
shared.tgz. I now update the file using the Pi.
I usually save all the different RaspberryPi images I have on my Windows laptop as I use it to generate new SD cards, so to update the
shared.tgz file I copy it, and the 8188eu.ko driver, from my laptop to the Pi via ssh, using Putty, with pscp. On the Pi I then create a temporary directory, extract the tgz file into the temp directory, load the driver, delete the old tgz file, and then write a new tgz file with the new driver included then copy it back to the berryboot image on my laptop, again using Putty and pscp, so I can use it when I make a new berryboot SD card. So with the files in my Pi's home directory I generate a new
shared.tgz file using
Code: Select all
mkdir temp
cd temp
tar -xzvf ../shared.tgz
sudo install -p -m 644 ../8188eu.ko lib/modules/3.611-rpi-aufs/kernel/drivers/net/wireless
rm ../shared.tgz
tar -cpzf ../shared.tgz *
cd ..
sudo rm -r temp
and then copy them back to my laptop using putty and pscp.
After generating a new SD card with Berryboot and the updated
shared.tgz file and running it to load a new image the driver is automatically installed in the module directory tree of the image but the wifi still requires setting up. First edit the file
/etc/wpa_supplicant/wpa-supplicant.conf as detailed above and then install the driver.
Code: Select all
sudo install -p -m 644 8188eu.ko /lib/modules/3.6.11-rpi-aufs/kernel/drivers/net/wireless
sudo insmod /lib/modules/3.6.11-rpi-aufs/kernel/drivers/net/wireless/8188eu.ko
sudo depmod -a
You should now find your wifi will automatically start and run, I hope so anyway. It does for me.
Have fun and let me know how you get on. Now, must try and find how to get the wifi working in the BerryBoot GUI. That would be good.
MrEngman
Simplicity is a prerequisite for reliability. Edsger W. Dijkstra
Please post ALL technical questions on the forum. Please Do Not send private messages.