RTL8187B Wireless 802.11g 54Mbps Network Adapter [0bda:8189] can connect to wireless router but not to Internet on Neo B2170 in Ubuntu 9.04

Asked by dodo

I use a NEO B2170N which has a RealtekRTL8187b chip. When I was using Ubuntu 8.04.2, I was able to connect to the network and eventually was able to connect to the internet. When I installed Ubuntu 8.10 using a clean install, the network connection purportedly could be 'established' but I could not connect to the internet. So I reverted into using Ubuntu 8.04.2.

Recently I decided to install Ubuntu 9.04 on a clean install. Again, the network connection was recognized and 'established' BUT I still couldn't connect to the internet.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu network-manager Edit question
Assignee:
No assignee Edit question
Solved by:
Mark Rijckenberg
Solved:
Last query:
Last reply:
Revision history for this message
Mark Rijckenberg (markrijckenberg) said :
#1

Hi,

Please first connect your network card to the wireless router using an ethernet cable (also known as a LAN cable).

In order to gather essential troubleshooting information about your wireless card, please follow this procedure:

Step 1: Open Terminal from "Applications->Accessories->
Terminal"

Step 2: Run the following commands (copy-paste each line below to the Terminal then hit <enter> after each line)

sudo iwlist scanning
sudo lshw -C network
lspci -nn
lsusb
uname -a
dmesg | grep ound
dmesg | grep witch
iwconfig

Step 3: Please post results (copy/paste terminal output from each command) on this thread

Keep in mind that one or more of the following 4 basic components need to be configured correctly so that wireless can work correctly in Linux:

Wireless configuration in the BIOS, hardware wireless switch setting, active wireless driver version, and firmware for the wireless chipset (stored as a file in Linux).

Regards,

Mark

Revision history for this message
dodo (renejaguila) said :
#2

Hi Mark,
Here are the info you asked for:
rene@rene-laptop:~$ sudo iwlist scanning

[sudo] password for rene:

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:18:F8:53:2B:FE

                    ESSID:"linksys"

                    Mode:Master

                    Channel:11

                    Frequency:2.462 GHz (Channel 11)

                    Quality=82/100 Signal level:-30 dBm

                    Encryption key:off

                    IE: Unknown: 00076C696E6B737973

                    IE: Unknown: 010882848B960C183048

                    IE: Unknown: 03010B

                    IE: Unknown: 2A0100

                    IE: Unknown: 32041224606C

                    IE: Unknown: 8C42BA00002AAAF4C46400218B40420F000000000080841E000000000060EC530000000000C0D8A7

                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s

                              12 Mb/s; 24 Mb/s; 36 Mb/s; 9 Mb/s; 18 Mb/s

                              48 Mb/s; 54 Mb/s

                    Extra:tsf=00000003e710f181

                    Extra: Last beacon: 440ms ago

pan0 Interface doesn't support scanning.

rene@rene-laptop:~$ sudo lshw -C network

  *-network

       description: Ethernet interface

       product: 191 Gigabit Ethernet Adapter

       vendor: Silicon Integrated Systems [SiS]

       physical id: 4

       bus info: pci@0000:00:04.0

       logical name: eth0

       version: 02

       serial: 00:90:f5:88:e6:ef

       size: 100MB/s

       capacity: 100MB/s

       width: 32 bits

       clock: 33MHz

       capabilities: pm bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd autonegotiation

       configuration: autonegotiation=on broadcast=yes driver=sis190 driverversion=1.2 duplex=full ip=192.168.1.101 latency=0 link=yes module=sis190 multicast=yes port=MII speed=100MB/s

  *-network:0

       description: Wireless interface

       physical id: 1

       logical name: wlan0

       serial: 00:15:af:cc:ba:df

       capabilities: ethernet physical wireless

       configuration: broadcast=yes multicast=yes wireless=IEEE 802.11bg

  *-network:1 DISABLED

       description: Ethernet interface

       physical id: 2

       logical name: pan0

       serial: 62:16:18:a2:79:77

       capabilities: ethernet physical

       configuration: broadcast=yes driver=bridge driverversion=2.3 firmware=N/A link=yes multicast=yes

