New User Needs Help Setting Up Wireless
Hello everyone.
I've installed Trisquel 4.5 on a laptop which previously had Windows 7 installed. The problem I have at the moment is I can't seem to get the Wireless adaptor working. I have a Ralink rt2860 adaptor and I know the website has the drivers with full source code available but I'm not sure how I would go about installing them.
output of ifconfig:
eth0 Link encap:Ethernet HWaddr 2c:27:d7:ca:8e:81
inet addr:192.168.2.102 Bcast:192.168.2.255 Mask:255.255.255.0
inet6 addr: fe80::2e27:d7ff:feca:8e81/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:60744 errors:0 dropped:0 overruns:0 frame:0
TX packets:45120 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:74868857 (74.8 MB) TX bytes:5201770 (5.2 MB)
Interrupt:42 Base address:0x2000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:20 errors:0 dropped:0 overruns:0 frame:0
TX packets:20 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1200 (1.2 KB) TX bytes:1200 (1.2 KB)
output of iwconfig:
lo no wireless extensions.
eth0 no wireless extensions.
output of lspci:
00:00.0 Host bridge: Intel Corporation Mobile 4 Series Chipset Memory Controller Hub (rev 07)
00:02.0 VGA compatible controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07)
00:02.1 Display controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07)
00:1a.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #4 (rev 03)
00:1a.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #5 (rev 03)
00:1a.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #2 (rev 03)
00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 03)
00:1c.0 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 1 (rev 03)
00:1c.1 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 2 (rev 03)
00:1d.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #1 (rev 03)
00:1d.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #2 (rev 03)
00:1d.2 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #3 (rev 03)
00:1d.3 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #6 (rev 03)
00:1d.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #1 (rev 03)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev 93)
00:1f.0 ISA bridge: Intel Corporation ICH9M LPC Interface Controller (rev 03)
00:1f.2 SATA controller: Intel Corporation ICH9M/M-E SATA AHCI Controller (rev 03)
00:1f.3 SMBus: Intel Corporation 82801I (ICH9 Family) SMBus Controller (rev 03)
00:1f.6 Signal processing controller: Intel Corporation 82801I (ICH9 Family) Thermal Subsystem (rev 03)
02:00.0 Network controller: Ralink corp. Device 5390
03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8101E/RTL8102E PCI Express Fast Ethernet controller (rev 02)
It looks like the Wireless device is this line:
02:00.0 Network controller: Ralink corp. Device 5390, but I could be wrong.
What will I need to do now?
You basically need the ID of the network controller. You are right about which entry corresponds to it, but you need to run sudo lspci -nnk
. Then you'll see the ID of the device, mine looks similar to this:
02:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller *[10ec:8168]* (rev 03)
The part between the stars is the device ID, that's what you need to look for on the net. There should be how-tos somewhere. I hope it actually works with fully free drivers, but there are a number of things that require a non-free firmware and thus cannot be supported by a libre kernel.
This is what I get when I run lspci -nnk:
02:00.0 Network controller [0280]: Ralink corp. Device [1814:5390]
Subsystem: Hewlett-Packard Company Device [103c:1636]
So following from your comment then "[103c:1636]" should be the device ID I need to look for on the 'net. I'll keep you posted.
On 29/08/11 12:12, name at domain wrote:
> This is what I get when I run lspci -nnk:
>
> 02:00.0 Network controller [0280]: Ralink corp. Device [1814:5390]
> Subsystem: Hewlett-Packard Company Device [103c:1636]
>
> So following from your comment then "[103c:1636]" should be the device
> ID I need to look for on the 'net. I'll keep you posted.
>
No data on the hardware database on h-node.com.
Possibly it has firmware blobs that render it non-free firmware. Please
post the results of:
dmesg |grep -i DEBLOB
And of:
dmesg |grep -i Firmware
--
Quiliro Ordóñez
09 821 8696
02 340 1517
"No se puede sacrificar la libertad por ningún bien, por ninguna promesa
de pan o de paz o de justicia, porque ese pan tendría amargura de
veneno, esa paz sería de muerte, y esa justicia no sería justicia humana
ni tendría sentido." Alfredo Pérez Guerrero
"Não se pode sacrificar a liberdade por nenhum bem, por nenhuma promessa
de pan ou de paz ou de justiça, porque esse pan teria amargura de
veneno, essa paz seria de morte, e essa justiça não seria justiça humana
nem faria sentido." Alfredo Pérez Guerrero
> This is what I get when I run lspci -nnk:
>
> 02:00.0 Network controller [0280]: Ralink corp. Device [1814:5390]
> Subsystem: Hewlett-Packard Company Device [103c:1636]
>
> So following from your comment then "[103c:1636]" should be the device ID
> I
> need to look for on the 'net. I'll keep you posted.
>
Is the other code that you should be looking for.
Try http://www.h-node.com to find some answers.
I followed the instructions in this post:
http://ubuntuforums.org/showthread.php?t=1751348
and it still doesn't seem to work. I'm fairly certain the drivers compiled and installed but when I did a reboot nothing happened. I installed wifi-radar and when I ran the program it didn't pick up the Wireless device automatically and I was unable to set it manually (the dropdown box was greyed out).
I'll keep searching online.
On 29/08/11 12:38, name at domain wrote:
> I followed the instructions in this post:
>
> http://ubuntuforums.org/showthread.php?t=1751348
>
> and it still doesn't seem to work. I'm fairly certain the drivers
> compiled and installed but when I did a reboot nothing happened. I
> installed wifi-radar and when I ran the program it didn't pick up the
> Wireless device automatically and I was unable to set it manually (the
> dropdown box was greyed out).
>
Installing drivers from outside of Trisquel's repos risk installing
non-free software. It is highly recommended you do not do it to protect
your freedom. Please post the result of the two dmesg commands I sent
you before so we can help you.
--
Quiliro Ordóñez
09 821 8696
02 340 1517
"No se puede sacrificar la libertad por ningún bien, por ninguna promesa
de pan o de paz o de justicia, porque ese pan tendría amargura de
veneno, esa paz sería de muerte, y esa justicia no sería justicia humana
ni tendría sentido." Alfredo Pérez Guerrero
"Não se pode sacrificar a liberdade por nenhum bem, por nenhuma promessa
de pan ou de paz ou de justiça, porque esse pan teria amargura de
veneno, essa paz seria de morte, e essa justiça não seria justiça humana
nem faria sentido." Alfredo Pérez Guerrero
Sorry about that I didn't realize. I just assumed that it would be OK since the source code was available from Ralink's website.
There is nothing inherently wrong with installing software that isn't included in Trisquel. Trisquel doesn't include every single piece of free software out there. For example tor is recommended that you install from their PPA because it helps keep up with security updates.
You just have to be especially careful about installing non-free software accidentally when it isn't from the repos.
I haven't checked out those drivers but source code availability does not automatically mean it is free software. You also have to have the ability to change and share it as well. You would have to check the license in that case.
Notice also: the driver may be Free (e.g., GPL) but the firmware a binary blob.
Output of lsmod:
Module Size Used by
rt2860sta 790477 0
aes_i586 7280 188
aes_generic 26875 1 aes_i586
joydev 8767 0
parport_pc 26058 0
ppdev 5588 0
xfs 693736 1
exportfs 3449 1 xfs
dm_crypt 11417 0
snd_hda_codec_realtek 218460 1
snd_hda_intel 22235 2
snd_hda_codec 87552 2 snd_hda_codec_realtek,snd_hda_intel
snd_hwdep 5040 1 snd_hda_codec
snd_pcm 71475 2 snd_hda_intel,snd_hda_codec
snd_seq_midi 4588 0
snd_rawmidi 17783 1 snd_seq_midi
snd_seq_midi_event 6047 1 snd_seq_midi
snd_seq 47238 2 snd_seq_midi,snd_seq_midi_event
snd_timer 19067 2 snd_pcm,snd_seq
snd_seq_device 5744 3 snd_seq_midi,snd_rawmidi,snd_seq
hp_wmi 5223 0
snd 49102 13 snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
uvcvideo 55911 0
videodev 43162 1 uvcvideo
psmouse 59033 0
v4l1_compat 13359 2 uvcvideo,videodev
serio_raw 4022 0
soundcore 880 1 snd
snd_page_alloc 7120 2 snd_hda_intel,snd_pcm
lp 7342 0
parport 31492 3 parport_pc,ppdev,lp
raid10 22394 0
raid456 53546 0
async_raid6_recov 4883 1 raid456
async_pq 3070 2 raid456,async_raid6_recov
raid6_pq 80029 2 async_raid6_recov,async_pq
async_xor 2330 3 raid456,async_raid6_recov,async_pq
async_memcpy 1045 2 raid456,async_raid6_recov
async_tx 2167 5 raid456,async_raid6_recov,async_pq,async_xor,async_memcpy
raid1 21001 0
raid0 8579 0
multipath 5987 0
linear 3854 0
dm_raid45 81753 0
xor 15136 2 async_xor,dm_raid45
i915 295947 4
drm_kms_helper 30136 1 i915
drm 168156 4 i915,drm_kms_helper
ahci 19326 3
intel_agp 26566 2 i915
i2c_algo_bit 5168 1 i915
video 18712 1 i915
libahci 21728 1 ahci
r8169 32120 0
agpgart 32011 2 drm,intel_agp
mii 4425 1 r8169
output 1883 1 video
Seems the rt2860sta module is installed at the top of this list but it's not being used. Is that assumption correct? If so how do I use it?
dmesg | grep -i DEBLOB gave nothing
dmesg | grep -i Firmware gave:
[ 0.532439] Firmware did not grant requested _OSC control
[ 0.532449] Firmware did not grant requested _OSC control
[ 0.532470] Firmware did not grant requested _OSC control
[ 0.532478] Firmware did not grant requested _OSC control
[ 0.540847] [Firmware Bug]: Invalid critical threshold (0)
On 29/08/11 13:09, name at domain wrote:
> dmesg | grep -i DEBLOB gave nothing
> dmesg | grwp -i Firmware gave:
>
> [ 0.532439] Firmware did not grant requested _OSC control
> [ 0.532449] Firmware did not grant requested _OSC control
> [ 0.532470] Firmware did not grant requested _OSC control
> [ 0.532478] Firmware did not grant requested _OSC control
> [ 0.540847] [Firmware Bug]: Invalid critical threshold (0)
>
I am not sure if that is about the wifi card. Will you please paste the
whole dmesg? Just type:
dmesg
--
Quiliro Ordóñez
09 821 8696
02 340 1517
"No se puede sacrificar la libertad por ningún bien, por ninguna promesa
de pan o de paz o de justicia, porque ese pan tendría amargura de
veneno, esa paz sería de muerte, y esa justicia no sería justicia humana
ni tendría sentido." Alfredo Pérez Guerrero
"Não se pode sacrificar a liberdade por nenhum bem, por nenhuma promessa
de pan ou de paz ou de justiça, porque esse pan teria amargura de
veneno, essa paz seria de morte, e essa justiça não seria justiça humana
nem faria sentido." Alfredo Pérez Guerrero
On 30/08/11 08:45, Quiliro Ordóñez wrote:
> On 29/08/11 13:09, name at domain wrote:
>> dmesg | grep -i DEBLOB gave nothing
>> dmesg | grwp -i Firmware gave:
>>
>> [ 0.532439] Firmware did not grant requested _OSC control
>> [ 0.532449] Firmware did not grant requested _OSC control
>> [ 0.532470] Firmware did not grant requested _OSC control
>> [ 0.532478] Firmware did not grant requested _OSC control
>> [ 0.540847] [Firmware Bug]: Invalid critical threshold (0)
>>
>
> I am not sure if that is about the wifi card.
On a search at duckduckgo.com I found it follows some message about
hotplug so I think it is not about your wifi unless it is related to
turning it on with the buttons on the machine hardware.
If you would paste your /var/log/messages it would help too.
Do you have a functional wired connection?
Does any other wifi card plugged into your machine work?
--
Quiliro Ordóñez
09 821 8696
02 340 1517
"No se puede sacrificar la libertad por ningún bien, por ninguna promesa
de pan o de paz o de justicia, porque ese pan tendría amargura de
veneno, esa paz sería de muerte, y esa justicia no sería justicia humana
ni tendría sentido." Alfredo Pérez Guerrero
"Não se pode sacrificar a liberdade por nenhum bem, por nenhuma promessa
de pan ou de paz ou de justiça, porque esse pan teria amargura de
veneno, essa paz seria de morte, e essa justiça não seria justiça humana
nem faria sentido." Alfredo Pérez Guerrero