2010-11-09 03:25:01

by Yermandu Patapitafious

[permalink] [raw]
Subject: RTL8187/8189

Hellow people, i buy an notebooks with the rtl8187b card.
I have heavyly test several ways to connect but the connection can not
be stabilize a connection.
I try with wep, wap, without pass. Nothing works with this card.

Identify card

# lsusb

```
Bus 002 Device 002: ID 0bda:8189 Realtek Semiconductor Corp. RTL8187B
Wireless 802.11g 54Mbps Network Adapter
```

I wanna give the atention for ID Card: 0bda:**8189**

This is not 0bda:8187 or 0bda:8197. Why i saying this? Because i
research in the web and discover some people can get work with
0bda:8187 using linux kernel native module driver. But i can not
really make connection i think something wrong with this card or
module or maybe not, i dont know.

When i set the AP with pass i got this error:

# iwconfig wlan0 essid "MyEssid" key s:asciikey

Error for wireless request "Set Encode" (8B2A) :
???? SET failed on device wlan0 ; Invalid argument.

Using wep, wap or nopass.

?

I subscribe the ht tps: //qa.? mandriva? .com/ show_bug.cgi?id= 39334
a bug open related with this problem. Recently we have a notice in
comment #11 to try use with ndiswrapper

```

ndiswrapper -a 0bda:8197 net8187b

```
But i can not force to use 0bda:8197 instead 0bda:8189:

```
# ndiswrapper -a 0bda:8197 net8187b
Driver 'net8187b' is already used for '0BDA:8197'

# ndiswrapper -l
net8187b : driver installed
??????? device (0BDA:8189) present (alternate driver: rtl8187)
```

But this can not be donned, it persist to use 8189 and not 8197 as related.

I don't know anyone else with this same model of card, and how we can
do more tests. I hope someone can help us.

Im using

Linux? 2.6.33.7-rt29 #7 SMP PREEMPT RT Tue Nov 2 23:41:52 BRST 2010
x86_64 Pentium(R) Dual-Core CPU T4200 @ 2.00GHz GenuineIntel GNU/Linux

I test in the Ubuntu, Mandriva and Arch and no lucky. I try in Gentoo
too with kernel 2.6.36-wl+ (git version), same issues.


Links:

lsusb-verbose.log:? ht tp pastebin . ca/1985873
Windows 7 X64 driver: ht tp? filebin . ca /ogzobt/ Win7X64.tar.gz
lsmod : paste.pocoo .org/ show/288123

RTL8187b mandriva bug: ht? tps: //? qa.? mandriva? .com/
show_bug.cgi?id? =39334


So pp that's it.

Regards,
yermandu


2010-11-09 13:05:49

by Larry Finger

[permalink] [raw]
Subject: Re: RTL8187/8189

On 11/08/2010 09:25 PM, Yermandu Patapitafious wrote:
> Hellow people, i buy an notebooks with the rtl8187b card.
> I have heavyly test several ways to connect but the connection can not
> be stabilize a connection.
> I try with wep, wap, without pass. Nothing works with this card.
>
> Identify card
>
> # lsusb
>
> ```
> Bus 002 Device 002: ID 0bda:8189 Realtek Semiconductor Corp. RTL8187B
> Wireless 802.11g 54Mbps Network Adapter
> ```
>
> I wanna give the atention for ID Card: 0bda:**8189**
>
> This is not 0bda:8187 or 0bda:8197. Why i saying this? Because i
> research in the web and discover some people can get work with
> 0bda:8187 using linux kernel native module driver. But i can not
> really make connection i think something wrong with this card or
> module or maybe not, i dont know.

Driver rtl8187 should work for this device.

> When i set the AP with pass i got this error:
>
> # iwconfig wlan0 essid "MyEssid" key s:asciikey
>
> Error for wireless request "Set Encode" (8B2A) :
> SET failed on device wlan0 ; Invalid argument.
>
> Using wep, wap or nopass.

AFAIK, that has never worked.

> I subscribe the ht tps: //qa. mandriva .com/ show_bug.cgi?id= 39334
> a bug open related with this problem. Recently we have a notice in
> comment #11 to try use with ndiswrapper
>
> ```
>
> ndiswrapper -a 0bda:8197 net8187b
>
> ```
> But i can not force to use 0bda:8197 instead 0bda:8189:

Your device has the USB ID 0bda:8189. That is built into the device. You cannot
force it to be anything else.

> ```
> # ndiswrapper -a 0bda:8197 net8187b
> Driver 'net8187b' is already used for '0BDA:8197'
>
> # ndiswrapper -l
> net8187b : driver installed
> device (0BDA:8189) present (alternate driver: rtl8187)
> ```
>
> But this can not be donned, it persist to use 8189 and not 8197 as related.
>
> I don't know anyone else with this same model of card, and how we can
> do more tests. I hope someone can help us.
>
> Im using
>
> Linux 2.6.33.7-rt29 #7 SMP PREEMPT RT Tue Nov 2 23:41:52 BRST 2010
> x86_64 Pentium(R) Dual-Core CPU T4200 @ 2.00GHz GenuineIntel GNU/Linux
>
> I test in the Ubuntu, Mandriva and Arch and no lucky. I try in Gentoo
> too with kernel 2.6.36-wl+ (git version), same issues.

