LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 05-22-2013, 06:26 PM   #1
skilo47
Member
 
Registered: Sep 2012
Posts: 47

Rep: Reputation: Disabled
Railink 539b works on some distros but not others why?


So my hp laptop has a railink wireless card in it and i have tried a lot of distros but only crunch bang properly detects my wifi card, Why is that? Is there something special crunch bang does at boot that the other distros do not do? Crunch bang even uses and older kernal (3.2.04) than ubuntu and opensuse but they don't detect my card, Why is this?

Under crunch bang i ran lspci and it tells me this below

Code:
crunchbang@crunchbang:~$ lspci -vv -s 01:00.0
01:00.0 Network controller: Ralink corp. Device 539b
	Subsystem: Hewlett-Packard Company Device 18ed
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0, Cache Line Size: 64 bytes
	Interrupt: pin A routed to IRQ 16
	Region 0: Memory at 52500000 (32-bit, non-prefetchable) [size=64K]
	Capabilities: <access denied>
	Kernel driver in use: rt2800pci
How can i get other distros to use the rt2800pci driver?
 
Old 05-24-2013, 08:34 AM   #2
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,229

Rep: Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849
You need two things to make that card work. The kernel module, and the firmware.

From running modinfo on my system...

Quote:
sudo /sbin/modinfo /lib/modules/3.2.29/kernel/drivers/net/wireless/rt2x00/rt2800pci.ko
filename: /lib/modules/3.2.29/kernel/drivers/net/wireless/rt2x00/rt2800pci.ko
license: GPL
firmware: rt2860.bin
description: Ralink RT2800 PCI & PCMCIA Wireless LAN driver.
version: 2.3.0
The kernel module is rt2800pci and the firmware is rt2860.bin. The firmware on my system is located at /lib/firmware/rt2860.bin.
 
1 members found this post helpful.
Old 05-24-2013, 11:32 AM   #3
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680

Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373
On Ubuntu you can probably install firmware-ralink form the repositories -- you may need to tick a box to use non-free ones before you see it though.
 
Old 05-24-2013, 05:05 PM   #4
skilo47
Member
 
Registered: Sep 2012
Posts: 47

Original Poster
Rep: Reputation: Disabled
How do i go about installing it in ubuntu?

I tried doing - modprobe rt2800pci and it didn't give me any errors but nothing happened either.

Do i need to download that firmware bin file?
 
Old 05-24-2013, 05:10 PM   #5
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680

Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373
You should just be able to apt-get install firmware-ralink -- but I would expect Ubuntu's "Jockey" to tell you that non-free drivers were available.
 
Old 05-24-2013, 05:15 PM   #6
skilo47
Member
 
Registered: Sep 2012
Posts: 47

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by 273 View Post
You should just be able to apt-get install firmware-ralink -- but I would expect Ubuntu's "Jockey" to tell you that non-free drivers were available.
Would it be the same process with debian 7?

I find it so odd that the newest version of ubuntu (13.04) doesn't have the firmware preinstalled but a distro like crunchbang witch is based on debian (wich has never been a distro known for being cutting edge) does. Just.... weird.
 
Old 05-24-2013, 05:28 PM   #7
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680

Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373
It would be in the non-free repositories of Debian since it is not free, for example: http://packages.debian.org/wheezy/firmware-ralink
 
Old 05-26-2013, 10:08 AM   #8
skilo47
Member
 
Registered: Sep 2012
Posts: 47

Original Poster
Rep: Reputation: Disabled
I decided to go with ubuntu 12.04 but i still cannot find any ralink-firmware, I checked synaptic for ralink and rt2800pci and it didn't show anything.

THe only thing i found online is a git page with a bunch of directories, I do not know how to use git, I just need a simple binary to install.

Here is the git thingy - http://git.kernel.org/cgit/linux/ker...x-firmware.git
 
Old 05-26-2013, 10:40 AM   #9
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680

Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373
I just checked it out in a VM and I can't find the firmware in Ubuntu either. I could comment about Ubuntu and user-friendliness at this point but I'll keep it to myself.
Since the Debian package has no dependencies you could probably download the .deb from http://packages.debian.org/jessie/firmware-ralink and install it. If it works then great and if it doesn't you just have to apt-get remove it.
 
Old 05-26-2013, 01:17 PM   #10
skilo47
Member
 
Registered: Sep 2012
Posts: 47

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by 273 View Post
I just checked it out in a VM and I can't find the firmware in Ubuntu either. I could comment about Ubuntu and user-friendliness at this point but I'll keep it to myself.
Since the Debian package has no dependencies you could probably download the .deb from http://packages.debian.org/jessie/firmware-ralink and install it. If it works then great and if it doesn't you just have to apt-get remove it.
Well i gave that a try and this is what happened.

Code:
skilo@HP-2000-Notebook-PC:~/Downloads$ sudo dpkg -i *.deb
[sudo] password for skilo: 
Selecting previously unselected package firmware-ralink.
(Reading database ... 169014 files and directories currently installed.)
Unpacking firmware-ralink (from firmware-ralink_0.38_all.deb) ...
dpkg: error processing firmware-ralink_0.38_all.deb (--install):
 trying to overwrite '/lib/firmware/rt3290.bin', which is also in package linux-firmware 1.79.4
