RTL8187B drivers and patches
Don’t panic! I moved the old RTL8187B page to lie under my Wordpress install’s hierarchy, so it looks all high-speed and low-drag and stuff.
Make sure you read the FAQ, and then read the README.
No, really, read this
I know there are a lot of you who probably won’t (it took me a while to learn), so I’ll drop the important parts here: 2.6.27 has full-on support for this card. I didn’t get a chance to bang on it much, but it reported accurate signal strength and connected to my WEP network. I didn’t stick around long, because my X server was hosed under the new kernel, and I had to compile it by hand and haven’t built a custom kernel around this laptop before, so one or two important things were off and I didn’t feel like investing time to recompile at the moment. I made a half-assed (and fully-drunken) attempt at backporting the modules, with limited but improving success. Your vendor will likely have it done before I do; I’m just rolling my own for my own sake.
By the way, this site has a threaded comments plugin (when I get unlazy, I’ll post the link to the plugin), and you can reply directly to comments with the “reply to this comment” link.
Anyway, on with it.
| Filename | Description |
|---|
| rtl8187b-unmodified-realtek.tar.gz | The original version I got from Realtek. |
| rtl8187b-modified-dist.tar.gz | Patched to fall through for 8187B cards |
| rtl8187b-modified-jadams-2-1-2008.tar.gz | Contributed patch (Mr. J. Adams) which supposedly works on 2.6.24 |
| 2.6.24.patch | Contributed patch (Mr. Leung) which reportedly works on 2.6.24; apply against rtl8187b-modified-dist.tar.gz |