It appears that you are not using NetworkManager. If that is true, then I think
you should be preparing the correct ifcfg file for whatever distro you are
using. The hexadecimal key for WEP should be there. A passphrase almost never
works there. If you want to use WPA or WPA2, then you can use a phrase; however,
you will need to install wpa_supplicant and the appropriate configuration file.

To test is your device is working, get rid of ndiswrapper, allow rtl8187 to
load, and (as root) run the command 'iwlist scan'. If you can see your AP, then
the device is likely OK.

You should pick one of the distros you mention, and post a request for wireless
configuration on their help forum. I do not use any of them, and I'm not
familiar with their specific configuration.

I also recommend using NetworkManager. It makes wireless setup much easier.

Larry

2010-11-09 20:53:15

by Rogerio Luz Coelho

[permalink] [raw]
Subject: Re: RTL8187/8189

2010/11/9 Larry Finger <[email protected]>:
> On 11/08/2010 09:25 PM, Yermandu Patapitafious wrote:
>> Hellow people, i buy an notebooks with the rtl8187b card.
>> I have heavyly test several ways to connect but the connection can not
>> be stabilize a connection.
>> I try with wep, wap, without pass. Nothing works with this card.
>>
>> Identify card
>>
>> # lsusb
>>
>> ```
>> Bus 002 Device 002: ID 0bda:8189 Realtek Semiconductor Corp. RTL8187B
>> Wireless 802.11g 54Mbps Network Adapter
>> ```
>>
>> I wanna give the atention for ID Card: 0bda:**8189**
>>
>> This is not 0bda:8187 or 0bda:8197. Why i saying this? Because i
>> research in the web and discover some people can get work with
>> 0bda:8187 using linux kernel native module driver. But i can not
>> really make connection i think something wrong with this card or
>> module or maybe not, i dont know.
>
> Driver rtl8187 should work for this device.
>
>> When i set the AP with pass i got this error:
>>
>> # iwconfig wlan0 essid "MyEssid" key s:asciikey
>>
>> Error for wireless request "Set Encode" (8B2A) :
>> ? ? ?SET failed on device wlan0 ; Invalid argument.
>>
>> Using wep, wap or nopass.
>
> AFAIK, that has never worked.
>
>> I subscribe the ht tps: //qa. ?mandriva ?.com/ show_bug.cgi?id= 39334
>> a bug open related with this problem. Recently we have a notice in
>> comment #11 to try use with ndiswrapper
>>
>> ```
>>
>> ndiswrapper -a 0bda:8197 net8187b
>>
>> ```
>> But i can not force to use 0bda:8197 instead 0bda:8189:
>
> Your device has the USB ID 0bda:8189. That is built into the device. You cannot
> force it to be anything else.
>
>> ```
>> # ndiswrapper -a 0bda:8197 net8187b
>> Driver 'net8187b' is already used for '0BDA:8197'
>>
>> # ndiswrapper -l
>> net8187b : driver installed
>> ? ? ? ? device (0BDA:8189) present (alternate driver: rtl8187)
>> ```
>>
>> But this can not be donned, it persist to use 8189 and not 8197 as related.
>>
>> I don't know anyone else with this same model of card, and how we can
>> do more tests. I hope someone can help us.
>>
>> Im using
>>
>> Linux ?2.6.33.7-rt29 #7 SMP PREEMPT RT Tue Nov 2 23:41:52 BRST 2010
>> x86_64 Pentium(R) Dual-Core CPU T4200 @ 2.00GHz GenuineIntel GNU/Linux
>>
>> I test in the Ubuntu, Mandriva and Arch and no lucky. I try in Gentoo
>> too with kernel 2.6.36-wl+ (git version), same issues.
>
> It appears that you are not using NetworkManager. If that is true, then I think
> you should be preparing the correct ifcfg file for whatever distro you are
> using. The hexadecimal key for WEP should be there. A passphrase almost never
> works there. If you want to use WPA or WPA2, then you can use a phrase; however,
> you will need to install wpa_supplicant and the appropriate configuration file.
>
> To test is your device is working, get rid of ndiswrapper, allow rtl8187 to
> load, and (as root) run the command 'iwlist scan'. If you can see your AP, then
> the device is likely OK.
>
> You should pick one of the distros you mention, and post a request for wireless
> configuration on their help forum. I do not use any of them, and I'm not
> familiar with their specific configuration.
>
> I also recommend using NetworkManager. It makes wireless setup much easier.
>
> Larry
> --

Hello Yarmandu ...

I am currenly using my 8187b chip card with WPA2 encription on a
Ubuntu 10.10 64bit machine ... I use WICD as network manager and I get
better results with it than with Networkmanager on this chip
(Networlkmanager does not bring wireless up after resume, wicd does)

Please install Ubuntu 10.10 64bit, install wicd configure your wi-fi
network (should be wlan0 ) and try to connect as you stand IMEDIATELLY
BESIDE the wi-fi router.

DO NOT install ndiswrapper ...

If you get a connection please go 10-15m away from the router and see
if it connects ...

Post errors ...

Thanks

Rogerio

2010-11-14 16:52:37

by Yermandu Patapitafious

[permalink] [raw]
Subject: Re: RTL8187/8189

Hi everybody i update the kernel to 2.6.37-rc1-wl+,
So i tried again, the new updates makes magics :-) , finally we get a
connection with good speed. Apparently the connection isnt stable, i
dont make much tests, but now we can connect to AP using wap2.

Finally,

We really appreciate the team's efforts. Good Luck to all.

Hugs

--
yermandu