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

"Thomas Lopes" <[email protected]> Wed, 23 Jan 2008 15:14:43 -0200
Newsgroups gmane.linux.hardware.toshiba
Message-ID <[email protected]>
------=_Part_11873_12446916.1201108483969
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

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).


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 right
> 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_mirro=
r=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 afte=
r
> 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
>
>
>


--=20
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_11873_12446916.1201108483969
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

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><span class=3D"=
gmail_quote">
2008/1/23, Ekim Maurer-Engin &lt;<a href=3D"mailto:[email protected]">ta=
[email protected]</a>&gt;:</span><blockquote class=3D"gmail_quote" style=
=3D"border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; p=
adding-left: 1ex;">
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/">http://ndiswrapp=
er.sourceforge.net/joomla/</a><br>or the direct link to the tar.gz:<br><a h=
ref=3D"http://sourceforge.net/project/downloading.php?group_id=3D93482&amp;=
use_mirror=3Dkent&amp;filename=3Dndiswrapper-1.51.tar.gz&amp;67160862">
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">ftp://202.65.194.212/cn/wlan/RTL8187B_=
driver_only.zip</a><br><br>unzip this<br><br>erease all ndiswrapper 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]">[email protected]</a>
&gt;<br><br>Cell: +90 (532) 602 59 41<br>MSN: <a href=3D"mailto:talesin@tal=
esoft.net">[email protected]</a> | ICQ#: 198501695<br><br>QOTD: San Fran=
cisco 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;&nbsp;&nbsp;&nbsp;&nb=
sp;-- Herb Caen
<br><br><br></blockquote></div><br><br clear=3D"all"><br>-- <br>Thomas Lope=
s - 1171110247<br><a href=3D"http://www.TRC-Design.com">http://www.TRC-Desi=
gn.com</a> - &quot;Sua presen=E7a na web =E9 da nossa conta&quot;<br><a hre=
f=3D"http://www.THLopes.com">
http://www.THLopes.com</a> - &quot;&gt;&gt; Escrever =3D Ociosidade_Atarefa=
da;&quot;<br>MSN: <a href=3D"mailto:[email protected]">redcatmetal@gmai=
l.com</a>

------=_Part_11873_12446916.1201108483969--