Realtek RTL8187B working in Ubuntu 7.10 (using ndiswrapper)

Thomson TG123G wireless nicFinally, after almost 3 months, I have my new Orange Livebox installed… although the happiness was very short… after two calls of around half an hour each to a higher rate customer service phone number I continue without connection to the Internet.

Altogether with the Livebox, Orange includes a USB WiFi Thomson TG123G card. As I’m getting used to setting up wireless cards in Linux, I have decided to configure it for my Ubuntu 7.10 (Gutsy Gibbon) using ndiswrapper (taking into account that I’m already using ndiswrapper for my other wireless nic).

Below you can find all the steps needed:

1) Connect the USB network card and verify the chipset that it uses:

lspci | grep Ethernet

08:07.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)

We can also obtain the Product_id (0bda) and the Vendor_id (8189) by issuing the command:

lsusb
Bus 006 Device 007: ID 0bda:8189 Realtek Semiconductor Corp.

2) Install ndiswrapper. (sudo apt-get install ndiswrapper) You can optionally install the ndisgtk graphical interface. (sudo apt-get install ndisgtk)

3) Download the corresponding drivers for WinXP for the RTL8187B network card from Realtek’s web page:

http://www.realtek.com.tw/downloads/downloadsView.aspx?Langid=1&PNid=24&PFid=1&Level=6&Conn=5&DownTypeID=3&GetDown=false&Downloads=true

4) Extract the files net8187b.inf and net8187b.sys for WinXP (or WinXP 64 bits, if we use a 64 bit processor)

5) Install the .inf file into ndiswrapper, using ndisgtk or using the command line:

 sudo ndiswrapper -i net8187b.inf

Screenshot ndisgtk
6) Save the new configuration files for ndiswrapper module by issuing the following command:

sudo ndiswrapper -ma && sudo ndiswrapper -mi

7) Extract the USB nic and connect it again. At this moment, we can check that the correct module has been loaded by taking a look at the output of this command:

dmesg
[ 4508.604000] ndiswrapper: driver net8187b (Realtek Semiconductor Corp.,07/18/2007,5.1097.0718.2007) loaded
 [ 4512.124000] wlan1: ethernet device 00:18:e7:39:e9:63 using NDIS driver: net8187b, version: 0x1, NDIS version: 0x500, vendor: 'Realtek RTL8187 Wireless LAN USB NIC                                     ', 0BDA:8189.F.conf
 [ 4512.124000] wlan1: encryption modes supported: WEP; TKIP with WPA, WPA2, WPA2PSK; AES/CCMP with WPA, WPA2, WPA2PSK

Using iwconfig command we can see that a new network interfase is listed.

I hope that this helps more people, as always, and if you see any error or have any problem, please let me know.

About these ads

