Realtek RTL8187B connects to network but no internet

Hey friends

Got a laptop with a RTL8187B wlan card, installed opensuse 11.2 on a 50gb partition. Card was detected straight away but only connects when I enter ip addresses manually, DHCP don’t work.

When it is connected it always stays at a speed of 1mb/s and it cannot ping my router or anything else.

Me kernel is 2.6.31.8-0.1-desktop

Searched around the forums but no love, tried compat-wireless but it started crying about dependencies. Modprobed it too…

Help would be lovely been at it for a few days now, some website said that the 11.1 kernel is supposed to support it.

On 01/07/2010 11:36 AM, kirbyfan89 wrote:
>
> Hey friends
>
> Got a laptop with a RTL8187B wlan card, installed opensuse 11.2 on a
> 50gb partition. Card was detected straight away but only connects when I
> enter ip addresses manually, DHCP don’t work.
>
> When it is connected it always stays at a speed of 1mb/s and it cannot
> ping my router or anything else.
>
> Me kernel is 2.6.31.8-0.1-desktop
>
> Searched around the forums but no love, tried compat-wireless but it
> started crying about dependencies. Modprobed it too…
>
> Help would be lovely been at it for a few days now, some website said
> that the 11.1 kernel is supposed to support it.

11.1 and 11.2 do support the RTL8187B. You do not need compat-wireless.

I suspect you are being hit by the bugs that affect routing and DHCP.

If you have any way to connect with a wire, then an update should fix your
problems. If not, then please post the output of the following:

/usr/sbin/iwconfig
sudo /usr/sbin/iwlist scan
/sbin/route -n
cat /etc/resolv.conf

jack@linux-6qtx:~> /usr/sbin/iwconfig
lo        no wireless extensions.    

eth0      no wireless extensions.

wmaster0  no wireless extensions.

wlan0     IEEE 802.11bg  ESSID:"SpeedTouch781490"  
          Mode:Managed  Frequency:2.412 GHz  Access Point: 00:11:F5:41:51:CE   
          Bit Rate=24 Mb/s   Tx-Power=20 dBm                                   
          Retry  long limit:7   RTS thr:off   Fragment thr:off                 
          Power Management:off                                                 
          Link Quality=61/70  Signal level=-49 dBm                             
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0             
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0             

jack@linux-6qtx:~> sudo /usr/sbin/iwlist scan
root's password:                             
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:11:F5:41:51:CE
                    Channel:1                 
                    Frequency:2.412 GHz (Channel 1)
                    Quality=54/70  Signal level=-56 dBm  
                    Encryption key:on                    
                    ESSID:"SpeedTouch781490"             
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s
                              24 Mb/s; 36 Mb/s; 54 Mb/s                 
                    Bit Rates:6 Mb/s; 9 Mb/s; 12 Mb/s; 48 Mb/s          
                    Mode:Master                                         
                    Extra:tsf=00000029aa60f1a8                          
                    Extra: Last beacon: 1710ms ago                      
                    IE: Unknown: 00105370656564546F756368373831343930   
                    IE: Unknown: 010882848B962430486C                   
                    IE: Unknown: 030101                                 
                    IE: Unknown: 2A0100                                 
                    IE: Unknown: 2F0100                                 
                    IE: Unknown: 32040C121860                           
                    IE: Unknown: DD050010180101                         
          Cell 02 - Address: 00:1E:2A:E5:B3:3E                          
                    Channel:6                                           
                    Frequency:2.437 GHz (Channel 6)                     
                    Quality=60/70  Signal level=-50 dBm                 
                    Encryption key:on                                   
                    ESSID:"JUJU"                                        
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 6 Mb/s; 9 Mb/s  
                              11 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=0000038abab22069                          
                    Extra: Last beacon: 1367ms ago                      
                    IE: Unknown: 00044A554A55                           
                    IE: Unknown: 010882848B0C12961824                   
                    IE: Unknown: 030106                                 
                    IE: Unknown: 0706444520010D14                       
                    IE: Unknown: 200100                                 
                    IE: WPA Version 1                                   
                        Group Cipher : TKIP                             
                        Pairwise Ciphers (1) : TKIP                     
                        Authentication Suites (1) : PSK                 
                    IE: Unknown: 2A0100                                 
                    IE: Unknown: 32043048606C                           
                    IE: Unknown: DD180050F2020101830003A4000027A4000042435E0062322F00
                    IE: Unknown: DD0900037F0101003DFF7F                              
                    IE: Unknown: DD1A00037F0301000000001E2AE5B33E061E2AE5B33E64002C013D08
          Cell 03 - Address: 00:24:B2:35:CD:B8                                           
                    Channel:11                                                           
                    Frequency:2.462 GHz (Channel 11)                                     
                    Quality=40/70  Signal level=-70 dBm                                  
                    Encryption key:on                                                    
                    ESSID:"NETGEAR"                                                      
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s                 
                              24 Mb/s; 36 Mb/s; 54 Mb/s                                  
                    Bit Rates:6 Mb/s; 9 Mb/s; 12 Mb/s; 48 Mb/s                           
                    Mode:Master                                                          
                    Extra:tsf=0000005753cccd41                                           
                    Extra: Last beacon: 796ms ago                                        
                    IE: Unknown: 00074E455447454152                                      
                    IE: Unknown: 010882848B962430486C                                    
                    IE: Unknown: 03010B                                                  
                    IE: Unknown: 2A0104                                                  
                    IE: Unknown: 2F0104                                                  
                    IE: Unknown: 32040C121860                                            
                    IE: Unknown: 2D1A0C181AFFFF000000000000000000000000000000000000000000
                    IE: Unknown: 3D160B001700000000000000000000000000000000000000        
                    IE: Unknown: DD710050F204104A00011010440001021041000100103B00010310470010000102030405060708090A0B0C0D0EBB1021000744474E323030301023000744474E323030301024000631323334353610420004313233341054000800060050F20400011011000744474E32303030100800020088
                    IE: Unknown: DD090010180204F4050000
                    IE: WPA Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (1) : TKIP
                        Authentication Suites (1) : PSK
                    IE: Unknown: DD180050F2020101800003A4000027A4000042435E0062322F00
                    IE: Unknown: DD1E00904C330C181AFFFF000000000000000000000000000000000000000000
                    IE: Unknown: DD1A00904C340B001700000000000000000000000000000000000000