If lsusb gives:
Bus 007 Device 003: ID 0bda:8198 Realtek Semiconductor Corp.
use driver modified by me. All others doesnt work with ID :8198!
Probably module included with kernel 2.6.27 douesnt work with that id too.
http://rapidshare.com/files/152036377/rtl8187b_linux_driver_modified_for_0bda-8198_darck.zip.html
following installation:
./makedrv
sudo nano /etc/rc.local
add to this file: /change/path/to/correct/wlan0up
sudo apt-get install wicd
after restart chenge in wicd settings wireless interface to correct one (usually wlan0 or wlan1, can be checked by iwconfig)
run wicd, press refresh, APs should be detected. Press connect, vuala :)
———-
!?!?!!:
-driver compilation ./makedrv requires libraries: linux-headers- (install if gets fatal error)
-this driver probably doesn’t work with ID other than: 0bda:8198.
OR:
use (in /etc/rc.local) wlan0up in following way:
lsusb gives for example: Bus 007 Device 002: ID 0bda:8198 Realtek Semiconductor Corp., so:
wlan0up force_card=0×8189
-I couldn’t compile this driver with kernel v. 2.6.27
I can’t also compile the driver with 2.6.27
rapman@rapman-desktop:~/rtl8187b-modified$ ./makedrv
rm -fr *.mod.c *.mod *.o .*.cmd *.mod.* *.ko *.o *~
make -C /lib/modules/2.6.27-7-generic/build M=/home/rapman/rtl8187b-modified/ieee80211 CC=gcc modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.27-7-generic’
CC [M] /home/rapman/rtl8187b-modified/ieee80211/ieee80211_softmac.o
In file included from /home/rapman/rtl8187b-modified/ieee80211/ieee80211_softmac.c:17:
/home/rapman/rtl8187b-modified/ieee80211/ieee80211.h: In function ‘ieee80211_priv’:
/home/rapman/rtl8187b-modified/ieee80211/ieee80211.h:1371: warning: ‘netdev_priv’ is static but used in inline function ‘ieee80211_priv’ which is not static
/home/rapman/rtl8187b-modified/ieee80211/ieee80211_softmac.c: In function ‘ieee80211_softmac_scan_wq’:
/home/rapman/rtl8187b-modified/ieee80211/ieee80211_softmac.c:433: warning: initialization from incompatible pointer type
/home/rapman/rtl8187b-modified/ieee80211/ieee80211_softmac.c:432: warning: unused variable ‘dwork’
/home/rapman/rtl8187b-modified/ieee80211/ieee80211_softmac.c: In function ‘ieee80211_probe_resp’:
/home/rapman/rtl8187b-modified/ieee80211/ieee80211_softmac.c:710: warning: ISO C90 forbids mixed declarations and code
/home/rapman/rtl8187b-modified/ieee80211/ieee80211_softmac.c:1554:4: warning: #warning CHECK_LOCK_HERE
/home/rapman/rtl8187b-modified/ieee80211/ieee80211_softmac.c:1594:2: warning: #warning CHECK_LOCK_HERE
/home/rapman/rtl8187b-modified/ieee80211/ieee80211_softmac.c: In function ‘ieee80211_associate_retry_wq’:
/home/rapman/rtl8187b-modified/ieee80211/ieee80211_softmac.c:2253: warning: initialization from incompatible pointer type
/home/rapman/rtl8187b-modified/ieee80211/ieee80211_softmac.c:2252: warning: unused variable ‘dwork’
/home/rapman/rtl8187b-modified/ieee80211/ieee80211_softmac.c: In function ‘ieee80211_softmac_init’:
/home/rapman/rtl8187b-modified/ieee80211/ieee80211_softmac.c:2475: warning: assignment from incompatible pointer type
/home/rapman/rtl8187b-modified/ieee80211/ieee80211_softmac.c:2476: warning: assignment from incompatible pointer type
/home/rapman/rtl8187b-modified/ieee80211/ieee80211_softmac.c:2477: warning: assignment from incompatible pointer type
/home/rapman/rtl8187b-modified/ieee80211/ieee80211_softmac.c:2478: warning: assignment from incompatible pointer type
/home/rapman/rtl8187b-modified/ieee80211/ieee80211_softmac.c:2479: warning: assignment from incompatible pointer type
/home/rapman/rtl8187b-modified/ieee80211/ieee80211_softmac.c:2480: warning: assignment from incompatible pointer type
/home/rapman/rtl8187b-modified/ieee80211/ieee80211_softmac.c: In function ‘ieee80211_associate_complete’:
/home/rapman/rtl8187b-modified/ieee80211/ieee80211_softmac.c:1171: warning: array subscript is above array bounds
/home/rapman/rtl8187b-modified/ieee80211/ieee80211_softmac.c: In function ‘ieee80211_rx_frame_softmac’:
/home/rapman/rtl8187b-modified/ieee80211/ieee80211_softmac.c:1666: warning: ‘chlen’ may be used uninitialized in this function
/home/rapman/rtl8187b-modified/ieee80211/ieee80211_softmac.c:1554:4: warning: #warning CHECK_LOCK_HERE
/home/rapman/rtl8187b-modified/ieee80211/ieee80211_softmac.c:1594:2: warning: #warning CHECK_LOCK_HERE
CC [M] /home/rapman/rtl8187b-modified/ieee80211/ieee80211_rx.o
In file included from /home/rapman/rtl8187b-modified/ieee80211/ieee80211_rx.c:46:
/home/rapman/rtl8187b-modified/ieee80211/ieee80211.h: In function ‘ieee80211_priv’:
/home/rapman/rtl8187b-modified/ieee80211/ieee80211.h:1371: warning: ‘netdev_priv’ is static but used in inline function ‘ieee80211_priv’ which is not static
CC [M] /home/rapman/rtl8187b-modified/ieee80211/ieee80211_tx.o
In file included from /home/rapman/rtl8187b-modified/ieee80211/ieee80211_tx.c:56:
/home/rapman/rtl8187b-modified/ieee80211/ieee80211.h: In function ‘ieee80211_priv’:
/home/rapman/rtl8187b-modified/ieee80211/ieee80211.h:1371: warning: ‘netdev_priv’ is static but used in inline function ‘ieee80211_priv’ which is not static
CC [M] /home/rapman/rtl8187b-modified/ieee80211/ieee80211_wx.o
In file included from /home/rapman/rtl8187b-modified/ieee80211/ieee80211_wx.c:37:
/home/rapman/rtl8187b-modified/ieee80211/ieee80211.h: In function ‘ieee80211_priv’:
/home/rapman/rtl8187b-modified/ieee80211/ieee80211.h:1371: warning: ‘netdev_priv’ is static but used in inline function ‘ieee80211_priv’ which is not static
/home/rapman/rtl8187b-modified/ieee80211/ieee80211_wx.c: In function ‘ipw2100_translate_scan’:
/home/rapman/rtl8187b-modified/ieee80211/ieee80211_wx.c:57: warning: passing argument 1 of ‘iwe_stream_add_event’ from incompatible pointer type
/home/rapman/rtl8187b-modified/ieee80211/ieee80211_wx.c:57: warning: passing argument 3 of ‘iwe_stream_add_event’ from incompatible pointer type
/home/rapman/rtl8187b-modified/ieee80211/ieee80211_wx.c:57: warning: passing argument 4 of ‘iwe_stream_add_event’ makes pointer from integer without a cast
/home/rapman/rtl8187b-modified/ieee80211/ieee80211_wx.c:57: error: too few arguments to function ‘iwe_stream_add_event’
/home/rapman/rtl8187b-modified/ieee80211/ieee80211_wx.c:66: warning: passing argument 1 of ‘iwe_stream_add_point’ from incompatible pointer type
/home/rapman/rtl8187b-modified/ieee80211/ieee80211_wx.c:66: warning: passing argument 3 of ‘iwe_stream_add_point’ from incompatible pointer type
/home/rapman/rtl8187b-modified/ieee80211/ieee80211_wx.c:66: warning: passing argument 4 of ‘iwe_stream_add_point’ from incompatible pointer type
/home/rapman/rtl8187b-modified/ieee80211/ieee80211_wx.c:66: error: too few arguments to function ‘iwe_stream_add_point’
/home/rapman/rtl8187b-modified/ieee80211/ieee80211_wx.c:69: warning: passing argument 1 of ‘iwe_stream_add_point’ from incompatible pointer type
/home/rapman/rtl8187b-modified/ieee80211/ieee80211_wx.c:69: warning: passing argument 3 of ‘iwe_stream_add_point’ from incompatible pointer type
/home/rapman/rtl8187b-modified/ieee80211/ieee80211_wx.c:69: warning: passing argument 4 of ‘iwe_stream_add_point’ from incompatible pointer type
/home/rapman/rtl8187b-modified/ieee80211/ieee80211_wx.c:69: error: too few arguments to function ‘iwe_stream_add_point’
/home/rapman/rtl8187b-modified/ieee80211/ieee80211_wx.c:75: warning: passing argument 1 of ‘iwe_stream_add_event’ from incompatible pointer type
/home/rapman/rtl8187b-modified/ieee80211/ieee80211_wx.c:75: warning: passing argument 3 of ‘iwe_stream_add_event’ from incompatible pointer type
/home/rapman/rtl8187b-modified/ieee80211/ieee80211_wx.c:75: warning: passing argument 4 of ‘iwe_stream_add_event’ makes pointer from integer without a cast
/home/rapman/rtl8187b-modified/ieee80211/ieee80211_wx.c:75: error: too few arguments to function ‘iwe_stream_add_event’
/home/rapman/rtl8187b-modified/ieee80211/ieee80211_wx.c:87: warning: passing argument 1 of ‘iwe_stream_add_event’ from incompatible pointer type
/home/rapman/rtl8187b-modified/ieee80211/ieee80211_wx.c:87: warning: passing argument 3 of ‘iwe_stream_add_event’ from incompatible pointer type
/home/rapman/rtl8187b-modified/ieee80211/ieee80211_wx.c:87: warning: passing argument 4 of ‘iwe_stream_add_event’ makes pointer from integer without a cast
/home/rapman/rtl8187b-modified/ieee80211/ieee80211_wx.c:87: error: too few arguments to function ‘iwe_stream_add_event’
/home/rapman/rtl8187b-modified/ieee80211/ieee80211_wx.c:97: warning: passing argument 1 of ‘iwe_stream_add_event’ from incompatible pointer type
/home/rapman/rtl8187b-modified/ieee80211/ieee80211_wx.c:97: warning: passing argument 3 of ‘iwe_stream_add_event’ from incompatible pointer type
/home/rapman/rtl8187b-modified/ieee80211/ieee80211_wx.c:97: warning: passing argument 4 of ‘iwe_stream_add_event’ makes pointer from integer without a cast
/home/rapman/rtl8187b-modified/ieee80211/ieee80211_wx.c:97: error: too few arguments to function ‘iwe_stream_add_event’
/home/rapman/rtl8187b-modified/ieee80211/ieee80211_wx.c:106: warning: passing argument 1 of ‘iwe_stream_add_point’ from incompatible pointer type
/home/rapman/rtl8187b-modified/ieee80211/ieee80211_wx.c:106: warning: passing argument 3 of ‘iwe_stream_add_point’ from incompatible pointer type
/home/rapman/rtl8187b-modified/ieee80211/ieee80211_wx.c:106: warning: passing argument 4 of ‘iwe_stream_add_point’ from incompatible pointer type
/home/rapman/rtl8187b-modified/ieee80211/ieee80211_wx.c:106: error: too few arguments to function ‘iwe_stream_add_point’
/home/rapman/rtl8187b-modified/ieee80211/ieee80211_wx.c:136: warning: passing argument 1 of ‘iwe_stream_add_event’ from incompatible pointer type
/home/rapman/rtl8187b-modified/ieee80211/ieee80211_wx.c:136: warning: passing argument 3 of ‘iwe_stream_add_event’ from incompatible pointer type
/home/rapman/rtl8187b-modified/ieee80211/ieee80211_wx.c:136: warning: passing argument 4 of ‘iwe_stream_add_event’ makes pointer from integer without a cast
/home/rapman/rtl8187b-modified/ieee80211/ieee80211_wx.c:136: error: too few arguments to function ‘iwe_stream_add_event’
/home/rapman/rtl8187b-modified/ieee80211/ieee80211_wx.c:141: warning: passing argument 1 of ‘iwe_stream_add_point’ from incompatible pointer type
/home/rapman/rtl8187b-modified/ieee80211/ieee80211_wx.c:141: warning: passing argument 3 of ‘iwe_stream_add_point’ from incompatible pointer type
/home/rapman/rtl8187b-modified/ieee80211/ieee80211_wx.c:141: warning: passing argument 4 of ‘iwe_stream_add_point’ from incompatible pointer type
/home/rapman/rtl8187b-modified/ieee80211/ieee80211_wx.c:141: error: too few arguments to function ‘iwe_stream_add_point’
/home/rapman/rtl8187b-modified/ieee80211/ieee80211_wx.c:157: warning: passing argument 1 of ‘iwe_stream_add_event’ from incompatible pointer type
/home/rapman/rtl8187b-modified/ieee80211/ieee80211_wx.c:157: warning: passing argument 3 of ‘iwe_stream_add_event’ from incompatible pointer type
/home/rapman/rtl8187b-modified/ieee80211/ieee80211_wx.c:157: warning: passing argument 4 of ‘iwe_stream_add_event’ makes pointer from integer without a cast
/home/rapman/rtl8187b-modified/ieee80211/ieee80211_wx.c:157: error: too few arguments to function ‘iwe_stream_add_event’
/home/rapman/rtl8187b-modified/ieee80211/ieee80211_wx.c:164: warning: passing argument 1 of ‘iwe_stream_add_point’ from incompatible pointer type
/home/rapman/rtl8187b-modified/ieee80211/ieee80211_wx.c:164: warning: passing argument 3 of ‘iwe_stream_add_point’ from incompatible pointer type
/home/rapman/rtl8187b-modified/ieee80211/ieee80211_wx.c:164: warning: passing argument 4 of ‘iwe_stream_add_point’ from incompatible pointer type
/home/rapman/rtl8187b-modified/ieee80211/ieee80211_wx.c:164: error: too few arguments to function ‘iwe_stream_add_point’
/home/rapman/rtl8187b-modified/ieee80211/ieee80211_wx.c:178: warning: passing argument 1 of ‘iwe_stream_add_point’ from incompatible pointer type
/home/rapman/rtl8187b-modified/ieee80211/ieee80211_wx.c:178: warning: passing argument 3 of ‘iwe_stream_add_point’ from incompatible pointer type
/home/rapman/rtl8187b-modified/ieee80211/ieee80211_wx.c:178: warning: passing argument 4 of ‘iwe_stream_add_point’ from incompatible pointer type
/home/rapman/rtl8187b-modified/ieee80211/ieee80211_wx.c:178: error: too few arguments to function ‘iwe_stream_add_point’
/home/rapman/rtl8187b-modified/ieee80211/ieee80211_wx.c:193: warning: passing argument 1 of ‘iwe_stream_add_point’ from incompatible pointer type
/home/rapman/rtl8187b-modified/ieee80211/ieee80211_wx.c:193: warning: passing argument 3 of ‘iwe_stream_add_point’ from incompatible pointer type
/home/rapman/rtl8187b-modified/ieee80211/ieee80211_wx.c:193: warning: passing argument 4 of ‘iwe_stream_add_point’ from incompatible pointer type
/home/rapman/rtl8187b-modified/ieee80211/ieee80211_wx.c:193: error: too few arguments to function ‘iwe_stream_add_point’
/home/rapman/rtl8187b-modified/ieee80211/ieee80211_wx.c:204: warning: passing argument 1 of ‘iwe_stream_add_point’ from incompatible pointer type
/home/rapman/rtl8187b-modified/ieee80211/ieee80211_wx.c:204: warning: passing argument 3 of ‘iwe_stream_add_point’ from incompatible pointer type
/home/rapman/rtl8187b-modified/ieee80211/ieee80211_wx.c:204: warning: passing argument 4 of ‘iwe_stream_add_point’ from incompatible pointer type
/home/rapman/rtl8187b-modified/ieee80211/ieee80211_wx.c:204: error: too few arguments to function ‘iwe_stream_add_point’
make[2]: *** [/home/rapman/rtl8187b-modified/ieee80211/ieee80211_wx.o] Error 1
make[1]: *** [_module_/home/rapman/rtl8187b-modified/ieee80211] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.27-7-generic’
make: *** [modules] Error 2
rm -fr *.mod.c *.mod *.o .*.cmd *.ko *~
make -C /lib/modules/2.6.27-7-generic/build M=/home/rapman/rtl8187b-modified/rtl8187 CC=gcc modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.27-7-generic’
CC [M] /home/rapman/rtl8187b-modified/rtl8187/r8187_core.o
In file included from /home/rapman/rtl8187b-modified/rtl8187/r8187_core.c:64:
/home/rapman/rtl8187b-modified/rtl8187/r8187.h:48:27: error: asm/semaphore.h: No such file or directory
In file included from /home/rapman/rtl8187b-modified/rtl8187/r8187.h:50,
from /home/rapman/rtl8187b-modified/rtl8187/r8187_core.c:64:
/home/rapman/rtl8187b-modified/rtl8187/ieee80211.h: In function ‘ieee80211_priv’:
/home/rapman/rtl8187b-modified/rtl8187/ieee80211.h:1371: warning: ‘netdev_priv’ is static but used in inline function ‘ieee80211_priv’ which is not static
/home/rapman/rtl8187b-modified/rtl8187/r8187_core.c: In function ‘rtl8180_proc_module_init’:
/home/rapman/rtl8187b-modified/rtl8187/r8187_core.c:627: error: ‘proc_net’ undeclared (first use in this function)
/home/rapman/rtl8187b-modified/rtl8187/r8187_core.c:627: error: (Each undeclared identifier is reported only once
/home/rapman/rtl8187b-modified/rtl8187/r8187_core.c:627: error: for each function it appears in.)
/home/rapman/rtl8187b-modified/rtl8187/r8187_core.c: In function ‘rtl8180_proc_module_remove’:
/home/rapman/rtl8187b-modified/rtl8187/r8187_core.c:633: error: ‘proc_net’ undeclared (first use in this function)
/home/rapman/rtl8187b-modified/rtl8187/r8187_core.c: In function ‘rtl8187_rx_urbsubmit’:
/home/rapman/rtl8187b-modified/rtl8187/r8187_core.c:934: warning: passing argument 6 of ‘usb_fill_bulk_urb’ from incompatible pointer type
/home/rapman/rtl8187b-modified/rtl8187/r8187_core.c: In function ‘rtl8187_rx_manage_urbsubmit’:
/home/rapman/rtl8187b-modified/rtl8187/r8187_core.c:958: warning: passing argument 6 of ‘usb_fill_bulk_urb’ from incompatible pointer type
/home/rapman/rtl8187b-modified/rtl8187/r8187_core.c: In function ‘rtl8180_tx’:
/home/rapman/rtl8187b-modified/rtl8187/r8187_core.c:2220: warning: passing argument 6 of ‘usb_fill_bulk_urb’ from incompatible pointer type
/home/rapman/rtl8187b-modified/rtl8187/r8187_core.c:2227: warning: passing argument 6 of ‘usb_fill_bulk_urb’ from incompatible pointer type
/home/rapman/rtl8187b-modified/rtl8187/r8187_core.c: In function ‘rtl8187_usb_initendpoints’:
/home/rapman/rtl8187b-modified/rtl8187/r8187_core.c:2294: error: ‘struct r8180_priv’ has no member named ‘pp_rxskb’
/home/rapman/rtl8187b-modified/rtl8187/r8187_core.c:2295: error: ‘struct r8180_priv’ has no member named ‘pp_rxskb’
/home/rapman/rtl8187b-modified/rtl8187/r8187_core.c:2298: error: ‘struct r8180_priv’ has no member named ‘pp_rxskb’
/home/rapman/rtl8187b-modified/rtl8187/r8187_core.c:2304: error: ‘struct r8180_priv’ has no member named ‘pp_rxskb’
/home/rapman/rtl8187b-modified/rtl8187/r8187_core.c:2305: error: ‘struct r8180_priv’ has no member named ‘pp_rxskb’
/home/rapman/rtl8187b-modified/rtl8187/r8187_core.c:2310: error: ‘struct r8180_priv’ has no member named ‘pp_rxskb’
/home/rapman/rtl8187b-modified/rtl8187/r8187_core.c: At top level:
/home/rapman/rtl8187b-modified/rtl8187/r8187_core.c:2435: warning: ‘struct struct_work’ declared inside parameter list
/home/rapman/rtl8187b-modified/rtl8187/r8187_core.c:2435: warning: its scope is only this definition or declaration, which is probably not what you want
/home/rapman/rtl8187b-modified/rtl8187/r8187_core.c: In function ‘rtl8180_wmm_param_update’:
/home/rapman/rtl8187b-modified/rtl8187/r8187_core.c:2437: warning: initialization from incompatible pointer type
/home/rapman/rtl8187b-modified/rtl8187/r8187_core.c:2439: warning: initialization from incompatible pointer type
/home/rapman/rtl8187b-modified/rtl8187/r8187_core.c: In function ‘rtl8180_init’:
/home/rapman/rtl8187b-modified/rtl8187/r8187_core.c:2654: warning: assignment from incompatible pointer type
/home/rapman/rtl8187b-modified/rtl8187/r8187_core.c:2702: warning: assignment from incompatible pointer type
/home/rapman/rtl8187b-modified/rtl8187/r8187_core.c: In function ‘rtl8180_adapter_start’:
/home/rapman/rtl8187b-modified/rtl8187/r8187_core.c:3054: warning: unused variable ‘bInvalidWirelessMode’
/home/rapman/rtl8187b-modified/rtl8187/r8187_core.c:3053: warning: unused variable ‘SupportedWirelessMode’
/home/rapman/rtl8187b-modified/rtl8187/r8187_core.c:3052: warning: unused variable ‘InitWirelessMode’
/home/rapman/rtl8187b-modified/rtl8187/r8187_core.c:3051: warning: unused variable ‘ieee’
/home/rapman/rtl8187b-modified/rtl8187/r8187_core.c: In function ‘rtl8187_usb_probe’:
/home/rapman/rtl8187b-modified/rtl8187/r8187_core.c:4059: error: implicit declaration of function ‘SET_MODULE_OWNER’
make[2]: *** [/home/rapman/rtl8187b-modified/rtl8187/r8187_core.o] Error 1
make[1]: *** [_module_/home/rapman/rtl8187b-modified/rtl8187] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.27-7-generic’
make: *** [modules] Error 2
Hi!,
Today updating my computer (toshiba satellite a215, amd 64 bits), when reboot my pc appear this:
GetLastError:22
sendtable error
insmod: error inserting ‘ieee80211_crypt-rtl.ko’: -1 File exists
insmod: error inserting ‘ieee80211_crypt_wep-rtl.ko’: -1 Unknown symbol in module
insmod: error inserting ‘ieee80211_crypt_tkip-rtl.ko’: -1 Unknown symbol in module
insmod: error inserting ‘ieee80211_crypt_ccmp-rtl.ko’: -1 Unknown symbol in module
insmod: error inserting ‘ieee80211-rtl.ko’: -1 Unknown symbol in module
insmod: error inserting ‘r8187.ko’: -1 Unknown symbol in module
wlan0: ERROR mientras se obtenÃan las banderas de interfaz: No existe el dispositivo
up driver completed
how can i repair this
[...] so i have finally found the right driver for my rtl8187b wireless card (i used this What I did on my vacation from reality » RTL8187B drivers and patches) but now this is what i must do every time i login! [...]
[...] so i have finally found the right driver for my rtl8187b wireless card (i used this link "What I did on my vacation from reality » RTL8187B drivers and patches") but now this is what i must do every time i login! [...]
This driver has numerous problems on P5K motherboards (they come with the 8187B onboard).
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/182473
http://bugzilla.kernel.org/show_bug.cgi?id=9143
[...] that this is your card.. download (rtl8187b-modified-dist.tar.gz) and (2.6.24.patch) from here What I did on my vacation from reality » RTL8187B drivers and patches now download and extract the rtl8187b-modified-dist.tar.gz to your home folder then move the [...]
driver work under toshiba L 300.
with ubuntu 8.04 but i must do all again every time i do the login:
./makedrv
./wlan0up
so my question is what can i do to make my wireless start automatically??????
thanks
Read the FAQ above:
How do I get the driver to load on boot?
In /etc/network/interfaces, change your wlan0 definition to look something like the following:
iface wlan0 inet dhcp
wireless-essid my-network
wireless-key1 s:mykey
wireless-mode managed
wireless-channel 6
pre-up /root/rtl8187b-modified/wlan0up
post-down /root/rtl8187b-modified/wlan0down
The pre-up says to run a command before the interface is brought up, and post-down says to run a command after it’s taken down.
For more information, see interfaces(5) and wireless(7).
Hi!
I instal suse 11 in my toshiba A215 S7422 and the wireless not work.
I’m user level 0(zero) in Linux and I need help to enable the wireless step by step.
Thanks
for Marco, check any driver for winxp for the wireless card, download it and use ndiswrapper. in console, as root, type ndiswrapper -i /inf_file_path/inf_file.inf
restart the system and the wireless card will be automatically active.
for the others, my wirless works fine in opensuse 10.3 but i cannot connect to the net coz the password is wpa and the driver is working with wep. how could i work with wpa encryption with this driver?
Thanks Michael it realy works in ubuntu 8.04
In other laptop toshiba with ubuntu 8.10 doesn´t work.
Any idea?
Works! All good..
Aleluha! I got to patch it and I can connect to a WEP net without a KERNEL PANIC! Cool! I still don’t see the signal power correctly but it the less important, right now.
Although kernel 2.6.27 support rtl8187b, doesn’t anybody feels it very slow? I don’t if is a problem of iwconfig parameters but if i don’t use the card for some seconds, then takes some seconds to start the transfer (if at the end it starts…)
thanks!
ei!
miquel
what´s your device id?
put here the results of the comand -lsusb-
This is my device id:
Bus 006 Device 002: ID 0bda:8197 Realtek Semiconductor Corp.
And now, can someody help hehe. I cannot compile again haha. I reinstaled the linux modules and I lost the compiled and patched rtl8187b drivers. I cannot either patch nor compile. The terminal stays on black long time during patching and compiling process says
“CFLAGS was changed in “/home/miquel/Escriptori/rtl8187b-modified/rtl8187/Makefile”. Fix it to use EXTRA_CFLAGS. Stop.
make[1]: *** [_module_/home/miquel/Escriptori/rtl8187b-modified/rtl8187] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.27-7-generic’
make: *** [modules] Error 2″
Why? Thanks a lot, I will have to learn, at the end, the leason number one: “if something is running, don’t touch it” dish!
thanks
does anybody have any ideas on how to compile this driver with the 2.6.27 kernel?
i realize that the kernel has built in support, but it doesnt work for crap!
with the 2.6.27 kernel’s built in support my wireless will cut out after about 10 minutes if i try to download anything (especially if i am using transmission or deluge or any torrent client)
if i dont use a torrent client my wireless will stay connected for a while longer, but it is still very slow compared to the the driver found here
You may want to try ‘killall NetworkManager’, then bringing up the network interface manually. If that works, do
man ifupdownand edit/etc/network/interfacesaccordingly.I would install again a 2.6.24 kernel and compile this driver. Actually I did it.
I cannot see the right signal level, but at least the net does not go down as with 2.6.27 kernel.
hello
i got the error:
/home/bruno/Documentos/rtl8187b-modified/rtl8187/r8187_core.c:4059: error: implicit declaration of function ‘SET_MODULE_OWNER’
make[2]: ** [/home/bruno/Documentos/rtl8187b-modified/rtl8187/r8187_core.o] Erro 1
make[1]: ** [_module_/home/bruno/Documentos/rtl8187b-modified/rtl8187] Erro 2
make[1]: Saindo do diretório `/usr/src/linux-headers-2.6.27-7-generic’
make: ** [modules] Erro 2
i put EXTRA_ on cflags
lsusb:Bus 003 Device 007: ID 0bda:8189 Realtek Semiconductor Corp. RTL8187B Wireless 802.11g 54Mbps Network Adapter
any help for me?
Is there any update to this driver to enable wpa encryption.
The compat wirless driver works ok under intrepid with wpa but I want to stay using hardy as ati fglrx driver crap under intrepid.
If I have to use wep I will have to re-configure all pc’s on the network and not as secure anyway !
I’ve got a sitecom WL168v1_004, which has the RTL8187B chipset.
lsusb:
Bus 001 Device 002: ID 0df6:0028 Sitecom Europe B.V.
I’ve added the following to r8187_core.c
#ifndef USB_VENDOR_ID_SITECOM
#define USB_VENDOR_ID_SITECOM 0x0df6
#endif
and I added my ID to the usb_id_tbl
static struct usb_device_id rtl8187_usb_id_tbl[] = {
{USB_DEVICE(USB_VENDOR_ID_REALTEK, 0×8187)},
{USB_DEVICE(USB_VENDOR_ID_REALTEK, 0×8189)},
{USB_DEVICE(USB_VENDOR_ID_REALTEK, 0×8197)},
// {USB_DEVICE_VER(USB_VENDOR_ID_REALTEK, 0×8187,0×0200,0×0200)},
{USB_DEVICE(USB_VENDOR_ID_NETGEAR, 0×6100)},
{USB_DEVICE(USB_VENDOR_ID_NETGEAR, 0×6a00)},
{USB_DEVICE(USB_VENDOR_ID_SITECOM, 0×0028)},
{}
};
It still doesn’t recognise my device though, can you tell me at which other places I need to make an adjustment?
I use the jadams,
I can see all networks, but I can’t connect
can you help me?
Bruno, are you trying to compile the driver for kernel 2.6.24 running linux on kernel 2.6.27?? It may be the problem, if you do like this, i think you have to specify where the 2.6.24 libraries are, I cannot remember how. The easiest way is compiling while you are running the kernel 2.6.24.
Give it a try!
Is there any patch for kernel 2.6.28?
I have tested the stock kernel but when the traffic is high the card stops responding. I happens when downloading torrents. As I saw it is a known issue.
I have found the fowling driver but it doesn’t load.
http://www.aircrack-ng.org/doku.php?id=r8187
When I am modprobing r8187 it returns:
rtl8187: Initializing module
rtl8187: Wireless extensions version 22
rtl8187: Initializing proc filesystem
rtl8187: Enabling 14 channels.
rtl8187: MAC chip version: 06
rtl8187: Card type: 00
rtl8187: Reported EEPROM chip is a 93c46 (1Kbit)
rtl8187: Card MAC address is 00:18:46:01:cd:ab
rtl8187: RF Chip ID: 06
rtl8187: WW:Unknown RF module 6
rtl8187: WW:Exiting...
rtl8187: Initialization failed
rtl8187: wlan driver load failed
As I have been told it is a version issue. Mine is 06 an the driver supports up to 05.
Is your driver going to do the job for my case? Is there any way to compile it on linux 2.6.28?
It fails with:
/home/firewalker/Desktop/rtl8187b-modified/ieee80211/ieee80211_wx.c:204: error: too few arguments to function ‘iwe_stream_add_point’
make[2]: *** [/home/firewalker/Desktop/rtl8187b-modified/ieee80211/ieee80211_wx.o] Error 1
make[1]: *** [_module_/home/firewalker/Desktop/rtl8187b-modified/ieee80211] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.28-ARCH’
make: *** [modules] Error 2
And
/home/firewalker/Desktop/rtl8187b-modified/rtl8187/r8187_core.c: In function ‘rtl8187_usb_probe’:
/home/firewalker/Desktop/rtl8187b-modified/rtl8187/r8187_core.c:4059: error: implicit declaration of function ‘SET_MODULE_OWNER’
make[2]: *** [/home/firewalker/Desktop/rtl8187b-modified/rtl8187/r8187_core.o] Error 1
make[1]: *** [_module_/home/firewalker/Desktop/rtl8187b-modified/rtl8187] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.28-ARCH’
make: *** [modules] Error 2
Thanks you very much.
I was also wondering if there is any update to get this working on WPA. I have tried all possible alternatives, successfully getting the card up as recognised using the ndiswrapper / win98 drivers method.
I can see the network I want to connect to.
I tried using wpa_supplicant with WPA2-Personal and WPA-PSK (http://www.thinkwiki.org/wiki/How_to_install_wpa_supplicant).
Does using this compiled version enable WPA Support at all?
[...] di altro costruttore. ti aggiungo un link che ho trovato per driver linux nostra chiavetta What I did on my vacation from reality RTL8187B drivers and patches Brian Cantin: Hacking The RTL8187b On Linux un saluto a tutti nel [...]
hai…
hmmm….nice post…
but, how could i integrated rtl8187 wireless into nm-applet so i only use single click to enable or disable wireless network on hardy
thanx :)
sorry, my mistake i forgot to put the script on the line :)
Hi! I was referred to you by answers.launchpad.net (although I’d already found you, and found fatal errors as below). Can you fix you fix please? [I've had this Toshiba for aver a year and wireless under Ubuntu never has worked...]
Thanx
sudo ./makedrv
rm -fr *.mod.c *.mod *.o .*.cmd *.mod.* *.ko *.o *~
make -C /lib/modules/2.6.24-23-generic/build M=/home/abampton/downloads/rtl8187b-modified/ieee80211 CC=gcc modules
make[1]: entrant dans le répertoire « /usr/src/linux-headers-2.6.24-23-generic »
scripts/Makefile.build:46: *** CFLAGS was changed in “/home/abampton/downloads/rtl8187b-modified/ieee80211/Makefile”. Fix it to use EXTRA_CFLAGS. Arrêt.
make[1]: *** [_module_/home/abampton/downloads/rtl8187b-modified/ieee80211] Erreur 2
make[1]: quittant le répertoire « /usr/src/linux-headers-2.6.24-23-generic »
make: *** [modules] Erreur 2
rm -fr *.mod.c *.mod *.o .*.cmd *.ko *~
make -C /lib/modules/2.6.24-23-generic/build M=/home/abampton/downloads/rtl8187b-modified/rtl8187 CC=gcc modules
make[1]: entrant dans le répertoire « /usr/src/linux-headers-2.6.24-23-generic »
scripts/Makefile.build:46: *** CFLAGS was changed in “/home/abampton/downloads/rtl8187b-modified/rtl8187/Makefile”. Fix it to use EXTRA_CFLAGS. Arrêt.
make[1]: *** [_module_/home/abampton/downloads/rtl8187b-modified/rtl8187] Erreur 2
make[1]: quittant le répertoire « /usr/src/linux-headers-2.6.24-23-generic »
make: *** [modules] Erreur 2
abampton@ADBtoshibaU:~/downloads/rtl8187b-modified$
Which of these drivers works on toshiba l300 ??
I have an old libretto 100CT, 32 MB RAM, 166MHz CPU - my cutie :-)
It is running Damn Small Linux 3.4,
with 2.4.26 (NOT 2.6.24!!!) kernel.
Will I be able to compile the driver?
The readme.txt seems to suggest that 2.4 kernel support is included, but I can’t compile.
Are the errors just with my distribution, should the driver compile or can’t it be compiled on 2.4.26?
My USB ID:
050d:705e (Belkin USB Wireless, F%D7050 v5)
Do you know if this driver will work with Damn Small Linux 2.4 kernel distro? I have a WiBee USB Wireless stick, which uses the RTL8187B. I’m trying to get it working on an old machine running DSL.
[...] inalámbrica no funcionaba! en Etch no tenÃa problema alguno utilizando un driver de Realtek modificado, tampoco en Ubuntu, pero por mas que intenté, no pude hacer funcionar la tarjeta inalámbrica en [...]
[...] que usando os drivers no ndiswrapper do windows 98 a qualidade melhorou. Existem também alguns drivers não oficiais - sou burro em linux e tive dificuldades para [...]
Hi all , I’ve some problem with driver rtl 8187 with kernel 2.6.27-11
any patch ?
Will this driver support Linksys WUSB54GC v2 USB wifi dongle?
# lsusb
Bus 001 Device 012: ID 1737:0073 Linksys
I still get these errors: I tried some chmod codes but still not working and getting these errors:
root@lupo1989-desktop:/home/lupo1989/Desktop/rtl8187b-modified# sudo chmod +x makedrv
root@lupo1989-desktop:/home/lupo1989/Desktop/rtl8187b-modified# sudo ./makedrv
rm -fr *.mod.c *.mod *.o .*.cmd *.mod.* *.ko *.o *~
make -C /lib/modules/2.6.24-24-386/build M=/home/lupo1989/Desktop/rtl8187b-modified/ieee80211 CC=gcc modules
make: *** /lib/modules/2.6.24-24-386/build: Bestand of map bestaat niet. Gestopt.
make: *** [modules] Fout 2
rm -fr *.mod.c *.mod *.o .*.cmd *.ko *~
make -C /lib/modules/2.6.24-24-386/build M=/home/lupo1989/Desktop/rtl8187b-modified/rtl8187 CC=gcc modules
make: *** /lib/modules/2.6.24-24-386/build: Bestand of map bestaat niet. Gestopt.
make: *** [modules] Fout 2
Anybody have some idea what to do?
I have read the FAQ. Is there any light on getting “Master mode” to work……….? In the region I live, it’s kind of hard to buy a wifi PCI card that doesn’t use the Realtek chips.
I compiled the driver in a kernel 2.6.24-r8 and it worked fine, but, when i use wireless + Wep + Shared key, the Linux freeze. Wireless + Wep + Open System works fine. Any idea about what do it can be ?
Sorry, i forgot to tell:
System: Gentoo with kernel 2.6.24-r8
# lsusb
ID 0bda:8189 Realtek Semiconductor Corp.
i’m using ubuntu and i cant run thomson t123g on it ! with ndiswrapper using xp drivers it runs but dontsearch for any wireless! i think this card use rtl8187b so can someone help ? I’m still a noob in linux ;\ thz for any help
Anything.
I also have a big problem on running thomson t123g in unbuntu
Interesting blog, the author thanks so much for the interesting explanation!
Keep it up, great success! Bloggy wish a lot of good posts!
it would be great if someone would explain how to install the patch or drive in simple terms, but no one here seems to care about those who are new to linux!