Archive for the 'Hardware' Category

Ndiswrapper and RTL8187B – Ubuntu 8.04

Guys,

I just came here after like hmmm… 20 hours infront of my laptop trying to put my Realtek Wireless Card RTL8187B (Recognised by Ubuntu as RTL8189B) to work and connect via ndiswrapper OR native drivers… anyone I would be happy.

I tried A LOT of ways to get it working trying with native and ndiswrapper drivers.

I will try to describe exactly what I did… it will be hard once my memory is not one of the best! LOL

My Laptop is a: Toshiba A210-1B1

VERY IMPORTANT: This tutorial worked for a REALTEK Wireless Card Internal USB 2.0 – Chipset: RTL8187B (RTL8197B | Linux)

WPA > is not working.

WEP > Couldn`t test it.

=== Now my tutorial  for those who still have problems with the card ===

Step 1 – Housekeeping

First thing is to do some ¨housekeeping¨:

Open Terminal and type:

sudo gedit /etc/modules

Now with the file ´modules’ open on gedit remove the line ndiwsrapper (if it has it).

Save and Close.

Done? Alright!

Open Synaptics and remove ALL versions of ndiswrapper: ndiswrapper; ndiswrapper-utils and ndiswrapper-common.
> > > Mark the option: “Mark for complete removal”

Ok. Done? Reboot your computer.

Ps.: if you changed something else diferent than this options listed above, remember to put it back to the original.

Now that everything is “clean” we can continue.

==========

Step 2 – Downloading Files

Download the files below and save them on a folder you will remember:

ndiswrapper-common 1.52 => http://security.ubuntu.com/ubuntu/pool/main/n/ndiswrapper/ndiswrapper-common_1.52-1ubuntu1_all.deb

ndiswrapper-utils 1.9_1.52 => http://security.ubuntu.com/ubuntu/pool/main/n/ndiswrapper/ndiswrapper-utils-1.9_1.52-1ubuntu1_i386.deb

To install, double-click on the files and install it.

Now one of the most important steps.

STEP 3 – Win98 Drivers

Download the file:

RTL8187B – Windows 98 => http://www.thecashplanet.com/ubuntu/rtl-win98-ndiswrapper.zip

IMPORTANT: Download and USE the drive above, don’t use other versions. Ps.: I was looking for this file for 5 hours today and this is the right one and maybe will help a LOT of people that still experience problems with this wireless card.

Now we have to make a modification in one of the driver files.

Open the file net8187b.inf and find the following lines:

%RTL8187B.DeviceDesc%=RTL8187B.ndi, USB/VID_0BDA&PID_8187&REV_0200
%RTL8187B.DeviceDesc%=RTL8187B.ndi, USB\VID_0BDA&PID_8189&REV_0200

UNDER those lines add the following line:

%RTL8187B.DeviceDesc%=RTL8187B.ndi, USB\VID_0BDA&PID_8197&REV_0200

Now, save the file on /YOUR_USER/Desktop/win98/ (you can save wherever you want to I will use this folder to make it easier) and close the file.

Step 4 – Installing the Driver

Assuming that you already have ndiswrapper installed just type the following on a terminal window:

cd ~/Desktop/win98
sudo ndiswrapper -i net8187b.inf

Assuming NO ERROS, type:

ndiswrapper -l

You should see something like this:

Installed ndis drivers:
{name of driver} driver present, hardware present

or

{name of driver} : driver installed
device ({Chipset ID}) present

Then, type:

sudo ndiswrapper -m

sudo modprobe ndiswrapper

Now you should add one line to the startup:

sudo gedit /etc/modules

add without quotes

‘ndiswrapper’

in the last line.

Save and Close the ‘modules’ file.

Restart your computer.

Step 5 – Connecting to the network

Now if everything went well you should see a icon near to the clock, network icon.

Click on this and select the network you want to connect!

Ps.: Like I told in the beginning, SORRY but this tutorial is only to connect to networks without WPA-PSK Key. Couldn test with WEP but I`m sure with WPA Auth it will NOT work.

Well guys, that´s all and probably you are connected!

If you have any questions just let me know.

LaNCeloT_RW

IRC: chat.freenode.net | #ubuntu
http://odeiowindows.blogspot.com

Ps.: Sorry about my English!!! LOL

>>> Credits <<<

http://security.ubuntu.com/ubuntu/pool/main/n/ndiswrapper/

http://www.linuxquestions.org/questions/linux-wireless-networking-41/configuring-a-rtl8187b-wireless-card-on-a-toshiba-satellite-a215-s5802-in-ubuntu-7.10-631453/


del.icio.us