LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices


Reply
  Search this Thread
Old 02-27-2008, 07:43 AM   #1
deft
Member
 
Registered: Jan 2004
Location: Scotland
Distribution: Ubunto 7.10
Posts: 122

Rep: Reputation: 15
realtek rtl8187b wireless problems


Hi All,

I recently bought a laptop, a toshiba equium which comes with a realtek rtl8187b usb 2.0 wireless nic. So far I have been unable to get it working at all. I use ubuntu 7.10 and it does not detect the card at all..

I have googled the problem and it mostly came up with two options, 1. download the windows driver and edit the .inf file and use ndiswrapper

or

2. Download the modified realtek driver from, http://datanorth.net/~cuervo/rtl8187b/

I have tried both options, unsuccessfully

I thought the second option looked good, but after installing it I edited the /etc/network/interfaces as it instructed, but I must be doing something wrong as it wont load automatically at start up?

I manually run ./wlan0 script when I boot up, it appears to work and I can see numerous wireless networks including my own, yet I still can't connect?

After running that script the card becomes visible in my device manager, but it wont load automatically at start up. Here is a copy of my /etc/network/interfaces


auto lo
iface lo inet loopback


iface wlan0 inet dhcp
wireless-mode managed
wireless-essid *******
wireless-key1 *******

pre-up /path/to/driver/rtl8187b-modified/wlan0up
post-down /path/to/driver/rtl8187b-modified/wlan0down


auto eth0
iface eth0 inet dhcp



Does anyone have any ideas to what I might be doing wrong?

Many thanks in advance for "any" help..

deft.
 
Old 02-27-2008, 08:04 AM   #2
aus9
LQ Addict
 
Registered: Oct 2003
Location: Australia
Distribution: MX 17
Posts: 5,298

Rep: Reputation: Disabled
I don't have your device but I think you may have taken this instruction literally when you need to make some changes

http://datanorth.net/~cuervo/rtl8187b/README

/etc/network/interfaces:

iface wlan0 inet dhcp
wireless-essid your-ssid
wireless-mode managed
wireless-key1 s:yourpw

pre-up /path/to/wlan0up
post-down /path/to/wlan0down

for example pre-up needs to change to true path to your wlan0up command
 
Old 02-27-2008, 09:35 AM   #3
deft
Member
 
Registered: Jan 2004
Location: Scotland
Distribution: Ubunto 7.10
Posts: 122

Original Poster
Rep: Reputation: 15
thanks for the quick reply

Do you mean i remove the actual "pre-up and post-down" text, and just leave the path to the script wlan0up and wlan0down

also in my first post, the text "path-to-driver" in the interface file, I replaced that with the actual path which i removed when i posted it in here

Also when i reboot the interface file now looks like:

auto lo
iface lo inet loopback


iface eth0 inet dhcp


all the text i entered into it has gone?

thanks, deft.

Last edited by deft; 02-27-2008 at 10:10 AM. Reason: more information
 
Old 02-27-2008, 06:48 PM   #4
aus9
LQ Addict
 
Registered: Oct 2003
Location: Australia
Distribution: MX 17
Posts: 5,298

Rep: Reputation: Disabled
no if you knew to put the real path thats ok, but you used ****** above so I thought you did not understand the path bit.

I can not help any further but here is a link that may shed some light
http://www.linuxhomenetworking.com/w...ess_Networking
 
Old 02-27-2008, 07:23 PM   #5
aus9
LQ Addict
 
Registered: Oct 2003
Location: Australia
Distribution: MX 17
Posts: 5,298

Rep: Reputation: Disabled
hmmm, in a vanilla kernel there are some 8187 drivers...no mention of 8187b but you may have nothing to lose to ask if

MODULE_AUTHOR("Michael Wu <flamingice@sourmilk.net>");
MODULE_AUTHOR("Andrea Merello <andreamrl@tiscali.it>");

these gentlemen if their driver for rtl8187_dev.c could be used for 8187b?
 
