Hardware drivers in Linux

For discussing Linux compatible (or not) devices

Moderators: ChrisThornett, LXF moderators

Postby SiriusHardware » Thu Sep 27, 2012 9:34 pm

einonm wrote:
sudo dpkg -i <firmware file.deb>



After successfully? Installing the .deb package using dpkg as you suggested, I don't see any difference.

I've done all of your suggested actions again - results in one mighty paste, here:

http://pastebin.com/y5JgK68f
SiriusHardware
 
Posts: 73
Joined: Tue Sep 25, 2012 6:41 pm

Postby Dutch_Master » Thu Sep 27, 2012 10:00 pm

Why are you having an "eth0:avahi' alias to your network port?
Dutch_Master
LXF regular
 
Posts: 2453
Joined: Tue Mar 27, 2007 1:49 am

Postby SiriusHardware » Thu Sep 27, 2012 10:23 pm

Dutch_Master wrote:Why are you having an "eth0:avahi' alias to your network port?


I don't even know what that means. I have been running PC Linux for about a week, and a Raspberry Pi for a little bit longer.

I certainly didn't set that up or put it there. If you've read back further you will know that I have only ever used the ethernet network port once, and it did work.

My issue is that I am trying to find a way to bring my Ralink 3060 wireless card to life.
SiriusHardware
 
Posts: 73
Joined: Tue Sep 25, 2012 6:41 pm

Postby nelz » Fri Sep 28, 2012 6:58 am

Can you post the output of

Code: Select all
lspci -v -s 00:0d
"Insanity: doing the same thing over and over again and expecting different results." (Albert Einstein)
User avatar
nelz
Site admin
 
Posts: 8525
Joined: Mon Apr 04, 2005 11:52 am
Location: Warrington, UK

Postby el chapulín » Fri Sep 28, 2012 1:03 pm

It's very simple: Your kernel is too old.

From the Debian wiki: http://wiki.debian.org/rt2800pci

Experimental support for the RT3060, RT3062, RT3390, RT3562 and RT3592 chips was enabled in linux-2.6 2.6.38-5; RT3390 support is no longer experimental since Linux 3.0.


(Note: The microcode in squeeze's firmware-ralink package does not include the microcode for the RT3060 either.)

You need to:

1. Add the backports repo: http://backports-master.debian.org/Instructions/

2.
Code: Select all
# aptitude update && aptitude -t squeeze-backports install linux-image-3.2.0-0.bpo.3-686-pae firmware-ralink

3. Reboot into new kernel

4. Confirm that device is working and firmware being loaded
Code: Select all
$ dmesg | grep -i firmware

or
Code: Select all
# modprobe -r rt2800pci && modprobe rt2800pci

5. Configure wireless: http://wiki.debian.org/WiFi/HowToUse

***

Also you do have wired ethernet according to your lspci output.
el chapulín
 
Posts: 50
Joined: Fri Sep 07, 2012 1:13 pm

Postby Ram » Fri Sep 28, 2012 1:29 pm

el chapulín wrote:
Also you do have wired ethernet according to your lspci output.


But he has no wired connection at home only wifi

lubuntu LXDE 13.10 running on AMD Phenom II*4; ASUS Crosshair III Formula MB; 4 GB Ram.....
User avatar
Ram
LXF regular
 
Posts: 1679
Joined: Thu Apr 07, 2005 9:44 pm
Location: Guisborough

Postby el chapulín » Fri Sep 28, 2012 1:39 pm

Ram wrote:But he has no wired connection at home only wifi

I see, I read back and it looks like I misread an earlier post.
el chapulín
 
Posts: 50
Joined: Fri Sep 07, 2012 1:13 pm

Postby SiriusHardware » Fri Sep 28, 2012 5:35 pm

el chapulín wrote:
Ram wrote:But he has no wired connection at home only wifi

I see, I read back and it looks like I misread an earlier post.


Easily done - there was a lot to read through. The Linux PC does have ethernet, but I have nothing to connect it to.

Re: The Kernel being old, yes, I had wondered if I could update to a later Kernel since the Ralink support seems to have improved just after the one I'm using (2.6.32). This is the version of Debian 6 from the LXF coverdisc just a few weeks ago, so I can't imagine when that image was made if the Kernel is so many versions ahead already.

However, I had no idea how to get a later version of the Kernel until I read your detailed instructions, which I appreciate your having posted. Unfortunately, I can not carry them out until I can somehow get the machine to a wired internet connection.
SiriusHardware
 
Posts: 73
Joined: Tue Sep 25, 2012 6:41 pm

Postby SiriusHardware » Fri Sep 28, 2012 5:53 pm

nelz wrote:Can you post the output of

Code: Select all
lspci -v -s 00:0d


Yes, although it has now been suggested that I should just update the Kernel to fix the problem.

Oh but...

I need an internet connection to do that :)

