Wireless card Realtek 8187

I have a Toshiba Satellite L305-SP6944C, Pentium Dual Core 2.16, 2GB RAM, 160GB hard drive, DVD-RAM UJ880AS, display 15.6 TFT widescreen, ethernet Realtek RTL8101E/RTL8102E PCI Express, WLAN Realtek RLT8187, Opensuse 11.2 and KDE 4.3.1.
Installation was OK and finally the wireless card is working… but I don’t have conectivity bacause in the browser (Firefox) appears a message saying “the server can’t be found”
I follow the howto write by Swerdna ](http://opensuse.swerdna.org) (Thanks a lot man your e-mail help me very much).
With ndiswrapper I install the XP driver for RLT8187, KnetworkManager is in charge of connections showing both eth0 and wlan0, the wireless sign of router Dlink DIR-280 is OK, in the dialog box of network connection I put the mac address of the wlan card but I think that is not the problem.
I hope someone can help me to this little issue.
Other thing that I missed is that I don’t find boot.ini at any directory to add modprobe ndiswrapper in the boot sequence, in etc/init.d/ appears a “boot” file, is this file that I have to change to modprobe ndiswrapper??
Thanks for the help,
Adolfo Gonzalez
Linux User #410608

Are you using encryption? I don’t understand some of what you wrote. It sounds like suse is using your wireless card and can see your router. Do you have a cable going to the router at the same time you are using wireless? Is your router “sign” really the wireless or could it be ethernet?

Assuming you are connecting to the router by wireless, when you click on the NetworkManager icon, the dialog box may be asking not for your mac address but your encryption password.

Did you set up the card for DHCP?

Is Firefox looking for a proxy that you are not using?
When you set up your wireless card, did you tell it to look to your router as your DNS server?

At one time or another, I did everyone of these wrong. There are probably a couple more I can’t remember

sorry for a late answer, too bussy.
Mi problem is wireless work OK buy I don’t have internet, firefox says “server not found”.

In KNetworkManager the wireless card configuration is this (sorry but my language is spanish, I try to most accurate possible):
Name connection: XXXXX
check on conect automatically
Tab wireless:
SSID: xxxx (same as the ruoter)
Mode: Ad-hoc
BSSID: XX XX XX XX XX XX (looks like a mac address, but is
different of addresses of eth0 and wlano on router)
Restrict to interface: WLAN INTERFACE (wlano)
MTU: automatic
Tab wireless security
Security: WEP
Type of password: pass phrase? (128 bits)
Password: 26 digit password (the same on the router)
WEP index: 1 (default)
Authentication: share password (clave compartida)
Tab IP direction:
Configure: automatic DHCP
DNS Servers: 2 IP directions thatr appears on router as DNS
server for WLAN
DHCP Client ID: Blank, I don’t know what put in there

Firefox is configuated with no proxy
Is enogh with this? do you more data?
Thanks for your help

On 12/12/2009 07:16 AM, fito2007 wrote:
>
> sorry for a late answer, too bussy.
> Mi problem is wireless work OK buy I don’t have internet, firefox says
> “server not found”.
> ----------------------------------------------
> In KNetworkManager the wireless card configuration is this (sorry but
> my language is spanish, I try to most accurate possible):
> Name connection: XXXXX
> check on conect automatically
> Tab wireless:
> SSID: xxxx (same as the ruoter)
> Mode: Ad-hoc
> BSSID: XX XX XX XX XX XX (looks like a mac address, but is
> different of addresses of eth0 and wlano on router)
> Restrict to interface: WLAN INTERFACE (wlano)
> MTU: automatic
> Tab wireless security
> Security: WEP
> Type of password: pass phrase? (128 bits)
> Password: 26 digit password (the same on the router)
> WEP index: 1 (default)
> Authentication: share password (clave compartida)
> Tab IP direction:
> Configure: automatic DHCP
> DNS Servers: 2 IP directions thatr appears on router as DNS
> server for WLAN
> DHCP Client ID: Blank, I don’t know what put in there

From what you posted, it looks as if the wireless has associated and
authenticated correctly and you are being affected by the routing or
DHCP bugs.

What is the result of the ‘/sbin/route -n’ command? It should look like

Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.0 0.0.0.0 255.255.255.0 U 2 0 0 wlan0
0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 wlan0

The first of these describes how to reach the local network, and the
second is for everything else. The 192.168.1.X should match the
addresses of your LAN. The fix for this problem is in the repos and
the problem would be fixed if you do an update.

If the routing table is OK, then you have a problem with
/etc/resolv.conf. Test this by the following commands:

ping -c 3 66.102.7.104
ping -c 3 www.google.com

If the first one works and the second fails, delete /etc/resolv.conf
and remake the connection.

Are you still using ndiswrapper and the Windows driver? If so, please
get rid of it and use the native rtl8187 driver. The built-in driver
is not causing this problem.

result of the ‘/sbin/route -n’ command (doesn’t appears wlan0!):
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 192.168.0.1 0.0.0.0 UG 0 0 0 eth0

ping -c 3 66.102.7.104
ping -c 3 Google
work OK, these are de results:

ping -c 3 66.102.7.104
PING 66.102.7.104 (66.102.7.104) 56(84) bytes of data.
64 bytes from 66.102.7.104: icmp_seq=1 ttl=50 time=172 ms
64 bytes from 66.102.7.104: icmp_seq=2 ttl=49 time=173 ms
64 bytes from 66.102.7.104: icmp_seq=3 ttl=49 time=173 ms

— 66.102.7.104 ping statistics —
3 packets transmitted, 3 received, 0% packet loss, time 2002ms
rtt min/avg/max/mdev = 172.134/172.798/173.251/0.479 ms

ping -c 3 Google

PING Google (74.125.45.106) 56(84) bytes of data.
64 bytes from yx-in-f106.1e100.net (74.125.45.106): icmp_seq=1 ttl=49 time=124 ms
64 bytes from yx-in-f106.1e100.net (74.125.45.106): icmp_seq=2 ttl=50 time=122 ms
64 bytes from yx-in-f106.1e100.net (74.125.45.106): icmp_seq=3 ttl=49 time=123 ms

Google ping statistics —
3 packets transmitted, 3 received, 0% packet loss, time 2003ms
rtt min/avg/max/mdev = 122.351/123.432/124.045/0.867 ms


I’m gonna ninstall ndiswapper and the XP driver, I let you not.
Thanks for your help

On 12/12/2009 09:16 PM, fito2007 wrote:
>
> result of the ‘/sbin/route -n’ command (doesn’t appears wlan0!):
> Kernel IP routing table
> Destination Gateway Genmask Flags Metric Ref Use
> Iface
> 192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0
> eth0
> 169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0
> eth0
> 127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0
> lo
> 0.0.0.0 192.168.0.1 0.0.0.0 UG 0 0 0
> eth0
> ------------
> ping -c 3 66.102.7.104
> ping -c 3 ‘Google’ (http://www.google.com)
> work OK, these are de results:
>
> ping -c 3 66.102.7.104
> PING 66.102.7.104 (66.102.7.104) 56(84) bytes of data.
> 64 bytes from 66.102.7.104: icmp_seq=1 ttl=50 time=172 ms
> 64 bytes from 66.102.7.104: icmp_seq=2 ttl=49 time=173 ms
> 64 bytes from 66.102.7.104: icmp_seq=3 ttl=49 time=173 ms
>
> — 66.102.7.104 ping statistics —
> 3 packets transmitted, 3 received, 0% packet loss, time 2002ms
> rtt min/avg/max/mdev = 172.134/172.798/173.251/0.479 ms
> --------------
> ping -c 3 ‘Google’ (http://www.google.com)
>
> PING ‘Google’ (http://www.l.google.com) (74.125.45.106) 56(84) bytes of
> data.
> 64 bytes from yx-in-f106.1e100.net (74.125.45.106): icmp_seq=1 ttl=49
> time=124 ms
> 64 bytes from yx-in-f106.1e100.net (74.125.45.106): icmp_seq=2 ttl=50
> time=122 ms
> 64 bytes from yx-in-f106.1e100.net (74.125.45.106): icmp_seq=3 ttl=49
> time=123 ms
>
> — ‘Google’ (http://www.l.google.com) ping statistics —
> 3 packets transmitted, 3 received, 0% packet loss, time 2003ms
> rtt min/avg/max/mdev = 122.351/123.432/124.045/0.867 ms
>
> --------------------
> I’m gonna ninstall ndiswapper and the XP driver, I let you not.
> Thanks for your help

This is all for the wired driver and everything works!! You need to
unplug the wire before you try to configure the wireless. I don’t
think ndiswrapper will help.

lwfinger:

first to all I have to apologize, the data that I give you in my previous post was obteined from my desktop computer (that happens when works al 2.00 am without a good sleep time).:shame:

Cheking the laptop I have this results:

sbin/route -n: I don’t have any data on the kernel IP routing table is absolutely blank

ping -c 3 66.102.7.104; message “network is unreachable”
ping -c 3 Google message: “unknown host www.google.com

Can you tell what can I configure this parameters?

Thanks a lot.

First of all, once you get on-line and do an update, this problem will
be fixed. In the meantime, open a terminal and issue the command ‘su
-’. Once you put in your root password, you should enter the following
commands:


route  add  -net  192.168.0.0  netmask  255.255.255.0  dev  wlan0
route  add  default  gw  192.168.0.1
ping -c 3 192.168.0.1
ping  -c  3  66.102.7.104
ping  -c  3  www.google.com

thanks for the help, the route commands work OK, now I have the following:

destination gateway genmask flags metric ref use Iface
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 wlan
0.0.0.0 192.168.0.1 0.0.0.0 UG 0 0 0 wlan

But with the ping commands the history is different, in both cases fail, “destination host unreachable” from 192.168.0.1 and “unknown host” for Google
What I did wrong?
Thanks

On 12/13/2009 11:26 AM, fito2007 wrote:
>
> thanks for the help, the route commands work OK, now I have the
> following:
>
>
> destination gateway genmask flags metric ref use Iface
> 192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 wlan
> 0.0.0.0 192.168.0.1 0.0.0.0 UG 0 0 0 wlan
>
> But with the ping commands the history is different, in both cases
> fail, “destination host unreachable” from 192.168.0.1 and “unknown host”
> for ‘Google’ (http://www.google.com)
> What I did wrong?

You did not type what I wrote. Using wlan is not the same as wlan0.

Something weird happens, when I try to run the command route as you gave me appears this message: “SIOCADDRT: la red no està activa” (network is not active)

On 12/14/2009 08:16 PM, fito2007 wrote:
>
> Something weird happens, when I try to run the command route as you gave
> me appears this message: “SIOCADDRT: la red no està activa” (network is
> not active)

You need to have made the connection the way you did before.

:’(
I can’t make it works!!! Wireless is defeating me!!!
Can you help me lwfinger? I think that I need is explanations in baby steps, I follow your instructions step by step but I can’t have wireless internet. The same data that I have in the wireless section of the router I had replicated in the KNetworkManager, even when I have done chances on WEP/WAP/passwords I had replicated on the wireless settings.
What I have done wrong? or you need that I give more accurate information?
Thanks for your time and patince.
Adolfo

On 12/17/2009 07:46 PM, fito2007 wrote:
>
> :’(
> I can’t make it works!!! Wireless is defeating me!!!
> Can you help me lwfinger? I think that I need is explanations in baby
> steps, I follow your instructions step by step but I can’t have wireless
> internet. The same data that I have in the wireless section of the
> router I had replicated in the KNetworkManager, even when I have done
> chances on WEP/WAP/passwords I had replicated on the wireless settings.
> What I have done wrong? or you need that I give more accurate
> information?

Are you controlling the wireless with NetworkManager or ifup? If the
latter, please switch it.

Next, please post the output of the following commands:

sudo /usr/sbin/iwlist scan
/usr/sbin/iwconfig
dmesg | grep rtl

Next, use the NM applet in the lower-right hand corner of the screen
and click on “Manage Connections”. Delete all connections in the
wireless section. Assuming that the scan above shows your AP, then
make a new connection. If you do not see anythin with the scan, please
report that.

...iwlist scan

lo        Interface doesn't support scanning.   

eth0      Interface doesn't support scanning.

wmaster0  Interface doesn't support scanning.

wlan0     Scan completed :
          Cell 01 - Address: 00:21:91:4A:73:EA
                    Channel:11                
                    Frequency:2.462 GHz (Channel 11)
                    Quality=67/70  Signal level=-43 dBm  
                    Encryption key:on                    
                    ESSID:"linux"                        
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
                              9 Mb/s; 12 Mb/s; 18 Mb/s                 
                    Bit Rates:24 Mb/s; 36 Mb/s; 48 Mb/s; 54 Mb/s       
                    Mode:Master                                        
                    Extra:tsf=000000345405419b                         
                    Extra: Last beacon: 393ms ago                      
                    IE: Unknown: 00056C696E7578                        
                    IE: Unknown: 010882848B960C121824                  
                    IE: Unknown: 03010B                                
                    IE: Unknown: 2A0100                                
                    IE: Unknown: 32043048606C                          
                    IE: WPA Version 1
                        Group Cipher : CCMP
                        Pairwise Ciphers (1) : CCMP
                        Authentication Suites (1) : 802.1x
                    IE: Unknown: DD180050F2020101000003A4000027A4000042435E0062322F00
                    IE: Unknown: DD0700E04C01020300
          Cell 02 - Address: 00:1E:73:4B:4D:9C
                    Channel:1
                    Frequency:2.412 GHz (Channel 1)
                    Quality=41/70  Signal level=-69 dBm
                    Encryption key:on
                    ESSID:"Francisco"
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s
                    Bit Rates:6 Mb/s; 9 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s
                              36 Mb/s; 48 Mb/s; 54 Mb/s
                    Mode:Master
                    Extra:tsf=000000256f8f56dc
                    Extra: Last beacon: 1950ms ago
                    IE: Unknown: 00094672616E636973636F
                    IE: Unknown: 010482848B96
                    IE: Unknown: 030101
                    IE: Unknown: 050400010000
                    IE: Unknown: 2A0104
                    IE: Unknown: 32080C1218243048606C
---------------------------
...iwconfig
lo        no wireless extensions.

eth0      no wireless extensions.

wmaster0  no wireless extensions.

wlan0     IEEE 802.11bg  ESSID:""
          Mode:Managed  Frequency:2.412 GHz  Access Point: Not-Associated
          Tx-Power=20 dBm
          Retry  long limit:7   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality:0  Signal level:0  Noise level:0
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0
--------------------------
dmesg | grep rtl
    9.957419] phy0: hwaddr 00:22:5f:d9:a0:1b, RTL8187BvE V0 + rtl8225z2
    9.978967] rtl8187: Customer ID is 0x04
    9.979034] Registered led device: rtl8187-phy0::tx
    9.979053] Registered led device: rtl8187-phy0::rx
    9.979077] usbcore: registered new interface driver rtl8187
---------------------

In NetworkManager I do what you say, I delete the connections in wireless section.
I make a new connection but don't work, my wireless conection is shown OK, appears with 100%, but now shows in the column "security" as WPA-EAP, I had configurated on router as WEP (128-bit encryption) and that is the data that I put in the new connection that I made. What I do, change to WEP or I keep WPA-EAP? and what are the parameters to keep the data as WPA?
Thanks a lot.

On 12/19/2009 11:36 AM, fito2007 wrote:
> In NetworkManager I do what you say, I delete the connections in
> wireless section.
> I make a new connection but don’t work, my wireless conection is shown
> OK, appears with 100%, but now shows in the column “security” as
> WPA-EAP, I had configurated on router as WEP (128-bit encryption) and
> that is the data that I put in the new connection that I made. What I
> do, change to WEP or I keep WPA-EAP? and what are the parameters to keep
> the data as WPA?

If “francisco” is your AP, then you need to use WEP; however, if
“linux” is your AP, then it is encrypted with WPA. The encryption keys
MUST match.

In the router have a problem: I can’t put a password, this message appears: “Error! Invalid RADIUS server IP!” I don know what value put in there, this is section with troubles:

Cipher Type : AES
PSK / EAP : EAP
Network Key : (8~63 ASCII or 64 HEX)
802.1X
RADIUS Server
IP Address : no data on this
Port : 1812
Shared Secret : no data on this

On 12/19/2009 12:26 PM, fito2007 wrote:
>
> In the router have a problem: I can’t put a password, this message
> appears: “Error! Invalid RADIUS server IP!” I don know what value put in
> there, this is section with troubles:
>
> Cipher Type : AES
> PSK / EAP : EAP
> Network Key : (8~63 ASCII or 64 HEX)
> 802.1X
> RADIUS Server
> IP Address : no data on this
> Port : 1812
> Shared Secret : no data on this

When you use a RADIUS server, the authentication is handled by a
separate server. Presumably, you want to select either WPA/PSK or
WPA2/PSK.

That you recommended does not work. I try a combination of the parameters that you give me: WPA, WPA2 and WPA/WPA2, all of it with Cypher (TKIP and AES) and PSK, and probe with WEP too but doesn’t work.
Maybe something is worng with the wireless card or the antenna? Can you sugest me another way to proceed?
Thanks for all your help.

On 12/20/2009 06:26 PM, fito2007 wrote:
>
> That you recommended does not work. I try a combination of the
> parameters that you give me: WPA, WPA2 and WPA/WPA2, all of it with
> Cypher (TKIP and AES) and PSK, and probe with WEP too but doesn’t work.
> Maybe something is worng with the wireless card or the antenna? Can you
> sugest me another way to proceed?
> Thanks for all your help.

I don’t think there is any problem with your hardware. At one time in
this thread, you had associated and authenticated, which says your
card is OK. You have done so many things since then that I’ve lost
track. Set simple WPA PSK encryption on the router, delete the
connection in NetworkManager and create a new one using that pass
phrase. Then try to connect. After you do that, post the results of

/usr/sbin/iwconfig