So because of this problem, I decided to use Aircrack driver again. But
it is not so easy as I thought, there are compilation problems with
2.6.27-7 kernel (and maybe all 2.6.27 based kernels)

You have to do following
(most of the steps are based on my previous post  
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/182473/comments/65 )

This is the same as in my previous post:

wget http://dl.aircrack-ng.org/drivers/rtl8187_linux_26.1010.zip
unzip rtl8187_linux_26.1010.zip
cd rtl8187_linux_26.1010.0622.2006/

First change - get new patch:

wget http://patches.aircrack-ng.org/rtl8187_2.6.27.patch


tar xzf drv.tar.gz
tar xzf stack.tar.gz

Second change - apply the new patch:

patch -Np1 -i rtl8187_2.6.27.patch

But still the patch is not correct, it complains by compilation - 
"asm/semaphore.h: No such file or directory"
So you have to edit the r8187.h

nano ./beta-8187/r8187.h

and find the line 
#include <asm/semaphore.h>

and change it to

#include <linux/semaphore.h>

Save the file, and then continue the same way as in my previous post:

Then I put rtl8187 to the blacklist - as root
Edit /etc/modprobe.d/blacklist and add “blacklist rtl8187” as a new line

Then remove the present driver

sudo ifconfig wlan0 down
sudo rmmod rtl8187

And then as root

make
make install

that is all, after reboot, enjoy working wireless network with the new kernel.
But I hope that the official driver will be fixed soon.

-- 
rtl8187 drops connection
https://bugs.launchpad.net/bugs/182473
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to