Quote Originally Posted by #mfBaranian#
The ieee80211 (r8187) driver is available in the repo's (for BT4PF) and you can get it through apt-get (apt-get install r8187-drivers)
1. I tried getting the drivers through the repo's but was unsuccessful.
2. Used the tutorial from aircrack
Code:
http://aircrack-ng.org/doku.php?id=r8187
But, yet again no luck.

3. Last, I went to the ubuntu forums to see what they thought:
Code:
http://ubuntuforums.org/showthread.php?t=945814
and followed a modified tutorial:
Quote Originally Posted by rattking
ifconfig wlan0 down
rmmod r8187 rtl8187 2>/dev/null
wget http://dl.aircrack-ng.org/drivers/rt...ux_26.1010.zip
unzip rtl8187_linux_26.1010.zip
cd rtl8187_linux_26.1010.0622.2006/
wget http://patches.aircrack-ng.org/rtl8187_2.6.27.patch
tar xzf drv.tar.gz
tar xzf stack.tar.gz
patch -Np1 -i rtl8187_2.6.27.patch

then I had to edit the file
beta-8187/r8187.h
and change
#include <asm/semaphore.h>
to
#include <linux/semaphore.h>

make
make install
Again no success.

When make'ing either tutorial i got errors that may lead to a solution:
Code:
root@laptop:~/rtl8187_linux_26.1010.0622.2006# make
rm -f ieee80211/Module.symvers 2>/dev/null
rm -f ieee80211/Modules.symvers 2>/dev/null
make -C ieee80211 all
make[1]: Entering directory `/root/rtl8187_linux_26.1010.0622.2006/ieee80211'
make -C /lib/modules/2.6.29.4/build M=/root/rtl8187_linux_26.1010.0622.2006/ieee80211 modules
make[2]: Entering directory `/usr/src/linux-source-2.6.29.4'

  WARNING: Symbol version dump /usr/src/linux-source-2.6.29.4/Module.symvers
           is missing; modules will have no dependencies and modversions.

  CC [M]  /root/rtl8187_linux_26.1010.0622.2006/ieee80211/ieee80211_softmac.o
In file included from /root/rtl8187_linux_26.1010.0622.2006/ieee80211/ieee80211_softmac.c:17:
/root/rtl8187_linux_26.1010.0622.2006/ieee80211/ieee80211.h: In function 'ieee80211_priv_rtl7':
/root/rtl8187_linux_26.1010.0622.2006/ieee80211/ieee80211.h:1181: warning: 'netdev_priv' is static but used in inline function 'ieee80211_priv_rtl7' which is not static
  CC [M]  /root/rtl8187_linux_26.1010.0622.2006/ieee80211/ieee80211_rx.o
In file included from /root/rtl8187_linux_26.1010.0622.2006/ieee80211/ieee80211_rx.c:52:
/root/rtl8187_linux_26.1010.0622.2006/ieee80211/ieee80211.h: In function 'ieee80211_priv_rtl7':
/root/rtl8187_linux_26.1010.0622.2006/ieee80211/ieee80211.h:1181: warning: 'netdev_priv' is static but used in inline function 'ieee80211_priv_rtl7' which is not static
  CC [M]  /root/rtl8187_linux_26.1010.0622.2006/ieee80211/ieee80211_tx.o
In file included from /root/rtl8187_linux_26.1010.0622.2006/ieee80211/ieee80211_tx.c:60:
/root/rtl8187_linux_26.1010.0622.2006/ieee80211/ieee80211.h: In function 'ieee80211_priv_rtl7':
/root/rtl8187_linux_26.1010.0622.2006/ieee80211/ieee80211.h:1181: warning: 'netdev_priv' is static but used in inline function 'ieee80211_priv_rtl7' which is not static
  CC [M]  /root/rtl8187_linux_26.1010.0622.2006/ieee80211/ieee80211_wx.o
