Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Main Support Categories > Hardware & Laptops
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

Hardware & Laptops
Problems with hardware & laptops not being detected or supported during or after install.

 
Thread Tools Display Modes
Old April 24th, 2008   #1
tjwoosta
Fresh Brewed Ubuntu
 
tjwoosta's Avatar
 
Join Date: Jan 2008
Beans: 1,289
[SOLVED] rtl8187b drivers for ubuntu hardy

today i installed ubuntu hardy (dual booting with gutsy for now)

but my problem is i cant seem to get my wireless driver to work in hardy

in gutsy i used a patched (hacked up) driver that i got from this thread
http://ubuntuforums.org/showthread.p...light=rtl8187b
more specifically this link to get the driver
http://www.datanorth.net/~cuervo/rtl8187b/

this driver seems to do i fine job in gutsy ,for what i need for, although ive noticed that it is fairly buggy
(for instance the signal strength meter never goes above one bar despite the actual strength of the signal)

i have downloaded the exact same driver onto hardy
(i still had the original tar.gz file )

but anyway i cant get it to work on hardy
this is the error i get when i try to run ./makedrv
Code:
tj@tj-laptop:~/rtl8187b-modified$ sudo ./makedrv
[sudo] password for tj: 
rm -fr *.mod.c *.mod *.o .*.cmd *.mod.* *.ko *.o *~
make -C /lib/modules/2.6.24-16-generic/build M=/home/tj/rtl8187b-modified/ieee80211 CC=gcc modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.24-16-generic'
scripts/Makefile.build:46: *** CFLAGS was changed in "/home/tj/rtl8187b-modified/ieee80211/Makefile". Fix it to use EXTRA_CFLAGS.  Stop.
make[1]: *** [_module_/home/tj/rtl8187b-modified/ieee80211] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.24-16-generic'
make: *** [modules] Error 2
rm -fr *.mod.c *.mod *.o .*.cmd *.ko *~
make -C /lib/modules/2.6.24-16-generic/build M=/home/tj/rtl8187b-modified/rtl8187 CC=gcc modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.24-16-generic'
scripts/Makefile.build:46: *** CFLAGS was changed in "/home/tj/rtl8187b-modified/rtl8187/Makefile". Fix it to use EXTRA_CFLAGS.  Stop.
make[1]: *** [_module_/home/tj/rtl8187b-modified/rtl8187] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.24-16-generic'
make: *** [modules] Error 2
this is the error i get when i try to run ./wlan0up
Code:
tj@tj-laptop:~/rtl8187b-modified$ ./wlan0up
insmod: can't read 'ieee80211_crypt-rtl.ko': No such file or directory
insmod: can't read 'ieee80211_crypt_wep-rtl.ko': No such file or directory
insmod: can't read 'ieee80211_crypt_tkip-rtl.ko': No such file or directory
insmod: can't read 'ieee80211_crypt_ccmp-rtl.ko': No such file or directory
insmod: can't read 'ieee80211-rtl.ko': No such file or directory
insmod: can't read 'r8187.ko': No such file or directory
also i tried the newer tar.gz files that are on the link i posted but the same thing happened to all of them

can anybody help me?
or maybe does anybody have a better driver i could use for this card?
tjwoosta is online now   Reply With Quote
Old April 24th, 2008   #2
dougtron
5 Cups of Ubuntu
 
Join Date: Oct 2007
My beans are hidden!
Ubuntu 7.10 Gutsy Gibbon
Re: rtl8187b drivers for ubuntu hardy

I'm right there with you. Same error messages and all. I'll spread the word to the few who really helped in the last RTL8187B forum and see if they can't figure out what's going on.
dougtron is offline   Reply With Quote
Old April 24th, 2008   #3
acirilo
Just Give Me the Beans!
 
acirilo's Avatar
 
Join Date: Mar 2008
Beans: 63
Ubuntu 7.10 Gutsy Gibbon
Send a message via AIM to acirilo Send a message via Yahoo to acirilo
Re: rtl8187b drivers for ubuntu hardy

i never got those modified drivers to work with hardy either... using the ./makedrv process and such

the only method that worked for me was the one i explained in my blog..but it has failed for some people.

http://mycirilo.com/?p=24
__________________
Presario SR2163WM: LinuxMint, gnome, 2gig ram, ATI onboard
my blog
acirilo is offline   Reply With Quote
Old April 24th, 2008   #4
dougtron
5 Cups of Ubuntu
 
Join Date: Oct 2007
My beans are hidden!
Ubuntu 7.10 Gutsy Gibbon
Re: rtl8187b drivers for ubuntu hardy