Old 02-28-2008, 05:54 PM   #6
deft
Member
 
Registered: Jan 2004
Location: Scotland
Distribution: Ubunto 7.10
Posts: 122

Original Poster
Rep: Reputation: 15
Thanks for the help mate, I will give the link a go

Last edited by deft; 02-28-2008 at 06:10 PM.
 
Old 02-29-2008, 12:18 PM   #7
geden
Member
 
Registered: Nov 2004
Distribution: Mandriva ONE/ Kubuntu 8.04
Posts: 61

Rep: Reputation: 15
I got this working with ndiswrapper and a win98 driver from MS.
 
Old 03-06-2008, 04:46 AM   #8
deft
Member
 
Registered: Jan 2004
Location: Scotland
Distribution: Ubunto 7.10
Posts: 122

Original Poster
Rep: Reputation: 15
I tried to install the win98 inf file using ndiswrapper using this link

http://www.linuxhomenetworking.com/w...less_NICsusing



now i get the message: ndiswrapper -l net8187b : invalid driver!

Ok I removed it and started from scratch. My first real problem came when I done: ndiswrapper -m
module configuration already contains alias directive

I am kind of stuck by this? and have no idea what to do next?

Thanks

Last edited by deft; 03-06-2008 at 05:41 AM.
 
Old 03-06-2008, 06:28 PM   #9
aus9
LQ Addict
 
Registered: Oct 2003
Location: Australia
Distribution: MX 17
Posts: 5,298

Rep: Reputation: Disabled
see if any of this helps

http://www.linuxquestions.org/questi...19#post3077519
 
Old 03-13-2008, 07:02 AM   #10
deft
Member
 
Registered: Jan 2004
Location: Scotland
Distribution: Ubunto 7.10
Posts: 122

Original Poster
Rep: Reputation: 15
Solved

Hi, sorry for taking a while to get back, been on holiday..

I totally removed ndiswrapper and started again, I am not a 100% sure what was different 2nd time around, but, it works!

I just followed the instructions (again) for using the windows driver. I think it may have been the changes I made to the driver itself before I used it.

Anyway I thank everyone for their help on this, much appreciated..


deft.
 
Old 05-26-2008, 07:47 AM   #11
vspunn
LQ Newbie
 
Registered: Oct 2006
Posts: 7

Rep: Reputation: 0
RTL 8187B on laptop

I am totally new to LINUX.
I bought the laptop just to use LINUX. I installed SUSE 10.3. Everything worked except RTL8187B and HP1000 laser printer.

Franky, I cannot change the code or anything.
I need to start the RTL 8187B Wireless LAN on my system, and need help like a layman. The hardware shows it under USB device, but to make it work like a Network card is problem for me.

Can anybody help me.
 
Old 07-02-2008, 09:05 AM   #12
Jessica_Lily
LQ Newbie
 
Registered: Jul 2008
Posts: 24

Rep: Reputation: Disabled
for suse 10.3 you need to following packages:
- gcc
- kernel-soruces
- make

once you have them (might need to add some repositories) go to this site:
http://datanorth.net/~cuervo/rtl8187b

download the driver

./makedrv
./wlan0up

check its there by doing

ifconfig

and then your fine =]
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Need driver for Realtek Wireless Nic Dr_Zin Linux - Hardware 3 02-05-2008 12:41 AM
get your RTL8187B working with WinXP driver kafnir Linux - Wireless Networking 1 01-03-2008 07:12 AM
Belkin F5D6001 Wireless PCI Card problems with linux-wlan and Realtek 8180 Chipset. NLR Linux - Wireless Networking 18 03-03-2005 02:37 PM
Belkin F5D6001 Wireless PCI Card problems with linux-wlan and Realtek 8180 Chipset. NLR Linux - Hardware 1 09-02-2004 04:31 PM
wireless with realtek pcmcia Guillermo1981 Linux - Laptop and Netbook 4 10-14-2003 04:07 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking

All times are GMT -5. The time now is 11:41 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration