# Download, build, and install Coffelius' variant of the rtl8187
# driver. Originally noted in an Oct 17 post to:
# http://forums.msiwind.net/post50498.html by coffelius
# The code is available from:
# http://code.google.com/p/msi-wind-linux/
# Change this name to get a newer version
name=rtl8187se_linux-04.tar.bz2
dirname=rtl8187se_coffee
# Fetch if needed
if [[ ! -e $name ]]; then
wget http://msi-wind-linux.googlecode.com/files/$name
tar xvjf $name
fi
# Build and load
cd rtl8187se_coffee
./makedrv
sudo ./wlan0down
sudo ./wlan0up
# Install in boot for ubuntu, inserting a line into
# /etc/modules, if it's not already there.
sudo ./install
if grep r8180 /etc/modules > /dev/null;
then sudo echo r8180 >>/etc/modules
fi