rene@rene-laptop:~$ lspci -nn

00:00.0 Host bridge [0600]: Silicon Integrated Systems [SiS] 671MX [1039:0671]

00:01.0 PCI bridge [0604]: Silicon Integrated Systems [SiS] SiS AGP Port (virtual PCI-to-PCI bridge) [1039:0003]

00:02.0 ISA bridge [0601]: Silicon Integrated Systems [SiS] SiS968 [MuTIOL Media IO] [1039:0968] (rev 01)

00:03.0 USB Controller [0c03]: Silicon Integrated Systems [SiS] USB 1.1 Controller [1039:7001] (rev 0f)

00:03.1 USB Controller [0c03]: Silicon Integrated Systems [SiS] USB 1.1 Controller [1039:7001] (rev 0f)

00:03.3 USB Controller [0c03]: Silicon Integrated Systems [SiS] USB 2.0 Controller [1039:7002]

00:04.0 Ethernet controller [0200]: Silicon Integrated Systems [SiS] 191 Gigabit Ethernet Adapter [1039:0191] (rev 02)

00:05.0 IDE interface [0101]: Silicon Integrated Systems [SiS] SATA Controller / IDE mode [1039:1183] (rev 03)

00:06.0 PCI bridge [0604]: Silicon Integrated Systems [SiS] PCI-to-PCI bridge [1039:000a]

00:09.0 FLASH memory [0501]: ENE Technology Inc ENE PCI Memory Stick Card Reader Controller [1524:0730]

00:09.1 SD Host controller [0805]: ENE Technology Inc ENE PCI SmartMedia / xD Card Reader Controller [1524:0750]

00:09.3 FLASH memory [0501]: ENE Technology Inc ENE PCI Secure Digital / MMC Card Reader Controller [1524:0751]

00:0f.0 Audio device [0403]: Silicon Integrated Systems [SiS] Azalia Audio Controller [1039:7502]

01:00.0 VGA compatible controller [0300]: Silicon Integrated Systems [SiS] 771/671 PCIE VGA Display Adapter [1039:6351] (rev 10)

rene@rene-laptop:~$ lsusb

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

Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

Bus 002 Device 002: ID 1bcf:0535 Sunplus Innovation Technology Inc.

Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

rene@rene-laptop:~$ uname -a

Linux rene-laptop 2.6.28-11-generic #42-Ubuntu SMP Fri Apr 17 01:57:59 UTC 2009 i686 GNU/Linux

rene@rene-laptop:~$ dmesg | grep ound

[ 0.000000] Phoenix BIOS detected: BIOS may corrupt low RAM, working it around.

[ 0.000000] found SMP MP-table at [c00f8850] 000f8850

[ 0.430164] ACPI: No dock devices found.

[ 0.444336] pnp: PnP ACPI: found 10 devices

[ 1.054504] pcieport-driver 0000:00:06.0: found MSI capability

[ 1.458190] isapnp: No Plug & Play device found

[ 1.928107] hub 1-0:1.0: USB hub found

[ 1.990027] hub 2-0:1.0: USB hub found

[ 2.048048] hub 3-0:1.0: USB hub found

[ 2.056169] device-mapper: multipath round-robin: version 1.0.0 loaded

[ 2.057639] BIOS EDD facility v0.16 2004-Jun-25, 0 devices found

[ 10.229977] sdhci-pci 0000:00:09.1: SDHCI controller found [1524:0750] (rev 0)

[ 10.230166] sdhci-pci 0000:00:09.3: SDHCI controller found [1524:0751] (rev 0)

[ 10.798113] lp: driver loaded but no devices found

[ 20.296679] hda-intel: IRQ timing workaround is activated for card #0. Suggest a bigger bdl_pos_adj.

