Hello,
I would like to enable my wifi module
( https://www.amazon.fr/gp/product/B00RFLHF14/ref=oh_aui_detailpage_o02_s00?ie=UTF8&psc=1 (https://www.amazon.fr/gp/product/B00RFLHF14/ref=oh_aui_detailpage_o02_s00?ie=UTF8&psc=1) , https://wikidevi.com/wiki/Ralink_RT5572 (https://wikidevi.com/wiki/Ralink_RT5572) , https://wiki.debian.org/rt2800usb )
It should be working out of the box but doesn't on the olimex board and I can't point out why.
The device is listed in the usb devices but ifconfig dosen't show any wlan (or new) interfaces :
root@A20-OLinuXino:~# lsusb
Bus 004 Device 002: ID 148f:5572 Ralink Technology, Corp. RT5572 Wireless Adapter
root@A20-OLinuXino:~# ifconfig
eth0 Link encap:Ethernet HWaddr 1e:8f:bb:9b:ca:3f
inet addr:192.168.0.34 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:868 errors:0 dropped:0 overruns:0 frame:0
TX packets:699 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:79320 (77.4 KiB) TX bytes:77730 (75.9 KiB)
Interrupt:117
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
tun0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
inet addr:10.8.0.6 P-t-P:10.8.0.5 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1
RX packets:1 errors:0 dropped:0 overruns:0 frame:0
TX packets:1 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:148 (148.0 B) TX bytes:71 (71.0 B)
usb0 Link encap:Ethernet HWaddr 7a:c2:a5:9c:a4:9a
inet addr:192.168.2.1 Bcast:192.168.2.255 Mask:255.255.255.0
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
I also made sure all the driver I can think of are installed:
root@A20-OLinuXino:~# apt-get install firmware-ralink firmware-linux-nonfree firmware-linux-free
Reading package lists... Done
Building dependency tree
Reading state information... Done
firmware-linux-free is already the newest version.
firmware-linux-nonfree is already the newest version.
firmware-ralink is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Does anyone know of a possible solution ?
I think the firmware is probably not any Linux driver(s) but rather the data (firmware) needed (if any) to be sent across to the device.
syslog / dmesg may show you more about what the kernel finds and maybe tries to do with the device (and if it fails, why).
Have a look online for what the driver name is and then check you have it. (And you may need to insmod it.)
edit: oh sorry I see you found the debian info - but is it actually there, built, etc? (It _should_ be but...)
John
Hi and thanks for the reply.
The rt2800usb driver needed for the usb dongle is there but not shown in lsmod.
Since insmod doesn't seems to work I tried modprobe rt2800usb
It then shows up
root@A20-OLinuXino:~# lsmod | grep rt2*
rt2800usb 13593 0
rt2800lib 48726 1 rt2800usb
rt2x00usb 11120 1 rt2800usb
rt2x00lib 42574 3 rt2x00usb,rt2800lib,rt2800usb
mac80211 247555 3 rt2x00lib,rt2x00usb,rt2800lib
But ifconfig still doesn't show any new interfaces, I don't understand. What I'm doing wrong ?
Even tho I don't know much about compiling and find it a bit scary I also tried to compile this driver : https://www.mediatek.com/products/broadbandWifi/rt5572
But the make command gives the return : make[1]: *** /lib/modules/3.4.103-00033-g9a1cd03-dirty/build: No such file or directory. Stop.
It seems that the build file does exist but is just a link to "/home/gogo/a20-olimex/linux-sunxi" which dosen't exist, the only file in my home directory is "olimex".