Here it is:
Code: Select all
00.0d.0 Network controller: Ralink device 3060
           Subsystem: Edimax Computer co. Device 7711
           Memory at e2000000 (32 bit, non-prefetchable) [size =64K]
           Capabilities: [40] Power Management version 3


Not sure that will help you much, other than to confirm that the device is the one I said it was.

I'm coming to the conclusion that my version of Debian (which I thought was quite new) is not new enough to support my particular card, and the only other card I have is a Netgear WG311v2, which Linux also does not recognise - I gather the Texas (ti) chipset used by that card is also not well supported on Linux.

So I'm taking two other approaches to this - one being to order an Atheros- based card which several online reviewers have said 'just works' with Linux - it's cheap, so it won't be a disaster if it doesn't work.

The other thing I've done is to order a new Debian install disc from one of the official Debian suppliers - I'm hoping that the new disc will have a newer version of the Kernel on it, and that may well get the original Edimax card working after all.

In the meantime I will also try, if possible, to get the machine to a wired connection to try updating the Kernel as El Chapulin kindly described, as it seems to be a good thing for me to know how to do.
Last edited by SiriusHardware on Tue Oct 02, 2012 6:13 pm, edited 1 time in total.
SiriusHardware
 
Posts: 73
Joined: Tue Sep 25, 2012 6:41 pm

Postby nelz » Fri Sep 28, 2012 8:47 pm

SiriusHardware wrote:
Code: Select all
00.0d.0 Network controller: Ralink device 3060
           Subsystem: Edimax Computer co. Device 7711
           Memory at e2000000 (32 bit, non-prefetchable) [size =64K]
           Capabilities: [40] Power Management version 3


Not sure that will help you much, other than to confirm that the device is the one I said it was.

I'm coming to the conclusion that my version of Debian (which I thought was quite new) is not new enough to support my particular card,


It also confirms that you have no driver installed for the device, lspci -v shows the driver the kernel is using (or trying to use) for the device. This is consistent with your kernel not having support for the device due to its age.

Debian has a reputation for using tried and tested software, rather than the latest bleeding edge, which is why a new release includes a not so new kernel.
"Insanity: doing the same thing over and over again and expecting different results." (Albert Einstein)
User avatar
nelz
Site admin
 
Posts: 8525
Joined: Mon Apr 04, 2005 11:52 am
Location: Warrington, UK

Postby el chapulín » Mon Oct 01, 2012 7:54 am

To do it offline, download the following

http://packages.debian.org/squeeze-back ... are-ralink
http://packages.debian.org/squeeze-back ... .3-686-pae

You may also need (check if you have these installed)

http://packages.debian.org/squeeze/wireless-tools
http://packages.debian.org/squeeze/wpasupplicant

Put the files on a memory stick, plug into the machine and copy them to e.g. your /home/user directory, then:

Code: Select all
$ cd ~
# dpkg -i *.deb
el chapulín
 
Posts: 50
Joined: Fri Sep 07, 2012 1:13 pm

Postby SiriusHardware » Mon Oct 01, 2012 7:31 pm

