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

"Christopher George" <[email protected]> Wed, 23 Jan 2008 17:34:08 +0000
Newsgroups gmane.linux.hardware.toshiba
Message-ID <[email protected]>
------=_Part_17991_13041121.1201109648626
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

guys i still have problems :(

i did everything as ekim said and got a few error messages.

e.g.
tom@tom-laptop:~$ ndiswrapper -l
WARNING: /etc/modprobe.d/ndiswrapper line 3: ignoring bad line starting wit=
h
'original'
WARNING: /etc/modprobe.d/ndiswrapper line 6: ignoring bad line starting wit=
h
'modified'
net8187b : driver installed
        device (0BDA:8197) present
net8187b.net : invalid driver!
tom@tom-laptop:~$

plus the version of ndiswrapper i can get through package manager is 1.45

tom@tom-laptop:~$ ndiswrapper -v
utils version: 1.9
driver filename:
/lib/modules/2.6.22-14-generic/ubuntu/misc/ndiswrapper/ndiswrapper.ko
version:        1.45
vermagic:       2.6.22-14-generic SMP mod_unload 586
tom@tom-laptop:~$

this is my lsusb:

tom@tom-laptop:~$ lsusb
Bus 007 Device 001: ID 0000:0000
Bus 006 Device 002: ID 0bda:8197 Realtek Semiconductor Corp.
Bus 006 Device 001: ID 0000:0000
Bus 002 Device 001: ID 0000:0000
Bus 005 Device 001: ID 0000:0000
Bus 001 Device 001: ID 0000:0000
Bus 003 Device 001: ID 0000:0000
Bus 004 Device 001: ID 0000:0000
tom@tom-laptop:~$


so i cannot understand what can be wrong. i used the win98 driver for the
rtl8187b wlan stick and still nothing.

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

wireless roaming mode is enabled.

help please. :)


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 drive=
r,
> and blacklist the old ones (if there's).
>
>
> 2008/1/23, Ekim Maurer-Engin <[email protected]>:
>
> > 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 righ=
t
> > now :P).
> >
> > you need ndiswrapper 1.50 or higher (I use 1.51) - obtainable via
> > http://ndiswrapper.sourceforge.net/joomla/
> > or the direct link to the tar.gz:
> >
> > http://sourceforge.net/project/downloading.php?group_id=3D93482&use_mir=
ror=3Dkent&filename=3Dndiswrapper-1.51.tar.gz&67160862
> >
> > untar - configure - make - make install (or use the package manager of
> > your choice if this packages are present for your Linux distribution.
> >
> > get the realtek 8187B drivers only
> > ftp://202.65.194.212/cn/wlan/RTL8187B_driver_only.zip
> >
> > unzip this
> >
> > erease all ndiswrapper entries regarding card
> > root@camelot:~>  ndiswrapper -l
> > net8187b : [somemassage]
> > root@camelot:~>  ndiswrapper -r net8187b
> >
> > reboot for a clean system (yes it can be done without - but no risk is
> > better)
> >
> > talesin@camelot :~> lsusb
> >
> > search for the devicenumber of your WLAN card, most probably this will
> > show so:
> >
> > Bus 003 Device 002: ID 0bda:8197 Realtek Semiconductor Corp.
> >
> > then get root and
> >
> > root@camelot:~> ndiswrapper -i <path_to_win98_drivers>/net8187b.inf
> >
> > root@camelot:~> ndiswrapper -a <device_id>  net8187b
> > In my case it was:
> > root@camelot:~> ndiswrapper -a 0bda:8197 net8187b
> >
> > root@camelot:~> ndiswrapper -m
> > root@camelot:~> modprobe ndiswrapper
> >
> > reboot (maybe it is possible without - but  am just typing how i did it=
)
> >
> > during boot you should see this:
> > ndiswrapper: driver net8187b (Realtek Semiconductor
> > Corp.,07/18/2007,5.1097.0718.2007) loaded
> > 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;
> > AES/CCMP with WPA, WPA2, WPA2PSK
> > usbcore: registered new interface driver ndiswrapper
> >
> > when logged in again
> >
> > talesin@camelot:~> ndiswrapper -l
> > net8187b : driver installed
> >         device (0BDA:8197) present (alternate driver: r8187)
> >
> > do the foloowing only if this does not show up:
> >
> > Look at your /etc/modprobe.d/ndiswrapper
> >
> > you will see a single line,
> > clone this line and modify the structre as follows:
> >
> > original /etc/modprobe.d/ndiswrapper:
> > alias usb:v0BDAp8187d*dc*dsc*dp*ic*isc*ip* ndiswrapper
> >
> > 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
> > alias usb:v0BDAp8197d*dc*dsc*dp*ic*isc*ip* ndiswrapper
> >
> > mainly you just clone and add the other known ids of the card which
> > are 8187,8189,8197
> >
> > now reboot again
> >
> > now you will see the ndismod -l output as it should be.
> >
> > With my experiance NetworkManager can handle the card (at least under
> > KDE).
> >
> > 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
> > system up for 24h without connectivity loss.
> >
> > if any further questions feel free to ask again ;-)
> >
> > Cheers
> > Ekim
> > --
> > Ekim Engin <mailto:[email protected] >
> >
> > Cell: +90 (532) 602 59 41
> > MSN: [email protected] | ICQ#: 198501695
> >
> > QOTD: San Francisco isn't what it used to be, and it never was.
> >                 -- Herb Caen
> >
> >
> >
>
>
> --
>
> Thomas Lopes - 1171110247
> http://www.TRC-Design.com - "Sua presen=E7a na web =E9 da nossa conta"
> http://www.THLopes.com - ">> Escrever =3D Ociosidade_Atarefada;"
> MSN: [email protected]
>

