Hi people, i I bought an A20 olinuxino and a MOD-WIFi-R5370-ANT.
The board running with kernel 3.4.90+ and a small debian rootfs. The board work very well, but i have problem using the wifi dongle. I try to compile the Mediatek driver (http://www.mediatek.com/en/downloads/rt8070-rt3070-rt3370-rt3572-rt5370-rt5372-rt5572-usb-usb/) but i fail. There is anyone that can drive me to a solution?
Thanks a lot
You don't need to build the driver separately.
There is a driver for this chipset in the linux kernel.
You need to build the module or to recompile the kernel
with build-in module.
In the .config file you must have this set
either to =y or = m
CONFIG_RT2800USB_RT53XX=?
In your current running linux run
the following commands AS root:
cp /proc/config.gz /tmp
gunzip /tmp/config.gz
grep RT5 /tmp/config
You will see if you have this option
enabled in any way. You could try also:
grep RT2800USB config
In the default A20 kernel configuration
used by Olimex this option is set to n
or omitted which is equal to n ;-)
https://docs.google.com/file/d/0B-bAEPML8fwldEVvU1hCZ29DODQ/edit?pli=1
Quote
# CONFIG_RT2800USB_RT53XX is not set
For instructions how to recompile a kernel for A20:
http://olimex.wordpress.com/2013/09/18/7795/
Good Luck :-)
scout_3pm thanks for your help. I have recompiled the kernel with the RT2800USB module. Now i can see the wireless network, but i'm not able to use it.
ifconfig -a
wlan6 Link encap:Ethernet HWaddr 00:87:34:5d:5f:a1
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)
iwlist scan
lo Interface doesn't support scanning.
wlan6 Interface doesn't support scanning : Network is down
tunl0 Interface doesn't support scanning.
eth0 Interface doesn't support scanning.
ifconfig wlan6 up
SIOCSIFFLAGS: No such file or directory
Quote from: labioAnto on May 28, 2014, 03:54:52 PM
scout_3pm thanks for your help. I have recompiled the kernel with the RT2800USB module. Now i can see the wireless network, but i'm not able to use it.
ifconfig -a
wlan6 Link encap:Ethernet HWaddr 00:87:34:5d:5f:a1
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)
iwlist scan
lo Interface doesn't support scanning.
wlan6 Interface doesn't support scanning : Network is down
tunl0 Interface doesn't support scanning.
eth0 Interface doesn't support scanning.
ifconfig wlan6 up
SIOCSIFFLAGS: No such file or directory
I have installed ralink-firmware, and after reboot i'm able to use the wireless. Thanks for help!!
I'm glad I could help :-)
Edit your first post and put in front of title "[SOLVED]" ;-)
Could you share with me where to find the firmware and how to install it? Does it come with the Linux kernel already? I've enabled the driver in the kernel and re-built it but don't know where to obtain the firmware and how to install it.
Thanks. . .
apt-get install <package>
for Debian(-based)
where package depending on Debian version is ralink-firmware or firmware-linux-nonfree and firmware-linux-free depending what firmware you actually need, better to have them both if for personal/home/non-business use :-)