el chapulín wrote:Put the files on a memory stick, plug into the machine and copy them to e.g. your /home/user directory, then:

Code: Select all
$ cd ~
# dpkg -i *.deb


Thanks for continuing to help: Over the weekend, I tried something radically different: I Installed Linux Mint 13 from the LXF discs to see if that might happen to have a later Kernel. It did - 3.2.0.23 (If I remember correctly).

LM13 acquired the Ralink 3060 based card correctly as it installed and gave every appearance of connecting to my router and staying connected, but no internet activity was possible. It was as though the encryption was not correct (my router uses WPA2-PSK). I don't use MAC filtering on the router, so all I had to do was get the passphrase correct. (I did).

Although Mint looks like a very nice version of Linux, I really would prefer to try to get Debian working because that is the most similar to the Linux I have running on my Raspberry Pi. (On the Pi, I have 'Raspbian', which is a slightly Pi-optimised Debian rebuild (or so I understand). The PC I'm using for Linux is quite old, (circa 2005) so it makes sense to use a lighter weight distro on it anyway.

I'll reinstall Debian again and try your offline method of updating the Kernel. It'll take me a little while to do all that, but I'll report back when I've done it.
SiriusHardware
 
Posts: 73
Joined: Tue Sep 25, 2012 6:41 pm

Postby SiriusHardware » Mon Oct 01, 2012 9:38 pm



I'm afraid this one proved to be a problem. The other packages seemed to install or update OK (some I had already, to a greater or lesser extent), but when it got to the kernel update package it fell apart because it seemed to conflict with some packages which needed to be removed in order to go ahead: But on the other hand Linux didn't want to remove them because key aspects of Linux (like the ability to boot) depended upon them.

I tried using a package manager to install the above package, and from that at least the message was simpler: It couldn't install the package above:

Error: Dependency is not satisfiable: Linux-base (>= 3~)

What this sounds like to me is that I can't install that version of the Kernel unless I'm already running a V3 kernel. So how to get from V2 to any version of V3? No idea. :)

As I said in an earlier post, I have another Debian install disc on the way to me - with any luck it may have a marginally newer kernel version. I'll try that next, when it arrives (any day now).
SiriusHardware
 
Posts: 73
Joined: Tue Sep 25, 2012 6:41 pm

Postby el chapulín » Tue Oct 02, 2012 7:55 am

It's a simple dependency issue - because you're installing offline with dpkg there is no dependency resolution.

When you see something like that you need to go to packages.debian.org and search:

http://backports.debian.org/debian-back ... +1_all.deb

You'll need this as well
http://backports.debian.org/debian-back ... +1_all.deb

Put those in the same directory and try again - if it spits another error about a missing dependency, have a search here: http://www.debian.org/distrib/packages#search_packages

***************

Also be aware that Debian Wheezy (Debian 7) is still in testing, but currently frozen, it should release early next year (perhaps sooner). You could just jump straight to wheezy, get a much newer kernel by default and newer software. Be aware though that testing can be buggy (but no more so than 'buntu or mint).

http://cdimage.debian.org/cdimage/weekly-builds/
el chapulín
 
Posts: 50
Joined: Fri Sep 07, 2012 1:13 pm

Postby nelz » Tue Oct 02, 2012 10:24 am

SiriusHardware wrote:Although Mint looks like a very nice version of Linux, I really would prefer to try to get Debian working because that is the most similar to the Linux I have running on my Raspberry Pi. (On the Pi, I have 'Raspbian', which is a slightly Pi-optimised Debian rebuild (or so I understand).


You could try Lubuntu. It is based on Debian, but will use a newer kernel, and it uses the same LXDE desktop as Raspbian.
"Insanity: doing the same thing over and over again and expecting different results." (Albert Einstein)
User avatar
nelz
Site admin
 
Posts: 8525
Joined: Mon Apr 04, 2005 11:52 am
Location: Warrington, UK

PreviousNext

Return to Hardware

Who is online

Users browsing this forum: No registered users and 1 guest