Yeah I definitely appreciated your efforts with the ndiswrapper way. But it seemed to fail miserably for me. I think it is bizarre that you didn't need the .sys file like you mentioned in your blog. Ndiswrapper is always weird though. I'm considering just finding a 40$ usb dongle that has known working linux drivers and saying eff the one that came with these stupid laptops haha. However, I emailed cuervo who originally modified it. We'll see if he has any idea what's going on.

Thanks again,
Doug
dougtron is offline   Reply With Quote
Old April 24th, 2008   #5
acirilo
Just Give Me the Beans!
 
acirilo's Avatar
 
Join Date: Mar 2008
Beans: 63
Ubuntu 7.10 Gutsy Gibbon
Send a message via AIM to acirilo Send a message via Yahoo to acirilo
Re: rtl8187b drivers for ubuntu hardy

Quote:
Originally Posted by dougtron View Post
Yeah I definitely appreciated your efforts with the ndiswrapper way. But it seemed to fail miserably for me. I think it is bizarre that you didn't need the .sys file like you mentioned in your blog. Ndiswrapper is always weird though. I'm considering just finding a 40$ usb dongle that has known working linux drivers and saying eff the one that came with these stupid laptops haha. However, I emailed cuervo who originally modified it. We'll see if he has any idea what's going on.

Thanks again,
Doug

it is weird..

Sorry I'm not much help..
__________________
Presario SR2163WM: LinuxMint, gnome, 2gig ram, ATI onboard
my blog
acirilo is offline   Reply With Quote
Old April 25th, 2008   #6
glenndebacker
First Cup of Ubuntu
 
Join Date: Apr 2008
Location: Belgium (West Flanders)
Beans: 2
Re: rtl8187b drivers for ubuntu hardy

I didn't had any problems compiling the drivers (i've downloaded rtl8187b-modified-jadams-2-1-2008.tar.gz from the site mentioned above) under hardy, but even so it doesn't work well.

I can get the interface up and running, scan for networks and connect to open networks that doesn't have WEP enabled. But from the moment that I want to connect to a WEP enabled network, Ubuntu just freezes.

Ndiswrapper doesn't work here, can't connect to any network.
glenndebacker is offline   Reply With Quote
Old April 25th, 2008   #7
pjasnos
5 Cups of Ubuntu
 
Join Date: Apr 2008
Beans: 20
Re: rtl8187b drivers for ubuntu hardy

Hello,

I got it working (with WEP et al. ) using the second patch.

simple tut:

wget http://www.datanorth.net/~cuervo/rtl8187b/rtl8187b-modified-dist.tar.gz

wget http://www.datanorth.net/~cuervo/rtl8187b/2.6.24.patch

tar -xzvf rtl8187b-modified-dist.tar.gz

cp 2.6.24.patch rtl8187b-modified/
cd rtl8187b-modified
patch -p1 < 2.6.24.patch
./makedrv
sudo ./wlan0up

Hope this helps

Last edited by pjasnos; April 25th, 2008 at 02:56 PM.. Reason: removed links
pjasnos is offline   Reply With Quote
Old April 25th, 2008   #8
pjasnos
5 Cups of Ubuntu
 
Join Date: Apr 2008
Beans: 20
Now I'm working on making sis671 module working...

Last edited by pjasnos; April 25th, 2008 at 02:43 PM.. Reason: removed duplicate post
pjasnos is offline   Reply With Quote
Old April 25th, 2008   #9
tjwoosta
Fresh Brewed Ubuntu
 
tjwoosta's Avatar
 
Join Date: Jan 2008
Beans: 1,289
Re: rtl8187b drivers for ubuntu hardy

awesome pjasnos, it worked for me too when i applied the patch myself

now i can scan for networks and i found my network but for some reason it wont let me type in the bssids box(dosn't freeze up, it just dont let me type)
so i cant figure out how to connect to my network

does anyone know a way to connect to my home network through the terminal?

and perhaps set the default so it will connect everytime i do ./wlan0up?

EDIT: Nevermind i figured it all out, the driver works fine now
(aside from the fact that the signal strength meter lies) but thats no biggy for me

Last edited by tjwoosta; April 25th, 2008 at 09:52 PM..
tjwoosta is online now   Reply With Quote
Old April 26th, 2008   #10
dougtron
5 Cups of Ubuntu
 
Join Date: Oct 2007
My beans are hidden!
Ubuntu 7.10 Gutsy Gibbon
Re: rtl8187b drivers for ubuntu hardy

Thanks pjasnos, got it working. Sad that it's WEP only.
dougtron is offline   Reply With Quote

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 09:57 PM.


vBulletin ©2000 - 2010, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. bilberry