16 comments so far

  1. jason on

    I am able to install the drivers, but it still shows “Hardware present:No” I have no idea what else to do. Any ideas?

  2. rofranco on

    Hello Jason,

    Can you give me more information?

    You can use the dmesg command after inserting the usb network card and see if there is another error message.

    If you need more help you can post the error messages here.

    Good luck!!

  3. darklin on

    I have toshiba l40-14f and I have the same wifi card. I try your way but its still doesnt work.

  4. bertolo on

    how can i plug off a wireless card that is inside a laptop?

  5. rofranco on

    You can use the special WiFi buttons from your laptop or you can use the command line:

    1) See which wireless card you want to disable with:

    iwconfig

    2) Disable the wireless card:

    sudo ifdown wlan0 (replace with the name of the wireless nic)

  6. Vitor Carvalho on

    I just used WinXP drivers previously and it doesn’t work! Then i realised that the problem is that: so i started to try the other ones…
    I tried driver for Win98 and then, SURPRISE, it works on the go!!! Now I have totally control of my Wifi Card (with WPA2 inclusive)
    NOTE: But there’s a problem: led and front-button doesn’t work.
    Byes

  7. rofranco on

    Vitor:

    I’m glad that this post helped you. Regarding the buttons, in my experience that’s something usual…

    Good luck!!

  8. Louis on

    vitor, I’m having the same exact problem but can’t seem to find a win98 driver(RTL8187),can you give me a URL where I can go to download this driver.
    thanks

  9. Martin on

    Thanks a lot! It works! =)
    Good Job!

    Works for me with the Win98 drivers… i hope that it works stable!

  10. sergiomb on

    doesn’t work for me with win xp 64-bit :(
    seems that works on 32bits

  11. sergiomb on

    there is an in-kernel driver for RTL8187 in 2.6.24rc kernel (kotd) – not sure
    here, but maybe worth a try ?

    config RTL8187
    tristate “Realtek 8187 USB support”
    depends on MAC80211 && USB && WLAN_80211 && EXPERIMENTAL
    select EEPROM_93CX6
    —help—
    This is a driver for RTL8187 based cards.
    These are USB based chips found in cards such as:

    Netgear WG111v2

  12. 1234567 on

    root@leonil-laptop:/boot/grub# dmesg |grep ndi
    [ 89.230133] ndiswrapper version 1.45 loaded (smp=yes)
    [ 89.879530] ndiswrapper: driver net8187b (Realtek Semiconductor Corp.,06/25/2008,5.1135.0625.2008) loaded
    [ 89.881662] ndiswrapper (mp_init:263): couldn’t initialize device: C0010006
    [ 89.881669] ndiswrapper (pnp_start_device:440): Windows driver couldn’t initialize the device (C0000001)
    [ 89.881680] ndiswrapper (mp_halt:305): device f73d5500 is not initialized – not halting
    [ 89.881688] ndiswrapper: device eth%d removed
    [ 89.881712] ndiswrapper: probe of 5-7:1.0 failed with error -22
    [ 89.881724] usbcore: registered new interface driver ndiswrapper
    root@leonil-laptop:/boot/grub#

  13. 1234567 on

    My first message is the error when I command demsg |grep ndi

    root@leonil-laptop:/boot/grub# ndiswrapper -v
    utils version: 1.9
    driver filename: /lib/modules/2.6.22-15-generic/ubuntu/misc/ndiswrapper/ndiswrapper.ko
    version: 1.45
    vermagic: 2.6.22-15-generic SMP mod_unload 586
    root@leonil-laptop:/boot/grub#

  14. LINUXISASHIT on

    LINUX IS A LOT OF SHIT !!!!!

    THIS SHIT DOES NOT WORK; IT IS JUST A SHIT DO MAKE PEOPLE WASTE TIME….I DOES NOT WORK!!!! DOES NOT WORK!!!! I’VE WASTED 9 HOURS TRYING TO INSTALL THIS SHIT CARD ON THIS SHIT LINUX, AND IT DOES NOT WORK!!!! AND I AM NOT A TEEN WHO IS JUST HAVING SOME FUN DISCOVERING A NEW BEAUTIFUL OPERATING SYSTEM; I AM A PROFESSIONAL WHO NEEDS THINGS THAT WORK – AND THAT WORK FAST! – BECAUSE I NEED TO MAKE MONEY TO EAT! LINUX IS A SHIT THAT DOES NOT WORK!!!

  15. rofranco on

    If you don’t like Linux, you can use any other OS like Windows. I’m sure you will never have any kind of problem with it and that you will never loose your precious time again.

    Good luck!!

  16. [...] grab ndiswrapper, and I think that usually covers most adaptors, and looks like it should work (another guy here got it working with 7.1). It might take a bit of some configuring depending on the security type, [...]


Deja un comentario

Introduce tus datos o haz clic en un icono para iniciar sesión:

Logo de WordPress.com

Estás comentando usando tu cuenta de WordPress.com. Cerrar sesión / Cambiar )

Imagen de Twitter

Estás comentando usando tu cuenta de Twitter. Cerrar sesión / Cambiar )

Foto de Facebook

Estás comentando usando tu cuenta de Facebook. Cerrar sesión / Cambiar )

Google+ photo

Estás comentando usando tu cuenta de Google+. Cerrar sesión / Cambiar )

Conectando a %s

Seguir

Recibe cada nueva publicación en tu buzón de correo electrónico.

Únete a otros 68 seguidores

%d personas les gusta esto: