[tlinux-users:08809] Re: TOSHIBA L40 REALTEK 8187B WLAN USB2 problem

Ekim Maurer-Engin <[email protected]> Wed, 23 Jan 2008 21:36:10 +0200
Newsgroups gmane.linux.hardware.toshiba
Message-ID <[email protected]>
you definatly need ndiswrapper 1.49 at least - 1.5x suggested

I have no knowledge about ubuntu - but with me there are only the 3
lines in /etc/modprobe.d/ndiswrapper i wrote in previous mail
On Mi, 2008-01-23 at 17:34 +0000, Christopher George wrote:
> guys i still have problems :(
>=20
> i did everything as ekim said and got a few error messages.=20
>=20
> e.g.
> tom@tom-laptop:~$ ndiswrapper -l
> WARNING: /etc/modprobe.d/ndiswrapper line 3: ignoring bad line
> starting with 'original'=20
> WARNING: /etc/modprobe.d/ndiswrapper line 6: ignoring bad line
> starting with 'modified'
> net8187b : driver installed
>         device (0BDA:8197) present
> net8187b.net : invalid driver!=20
> tom@tom-laptop:~$=20
>=20
> plus the version of ndiswrapper i can get through package manager is
> 1.45
>=20
> tom@tom-laptop:~$ ndiswrapper -v
> utils version: 1.9
> driver
> filename:       /lib/modules/2.6.22-14-generic/ubuntu/misc/ndiswrapper/nd=
iswrapper.ko=20
> version:        1.45
> vermagic:       2.6.22-14-generic SMP mod_unload 586=20
> tom@tom-laptop:~$=20
>=20
> this is my lsusb:
>=20
> tom@tom-laptop:~$ lsusb
> Bus 007 Device 001: ID 0000:0000 =20
> Bus 006 Device 002: ID 0bda:8197 Realtek Semiconductor Corp.=20
> Bus 006 Device 001: ID 0000:0000 =20
> Bus 002 Device 001: ID 0000:0000 =20
> Bus 005 Device 001: ID 0000:0000 =20
> Bus 001 Device 001: ID 0000:0000 =20
> Bus 003 Device 001: ID 0000:0000 =20
> Bus 004 Device 001: ID 0000:0000 =20
> tom@tom-laptop:~$=20
>=20
>=20
> so i cannot understand what can be wrong. i used the win98 driver for
> the rtl8187b wlan stick and still nothing.
>=20
> network manager shows that i can connect to my network but it doesn`t
> hand out any ip to the laptop :( although my wlan is assigned to
> wlan0=20
>=20
> wireless roaming mode is enabled.
>=20
> help please. :)
>=20
>=20
> On Jan 23, 2008 5:14 PM, Thomas Lopes <[email protected]> wrote:
>         In Ubuntu you won't need to download and make a ndiswrapper.
>         You can download it with synaptic. But you need to configure
>         it to use your driver, and blacklist the old ones (if
>         there's).
>        =20
>        =20
>         2008/1/23, Ekim Maurer-Engin <[email protected]>:
>        =20
>                 I am not sure how ubuntu handles it - therefore here a
>                 more global
>                 instruction. I made my card work with this (actually i
>                 am using it right
>                 now :P).
>                =20
>                 you need ndiswrapper 1.50 or higher (I use 1.51) -
>                 obtainable via=20
>                 http://ndiswrapper.sourceforge.net/joomla/
>                 or the direct link to the tar.gz:
>                 http://sourceforge.net/project/downloading.php?group_id=
=3D93482&amp;use_mirror=3Dkent&amp;filename=3Dndiswrapper-1.51.tar.gz&amp;6=
7160862
>                =20
>                 untar - configure - make - make install (or use the
>                 package manager of
>                 your choice if this packages are present for your
>                 Linux distribution.=20
>                =20
>                 get the realtek 8187B drivers only
>                 ftp://202.65.194.212/cn/wlan/RTL8187B_driver_only.zip
>                =20
>                 unzip this
>                =20
>                 erease all ndiswrapper entries regarding card=20
>                 root@camelot:~>  ndiswrapper -l
>                 net8187b : [somemassage]
>                 root@camelot:~>  ndiswrapper -r net8187b
>                =20
>                 reboot for a clean system (yes it can be done without
>                 - but no risk is
>                 better)
>                =20
>                 talesin@camelot :~> lsusb
>                =20
>                 search for the devicenumber of your WLAN card, most
>                 probably this will
>                 show so:
>                =20
>                 Bus 003 Device 002: ID 0bda:8197 Realtek Semiconductor
>                 Corp.
>                =20
>                 then get root and
>                =20
>                 root@camelot:~> ndiswrapper -i
>                 <path_to_win98_drivers>/net8187b.inf=20
>                =20
>                 root@camelot:~> ndiswrapper -a <device_id>  net8187b
>                 In my case it was:
>                 root@camelot:~> ndiswrapper -a 0bda:8197 net8187b
>                =20
>                 root@camelot:~> ndiswrapper -m
>                 root@camelot:~> modprobe ndiswrapper=20
>                =20
>                 reboot (maybe it is possible without - but  am just
>                 typing how i did it)
>                =20
>                 during boot you should see this:
>                 ndiswrapper: driver net8187b (Realtek Semiconductor
>                 Corp.,07/18/2007,5.1097.0718.2007) loaded=20
>                 wlan0: ethernet device 00:16:44:1d:39:84 using NDIS
>                 driver: net8187b,
>                 version: 0x1, NDIS version: 0x500, vendor: 'NDIS
>                 Network Adapter',
>                 0BDA:8197.F.conf
>                 wlan0: encryption modes supported: WEP; TKIP with WPA,
>                 WPA2, WPA2PSK;=20
>                 AES/CCMP with WPA, WPA2, WPA2PSK
>                 usbcore: registered new interface driver ndiswrapper
>                =20
>                 when logged in again
>                =20
>                 talesin@camelot:~> ndiswrapper -l
>                 net8187b : driver installed
>                         device (0BDA:8197) present (alternate driver:
>                 r8187)=20
>                =20
>                 do the foloowing only if this does not show up:
>                =20
>                 Look at your /etc/modprobe.d/ndiswrapper
>                =20
>                 you will see a single line,
>                 clone this line and modify the structre as follows:
>                =20
>                 original /etc/modprobe.d/ndiswrapper:=20
>                 alias usb:v0BDAp8187d*dc*dsc*dp*ic*isc*ip* ndiswrapper
>                =20
>                 modified /etc/modprobe.d/ndiswrapper:
>                 alias usb:v0BDAp8187d*dc*dsc*dp*ic*isc*ip* ndiswrapper
>                 alias usb:v0BDAp8189d*dc*dsc*dp*ic*isc*ip*
>                 ndiswrapper=20
>                 alias usb:v0BDAp8197d*dc*dsc*dp*ic*isc*ip* ndiswrapper
>                =20
>                 mainly you just clone and add the other known ids of
>                 the card which
>                 are 8187,8189,8197
>                =20
>                 now reboot again
>                =20
>                 now you will see the ndismod -l output as it should
>                 be.=20
>                =20
>                 With my experiance NetworkManager can handle the card
>                 (at least under
>                 KDE).
>                =20
>                 Thereis a minor stability bug i encounter - the
>                 connection breaks up after a while of inactivity - I
>                 plainly run a ping <mygatewayip> >/dev/null in
>                 background=20
>                 system up for 24h without connectivity loss.
>                =20
>                 if any further questions feel free to ask again ;-)
>                =20
>                 Cheers
>                 Ekim
>                 --
>                 Ekim Engin <mailto:[email protected] >
>                =20
>                 Cell: +90 (532) 602 59 41
>                 MSN: [email protected] | ICQ#: 198501695
>                =20
>                 QOTD: San Francisco isn't what it used to be, and it
>                 never was.
>                                 -- Herb Caen=20
>                =20
>                =20
>        =20
>        =20
>        =20
>         --=20
>        =20
>        =20
>         Thomas Lopes - 1171110247
>         http://www.TRC-Design.com - "Sua presen=C3=A7a na web =C3=A9 da n=
ossa
>         conta"
>         http://www.THLopes.com - ">> Escrever =3D Ociosidade_Atarefada;"
>         MSN: [email protected]
>=20
--
Ekim Engin <mailto:[email protected]>

Cell: +90 (532) 602 59 41
MSN: [email protected] | ICQ#: 198501695

QOTD: "I've seen better heads on half a pint of beer."