jack@linux-6qtx:~> /sbin/route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
10.0.0.0        0.0.0.0         255.255.255.0   U     2      0        0 wlan0
127.0.0.0       0.0.0.0         255.0.0.0       U     0      0        0 lo
jack@linux-6qtx:~> cat /etc/resolv.conf
### /etc/resolv.conf file autogenerated by netconfig!
#
# Before you change this file manually, consider to define the
# static DNS configuration using the following variables in the
# /etc/sysconfig/network/config file:
#     NETCONFIG_DNS_STATIC_SEARCHLIST
#     NETCONFIG_DNS_STATIC_SERVERS
#     NETCONFIG_DNS_FORWARDER
# or disable DNS configuration updates via netconfig by setting:
#     NETCONFIG_DNS_POLICY=''
#
# See also the netconfig(8) manual page and other documentation.
#
# Note: Manual change of this file disables netconfig too, but
# may get lost when this file contains comments or empty lines
# only, the netconfig settings are same with settings in this
# file and in case of a "netconfig update -f" call.
#
### Please remove (at least) this line when you modify the file!

Thanks for the help so far lwfinger, I have already updated using a wireless gateway of mine that I let my brother use for xbox live.

On 01/07/2010 12:56 PM, kirbyfan89 wrote:

> jack@linux-6qtx:~> /sbin/route -n
> Kernel IP routing table
> Destination Gateway Genmask Flags Metric Ref Use Iface
> 10.0.0.0 0.0.0.0 255.255.255.0 U 2 0 0 wlan0
> 127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo

Your iwconfig output indicates that the device has authenticated and associated,
but your routing table is wrong. If you do the following, your network should
come up:

sudo /sbin/route add default gw 10.0.0.1
sudo echo “nameserver 8.8.8.8” >> /etc/resolv.conf

I’m guessing that your router is at 10.0.0.1. If it is somewhere else, then you
need to adjust the above.

Are you using NetworkManager or ifup?

I’m using the default network manager. I got it working! I turned off manual ip and waited for it to be “active” once that happened I used the first command you said and it works.

Only down side is that every time I turn on the laptop I have to type in the command again :s

Any ideas?

On 01/07/2010 11:46 PM, kirbyfan89 wrote:
>
> I’m using the default network manager. I got it working! I turned off
> manual ip and waited for it to be “active” once that happened I used the
> first command you said and it works.
>
> Only down side is that every time I turn on the laptop I have to type
> in the command again :s

Use YaST to do the system updates. That will fix the routing problem.

I’m already fully updated, any other ideas friend?

On 01/08/2010 07:26 PM, kirbyfan89 wrote:
>
> I’m already fully updated, any other ideas friend?

Using the NM applet, go to Manage Connections => Wireless, highlight your
connection and click Edit. On the IP Address tab, pull down the widget in the
lower right-hand corner to Routes and make sure that both boxes are unchecked.
If neither was, delete the connection and remake it.

It worked! Thanks so much