In file included from /root/rtl8187_linux_26.1010.0622.2006/ieee80211/ieee80211_wx.c:37:
/root/rtl8187_linux_26.1010.0622.2006/ieee80211/ieee80211.h: In function 'ieee80211_priv_rtl7':
/root/rtl8187_linux_26.1010.0622.2006/ieee80211/ieee80211.h:1181: warning: 'netdev_priv' is static but used in inline function 'ieee80211_priv_rtl7' which is not static
/root/rtl8187_linux_26.1010.0622.2006/ieee80211/ieee80211_wx.c: In function 'ipw2100_translate_scan_rtl7':
/root/rtl8187_linux_26.1010.0622.2006/ieee80211/ieee80211_wx.c:57: warning: passing argument 1 of 'iwe_stream_add_event' from incompatible pointer type
/root/rtl8187_linux_26.1010.0622.2006/ieee80211/ieee80211_wx.c:57: warning: passing argument 3 of 'iwe_stream_add_event' from incompatible pointer type
/root/rtl8187_linux_26.1010.0622.2006/ieee80211/ieee80211_wx.c:57: warning: passing argument 4 of 'iwe_stream_add_event' makes pointer from integer without a cast
/root/rtl8187_linux_26.1010.0622.2006/ieee80211/ieee80211_wx.c:57: error: too few arguments to function 'iwe_stream_add_event'
/root/rtl8187_linux_26.1010.0622.2006/ieee80211/ieee80211_wx.c:66: warning: passing argument 1 of 'iwe_stream_add_point' from incompatible pointer type
/root/rtl8187_linux_26.1010.0622.2006/ieee80211/ieee80211_wx.c:66: warning: passing argument 3 of 'iwe_stream_add_point' from incompatible pointer type
/root/rtl8187_linux_26.1010.0622.2006/ieee80211/ieee80211_wx.c:66: warning: passing argument 4 of 'iwe_stream_add_point' from incompatible pointer type
/root/rtl8187_linux_26.1010.0622.2006/ieee80211/ieee80211_wx.c:66: error: too few arguments to function 'iwe_stream_add_point'
/root/rtl8187_linux_26.1010.0622.2006/ieee80211/ieee80211_wx.c:69: warning: passing argument 1 of 'iwe_stream_add_point' from incompatible pointer type
/root/rtl8187_linux_26.1010.0622.2006/ieee80211/ieee80211_wx.c:69: warning: passing argument 3 of 'iwe_stream_add_point' from incompatible pointer type
/root/rtl8187_linux_26.1010.0622.2006/ieee80211/ieee80211_wx.c:69: warning: passing argument 4 of 'iwe_stream_add_point' from incompatible pointer type
/root/rtl8187_linux_26.1010.0622.2006/ieee80211/ieee80211_wx.c:69: error: too few arguments to function 'iwe_stream_add_point'
/root/rtl8187_linux_26.1010.0622.2006/ieee80211/ieee80211_wx.c:75: warning: passing argument 1 of 'iwe_stream_add_event' from incompatible pointer type
/root/rtl8187_linux_26.1010.0622.2006/ieee80211/ieee80211_wx.c:75: warning: passing argument 3 of 'iwe_stream_add_event' from incompatible pointer type
/root/rtl8187_linux_26.1010.0622.2006/ieee80211/ieee80211_wx.c:75: warning: passing argument 4 of 'iwe_stream_add_event' makes pointer from integer without a cast
/root/rtl8187_linux_26.1010.0622.2006/ieee80211/ieee80211_wx.c:75: error: too few arguments to function 'iwe_stream_add_event'
/root/rtl8187_linux_26.1010.0622.2006/ieee80211/ieee80211_wx.c:87: warning: passing argument 1 of 'iwe_stream_add_event' from incompatible pointer type
/root/rtl8187_linux_26.1010.0622.2006/ieee80211/ieee80211_wx.c:87: warning: passing argument 3 of 'iwe_stream_add_event' from incompatible pointer type
/root/rtl8187_linux_26.1010.0622.2006/ieee80211/ieee80211_wx.c:87: warning: passing argument 4 of 'iwe_stream_add_event' makes pointer from integer without a cast
/root/rtl8187_linux_26.1010.0622.2006/ieee80211/ieee80211_wx.c:87: error: too few arguments to function 'iwe_stream_add_event'
/root/rtl8187_linux_26.1010.0622.2006/ieee80211/ieee80211_wx.c:97: warning: passing argument 1 of 'iwe_stream_add_event' from incompatible pointer type
/root/rtl8187_linux_26.1010.0622.2006/ieee80211/ieee80211_wx.c:97: warning: passing argument 3 of 'iwe_stream_add_event' from incompatible pointer type
/root/rtl8187_linux_26.1010.0622.2006/ieee80211/ieee80211_wx.c:97: warning: passing argument 4 of 'iwe_stream_add_event' makes pointer from integer without a cast
make[3]: *** [/root/rtl8187_linux_26.1010.0622.2006/ieee80211/ieee80211_wx.o] Error 1
make[2]: *** [_module_/root/rtl8187_linux_26.1010.0622.2006/ieee80211] Error 2
make[2]: Leaving directory `/usr/src/linux-source-2.6.29.4'
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/root/rtl8187_linux_26.1010.0622.2006/ieee80211'
make: *** [all] Error 2
make install:
Code:
root@laptop:~/rtl8187_linux_26.1010.0622.2006# make install
install -d /lib/modules/2.6.29.4/kernel/drivers/net/wireless/rtl_ieee80211
install -d /lib/modules/2.6.29.4/kernel/drivers/net/wireless/rtl8187
install -m 644 ./ieee80211/*.ko /lib/modules/2.6.29.4/kernel/drivers/net/wireless/rtl_ieee80211
install: cannot stat `./ieee80211/*.ko': No such file or directory
make: *** [install] Error 1
Any suggestions will be greatly appreciated.

Thanks,
red