Errors were encountered while processing:
 firmware-ralink_0.38_all.deb
 
Old 05-26-2013, 01:26 PM   #11
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680

Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373
Ah, so it looks like you have the firmware already.
Did you check under System Settings, Software & Updates on the Additional Drivers tab?
 
Old 05-26-2013, 01:36 PM   #12
skilo47
Member
 
Registered: Sep 2012
Posts: 47

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by 273 View Post
Ah, so it looks like you have the firmware already.
Did you check under System Settings, Software & Updates on the Additional Drivers tab?
Yes, It just says "NO proprietary drivers are in use on this system"
 
Old 05-26-2013, 01:42 PM   #13
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680

Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373
... and the output of lspci on Ubuntu isn't the same as on crunchbang?
This is starting to sound a lot like a bug with Ubuntu -- I just realised I've been using the same driver on Debian all this time without any issues.
Code:
lspci -vv -s 01:00.0
01:00.0 Network controller: Ralink corp. RT2790 Wireless 802.11n 1T/2R PCIe
	Subsystem: Ralink corp. Device 2790
	Physical Slot: eeepc-wifi
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0, Cache Line Size: 32 bytes
	Interrupt: pin A routed to IRQ 19
	Region 0: Memory at fbef0000 (32-bit, non-prefetchable) [size=64K]
	Capabilities: <access denied>
	Kernel driver in use: rt2800pci

Last edited by 273; 05-26-2013 at 01:44 PM.
 
Old 05-26-2013, 01:48 PM   #14
skilo47
Member
 
Registered: Sep 2012
Posts: 47

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by 273 View Post
... and the output of lspci on Ubuntu isn't the same as on crunchbang?
This is starting to sound a lot like a bug with Ubuntu -- I just realised I've been using the same driver on Debian all this time without any issues.
Code:
lspci -vv -s 01:00.0
01:00.0 Network controller: Ralink corp. RT2790 Wireless 802.11n 1T/2R PCIe
	Subsystem: Ralink corp. Device 2790
	Physical Slot: eeepc-wifi
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0, Cache Line Size: 32 bytes
	Interrupt: pin A routed to IRQ 19
	Region 0: Memory at fbef0000 (32-bit, non-prefetchable) [size=64K]
	Capabilities: <access denied>
	Kernel driver in use: rt2800pci
Here is the lspci output on ubuntu 12.04

Code:
skilo@HP-2000-Notebook-PC:~$ lspci -vv -s 01:00.0
01:00.0 Network controller: Ralink corp. Device 539b
	Subsystem: Hewlett-Packard Company Device 18ed
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0, Cache Line Size: 64 bytes
	Interrupt: pin A routed to IRQ 7
	Region 0: Memory at 52500000 (32-bit, non-prefetchable) [size=64K]
	Capabilities: <access denied>
Basically it recognizes that there is a network card there but there is no driver in use for it.
 
Old 05-26-2013, 05:36 PM   #15
skilo47
Member
 
Registered: Sep 2012
Posts: 47

Original Poster
Rep: Reputation: Disabled
I ran modprobe -l and it shows that the module is there.

Quote:
kernel/drivers/net/wireless/rt2x00/rt2x00lib.ko
kernel/drivers/net/wireless/rt2x00/rt2x00pci.ko
kernel/drivers/net/wireless/rt2x00/rt2x00usb.ko
kernel/drivers/net/wireless/rt2x00/rt2800lib.ko
kernel/drivers/net/wireless/rt2x00/rt2400pci.ko
kernel/drivers/net/wireless/rt2x00/rt2500pci.ko
kernel/drivers/net/wireless/rt2x00/rt61pci.ko
kernel/drivers/net/wireless/rt2x00/rt2800pci.ko
kernel/drivers/net/wireless/rt2x00/rt2500usb.ko
kernel/drivers/net/wireless/rt2x00/rt73usb.ko
kernel/drivers/net/wireless/rt2x00/rt2800usb.ko
I tried doing "sudo modprobe rt2800pci" and nothing happens.

I looked in /lib/firmware and found these firmwares below:

Quote:
rt2561.bin
rt2561s.bin
rt2661.bin
rt2860.bin
rt2870.bin
rt3070.bin
rt3071.bin
rt3090.bin
rt3290.bin
rt73.bin

Last edited by skilo47; 05-26-2013 at 05:38 PM.
 
  


Reply



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
Which distros have midi that just works deathalele Linux - Distributions 1 07-12-2008 09:50 AM
No Linux distros work...but Win98 works daletaylor Linux - Hardware 16 06-25-2007 02:37 PM
xorg from ubuntu works for all distros? cjae Linux - Newbie 1 09-17-2006 07:22 PM
Nvidia freezes on some distros but works on others nvgringo Linux - Hardware 2 01-23-2004 12:43 PM
CD-ROM drive is dead: It works with other distros arthur1968 Debian 29 12-10-2003 01:04 PM

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

All times are GMT -5. The time now is 03:36 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
Open Source Consulting | Domain Registration