------=_Part_17991_13041121.1201109648626
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

guys i still have problems :(<br><br>i did everything as ekim said and got =
a few error messages. <br><br>e.g.<br>tom@tom-laptop:~$ ndiswrapper -l<br>W=
ARNING: /etc/modprobe.d/ndiswrapper line 3: ignoring bad line starting with=
 &#39;original&#39;
<br>WARNING: /etc/modprobe.d/ndiswrapper line 6: ignoring bad line starting=
 with &#39;modified&#39;<br>net8187b : driver installed<br>&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp; device (0BDA:8197) present<br><a href=3D"http://=
net8187b.net">net8187b.net</a> : invalid driver!
<br>tom@tom-laptop:~$ <br><br>plus the version of ndiswrapper i can get thr=
ough package manager is 1.45<br><br>tom@tom-laptop:~$ ndiswrapper -v<br>uti=
ls version: 1.9<br>driver filename:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /li=
b/modules/2.6.22-14-generic/ubuntu/misc/ndiswrapper/ndiswrapper.ko
<br>version:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1.45<br>vermagic:&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2.6.22-14-generic SMP mod_unload 586 <br>=
tom@tom-laptop:~$ <br><br>this is my lsusb:<br><br>tom@tom-laptop:~$ lsusb<=
br>Bus 007 Device 001: ID 0000:0000&nbsp; <br>Bus 006 Device 002: ID 0bda:8=
197 Realtek Semiconductor Corp.=20
<br>Bus 006 Device 001: ID 0000:0000&nbsp; <br>Bus 002 Device 001: ID 0000:=
0000&nbsp; <br>Bus 005 Device 001: ID 0000:0000&nbsp; <br>Bus 001 Device 00=
1: ID 0000:0000&nbsp; <br>Bus 003 Device 001: ID 0000:0000&nbsp; <br>Bus 00=
4 Device 001: ID 0000:0000&nbsp;=20
<br>tom@tom-laptop:~$ <br><br><br>so i cannot understand what can be wrong.=
 i used the win98 driver for the rtl8187b wlan stick and still nothing.<br>=
<br>network manager shows that i can connect to my network but it doesn`t h=
and out any ip to the laptop :( although my wlan is assigned to wlan0
<br><br>wireless roaming mode is enabled.<br><br>help please. :)<br><br><br=
><div class=3D"gmail_quote">On Jan 23, 2008 5:14 PM, Thomas Lopes &lt;<a hr=
ef=3D"mailto:[email protected]">[email protected]</a>&gt; wrote:<br><bloc=
kquote class=3D"gmail_quote" style=3D"border-left: 1px solid rgb(204, 204, =
204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
In Ubuntu you won&#39;t need to download and make a ndiswrapper. You can do=
wnload it with synaptic. But you need to configure it to use your driver, a=
nd blacklist the old ones (if there&#39;s).<br><br><br><div><div class=3D"I=
h2E3d">
<span class=3D"gmail_quote">
2008/1/23, Ekim Maurer-Engin &lt;<a href=3D"mailto:[email protected]" ta=
rget=3D"_blank">[email protected]</a>&gt;:</span></div><div><div></div><=
div class=3D"Wj3C7c"><blockquote class=3D"gmail_quote" style=3D"border-left=
: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1e=
x;">

I am not sure how ubuntu handles it - therefore here a more global<br>instr=
uction. I made my card work with this (actually i am using it right<br>now =
:P).<br><br>you need ndiswrapper 1.50 or higher (I use 1.51) - obtainable v=
ia
<br><a href=3D"http://ndiswrapper.sourceforge.net/joomla/" target=3D"_blank=
">http://ndiswrapper.sourceforge.net/joomla/</a><br>or the direct link to t=
he tar.gz:<br><a href=3D"http://sourceforge.net/project/downloading.php?gro=
up_id=3D93482&amp;use_mirror=3Dkent&amp;filename=3Dndiswrapper-1.51.tar.gz&=
amp;67160862" target=3D"_blank">

http://sourceforge.net/project/downloading.php?group_id=3D93482&amp;use_mir=
ror=3Dkent&amp;filename=3Dndiswrapper-1.51.tar.gz&amp;67160862</a><br><br>u=
ntar - configure - make - make install (or use the package manager of<br>yo=
ur choice if this packages are present for your Linux distribution.
<br><br>get the realtek 8187B drivers only<br><a href=3D"ftp://202.65.194.2=
12/cn/wlan/RTL8187B_driver_only.zip" target=3D"_blank">ftp://202.65.194.212=
/cn/wlan/RTL8187B_driver_only.zip</a><br><br>unzip this<br><br>erease all n=
diswrapper entries regarding card
<br>root@camelot:~&gt;&nbsp;&nbsp;ndiswrapper -l<br>net8187b : [somemassage=
]<br>root@camelot:~&gt;&nbsp;&nbsp;ndiswrapper -r net8187b<br><br>reboot fo=
r a clean system (yes it can be done without - but no risk is<br>better)<br=
><br>talesin@camelot

:~&gt; lsusb<br><br>search for the devicenumber of your WLAN card, most pro=
bably this will<br>show so:<br><br>Bus 003 Device 002: ID 0bda:8197 Realtek=
 Semiconductor Corp.<br><br>then get root and<br><br>root@camelot:~&gt; ndi=
swrapper -i &lt;path_to_win98_drivers&gt;/net8187b.inf
<br><br>root@camelot:~&gt; ndiswrapper -a &lt;device_id&gt;&nbsp;&nbsp;net8=
187b<br> In my case it was:<br> root@camelot:~&gt; ndiswrapper -a 0bda:8197=
 net8187b<br><br>root@camelot:~&gt; ndiswrapper -m<br>root@camelot:~&gt; mo=
dprobe ndiswrapper
<br><br>reboot (maybe it is possible without - but&nbsp;&nbsp;am just typin=
g how i did it)<br><br>during boot you should see this:<br>ndiswrapper: dri=
ver net8187b (Realtek Semiconductor<br>Corp.,07/18/2007,5.1097.0718.2007) l=
oaded
<br>
wlan0: ethernet device 00:16:44:1d:39:84 using NDIS driver: net8187b,<br>ve=
rsion: 0x1, NDIS version: 0x500, vendor: &#39;NDIS Network Adapter&#39;,<br=
>0BDA:8197.F.conf<br>wlan0: encryption modes supported: WEP; TKIP with WPA,=
 WPA2, WPA2PSK;
<br>AES/CCMP with WPA, WPA2, WPA2PSK<br>usbcore: registered new interface d=
river ndiswrapper<br><br>when logged in again<br><br>talesin@camelot:~&gt; =
ndiswrapper -l<br>net8187b : driver installed<br>&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;device (0BDA:8197) present (alternate driver: r8187)
<br><br>do the foloowing only if this does not show up:<br><br> Look at you=
r /etc/modprobe.d/ndiswrapper<br><br> you will see a single line,<br> clone=
 this line and modify the structre as follows:<br><br> original /etc/modpro=
be.d/ndiswrapper:
<br> alias usb:v0BDAp8187d*dc*dsc*dp*ic*isc*ip* ndiswrapper<br><br> modifie=
d /etc/modprobe.d/ndiswrapper:<br> alias usb:v0BDAp8187d*dc*dsc*dp*ic*isc*i=
p* ndiswrapper<br> alias usb:v0BDAp8189d*dc*dsc*dp*ic*isc*ip* ndiswrapper
<br> alias usb:v0BDAp8197d*dc*dsc*dp*ic*isc*ip* ndiswrapper<br><br> mainly =
you just clone and add the other known ids of the card which<br> are 8187,8=
189,8197<br><br> now reboot again<br><br>now you will see the ndismod -l ou=
tput as it should be.
<br><br>With my experiance NetworkManager can handle the card (at least und=
er<br>KDE).<br><br>Thereis a minor stability bug i encounter - the connecti=
on breaks up after a while of inactivity - I plainly run a ping &lt;mygatew=
ayip&gt; &gt;/dev/null in background
<br>system up for 24h without connectivity loss.<br><br>if any further ques=
tions feel free to ask again ;-)<br><br>Cheers<br>Ekim<br>--<br>Ekim Engin =
&lt;mailto:<a href=3D"mailto:[email protected]" target=3D"_blank">talesi=
[email protected]
</a>
&gt;<br><br>Cell: +90 (532) 602 59 41<br>MSN: <a href=3D"mailto:talesin@tal=
esoft.net" target=3D"_blank">[email protected]</a> | ICQ#: 198501695<br>=
<br>QOTD: San Francisco isn&#39;t what it used to be, and it never was.<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;-- Herb Caen
<br><br><br></blockquote></div></div></div><br><br clear=3D"all"><br>-- <di=
v><div></div><div class=3D"Wj3C7c"><br>Thomas Lopes - 1171110247<br><a href=
=3D"http://www.TRC-Design.com" target=3D"_blank">http://www.TRC-Design.com<=
/a>
 - &quot;Sua presen=E7a na web =E9 da nossa conta&quot;<br><a href=3D"http:=
//www.THLopes.com" target=3D"_blank">
http://www.THLopes.com</a> - &quot;&gt;&gt; Escrever =3D Ociosidade_Atarefa=
da;&quot;<br>MSN: <a href=3D"mailto:[email protected]" target=3D"_blank=
">[email protected]</a>
</div></div></blockquote></div><br>

------=_Part_17991_13041121.1201109648626--