rene@rene-laptop:~$ dmesg | grep witch

[ 0.020795] SMP alternatives: switching to UP code

[ 0.425851] ACPI: EC: non-query interrupt received, switching to interrupt mode

[ 0.980024] Switched to high resolution mode on CPU 0

[ 1.075005] input: Lid Switch as /devices/LNXSYSTM:00/device:00/PNP0C0D:00/input/input3

[ 1.075665] ACPI: Lid Switch [LID]

rene@rene-laptop:~$ iwconfig

lo no wireless extensions.

eth0 no wireless extensions.

wmaster0 no wireless extensions.

wlan0 IEEE 802.11bg ESSID:"linksys"

          Mode:Managed Frequency:2.462 GHz Access Point: Not-Associated

          Tx-Power=20 dBm

          Retry min limit:7 RTS thr:off Fragment thr=2352 B

          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

pan0 no wireless extensions.

dodo
Thanks in advance

Revision history for this message
Best Mark Rijckenberg (markrijckenberg) said :
#3

Hi,

This bug seems to be related to the following 2 bug reports:

https://bugs.launchpad.net/ubuntu/+source/linux/+bug/338792

and

https://bugs.launchpad.net/ubuntu/+source/linux/+bug/346987

I think there are 2 possible workaround solutions:

Workaround 1:

Connect the pc to the wireless router using an ethernet cable.
Open a Terminal and enter the following 2 commands:

sudo aptitude update
sudo aptitude install linux-backports-modules-jaunty

After installing this, please reboot and retest wireless.

Workaround 2:

Make sure to enable the universe repository in Jaunty (Ubuntu 9.04)
Connect the pc to the wireless router using an ethernet cable.
Open a Terminal and enter the following 2 commands:

sudo aptitude update
sudo aptitude install wicd

This will install wicd as a replacement for Ubuntu's default NetworkManager applet. After installing wicd, reboot and retest accessing your wireless connection using wicd.

Here is more info about wicd:

http://wicd.net/
http://en.wikipedia.org/wiki/Wicd_(Linux_Network_Manager)

Regards,

Mark

Revision history for this message
dodo (renejaguila) said :
#4

Hi Mark,
I tried the first alternative you sent. It worked! Thanks a lot.

dodo

On Sun, May 3, 2009 at 11:11 PM, Mark Rijckenberg <
<email address hidden>> wrote:

> Your question #69449 on network-manager in ubuntu changed:
>
> https://answers.launchpad.net/ubuntu/+source/network-manager/+question/69449
>
> Linked to bug: #338792
> https://bugs.launchpad.net/bugs/338792
> "wifi: rtl 8187b on ubuntu 9.04 with network manager"
>
> --
> You received this question notification because you are a direct
> subscriber of the question.
>

Revision history for this message
dodo (renejaguila) said :
#5

Thanks Mark Rijckenberg, that solved my question.

Revision history for this message
jose garrido (contactame-josegarrido) said :
#6

hi
i use the first solution, install linux-backports-modules-jaunty, and this works, but i think the signal is very poor, i need be very near to the router, aprox 5 meters otherwise not work.

Revision history for this message
Dedhi (dedhi-sujatmiko) said :
#7

I am using the netbook Prolink Glee TA-009 which is using the same RTL8187B [0bda:8189] wifi chipset.
After I am installing the "linux-backports-modules-jaunty" and replace the network-manager with wicd, I am also able to connect to wifi network.

Using previous Jaunty driver I can only able to connect, getting the IP address, but not even able to ping the router(AP) gateway.

However with the "linux-backports-modules-jaunty" driver, the sensitivity is very low. I am only able to use the laptop if I am line of sight with the router (AP) and less than 5 metres vicinity. More than that, I will loose the signal quickly and cannot connect anymore. The funny thing is, at 10 metres the wicd or network manager still says that the signal is above 70%, then suddenly lost everything. Looks like the signal strength metering is incorrect.