Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
|
05-22-2013, 06:26 PM
|
#1
|
Member
Registered: Sep 2012
Posts: 47
Rep: 
|
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?
|
|
|
05-24-2013, 08:34 AM
|
#2
|
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,365
|
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.
|
05-24-2013, 11:32 AM
|
#3
|
LQ Addict
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680
|
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.
|
|
|
05-24-2013, 05:05 PM
|
#4
|
Member
Registered: Sep 2012
Posts: 47
Original Poster
Rep: 
|
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?
|
|
|
05-24-2013, 05:10 PM
|
#5
|
LQ Addict
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680
|
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.
|
|
|
05-24-2013, 05:15 PM
|
#6
|
Member
Registered: Sep 2012
Posts: 47
Original Poster
Rep: 
|
Quote:
Originally Posted by 273
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.
|
|
|
05-24-2013, 05:28 PM
|
#7
|
LQ Addict
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680
|
It would be in the non-free repositories of Debian since it is not free, for example: http://packages.debian.org/wheezy/firmware-ralink
|
|
|
05-26-2013, 10:08 AM
|
#8
|
Member
Registered: Sep 2012
Posts: 47
Original Poster
Rep: 
|
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
|
|
|
05-26-2013, 10:40 AM
|
#9
|
LQ Addict
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680
|
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.
|
|
|
05-26-2013, 01:17 PM
|
#10
|
Member
Registered: Sep 2012
Posts: 47
Original Poster
Rep: 
|
Quote:
Originally Posted by 273
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
|
|
|
05-26-2013, 01:26 PM
|
#11
|
LQ Addict
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680
|
Ah, so it looks like you have the firmware already.
Did you check under System Settings, Software & Updates on the Additional Drivers tab?
|
|
|
05-26-2013, 01:36 PM
|
#12
|
Member
Registered: Sep 2012
Posts: 47
Original Poster
Rep: 
|
Quote:
Originally Posted by 273
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"
|
|
|
05-26-2013, 01:42 PM
|
#13
|
LQ Addict
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680
|
... 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.
|
|
|
05-26-2013, 01:48 PM
|
#14
|
Member
Registered: Sep 2012
Posts: 47
Original Poster
Rep: 
|
Quote:
Originally Posted by 273
... 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.
|
|
|
05-26-2013, 05:36 PM
|
#15
|
Member
Registered: Sep 2012
Posts: 47
Original Poster
Rep: 
|
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.
|
|
|
All times are GMT -5. The time now is 01:21 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|