Hi,
Using the latest 14-Jun OS version. The issue is that am unable to get the wifi working. The dongle am using is a Tenda w311m, which apparently uses a ra5370 chip. Following the advice given elsewhere in the forums, am trying to compile the driver off the sources downloaded from the mediatek website. It is failing in the beginning itself saying it's unable to locate the build file in the lib/modules folder. The OS (uname -r) is 3.12.0-g0bc9c3a-dirty, and it's not able to locate this folder in the lib/modules. Cannot build the folder also, as apt is not able to locate the package 3.12.0-g0bc9c3a-dirty. Please explain how to proceed.
linaro-nano:~> uname -r
3.12.0-g0bc9c3a-dirty
linaro-nano:~/Downloads> cd DPO_RT5572_LinuxSTA_2.6.1.3_20121022 --> This is the folder with the source files
linaro-nano:~/Downloads/DPO_RT5572_LinuxSTA_2.6.1.3_20121022> ls
Makefile RT2870STACard.dat include/ rate_ctrl/ tools/
README_STA_usb chips/ iwpriv_usage.txt sta/
RT2870STA.dat common/ os/ sta_ate_iwpriv_usage.txt
linaro-nano:~/Downloads/DPO_RT5572_LinuxSTA_2.6.1.3_20121022> sudo make
make -C tools
make[1]: Entering directory `/home/linaro/Downloads/DPO_RT5572_LinuxSTA_2.6.1.3_20121022/tools'
gcc -g bin2h.c -o bin2h
make[1]: Leaving directory `/home/linaro/Downloads/DPO_RT5572_LinuxSTA_2.6.1.3_20121022/tools'
/home/linaro/Downloads/DPO_RT5572_LinuxSTA_2.6.1.3_20121022/tools/bin2h
cp -f os/linux/Makefile.6 /home/linaro/Downloads/DPO_RT5572_LinuxSTA_2.6.1.3_20121022/os/linux/Makefile
make -C /lib/modules/3.12.0-g0bc9c3a-dirty/build SUBDIRS=/home/linaro/Downloads/DPO_RT5572_LinuxSTA_2.6.1.3_20121022/os/linux modules
make: *** /lib/modules/3.12.0-g0bc9c3a-dirty/build: No such file or directory. Stop.
make: *** [LINUX] Error 2
linaro-nano:~/Downloads/DPO_RT5572_LinuxSTA_2.6.1.3_20121022> ls /lib/modules
3.13.0-24-generic/ --> Does not list the modules/build file corresponding to the OS
linaro-nano:~/Downloads/DPO_RT5572_LinuxSTA_2.6.1.3_20121022>
Other info:
[*]iwconfig doesn't mention the wlan0 or ra0 etc at all:
linaro-nano:~> iwconfig
lo no wireless extensions.
eth0 no wireless extensions.
linaro-nano:~>
[*]ifconfig shows ethernet (on which am typing this)
linaro-nano:~> ifconfig
eth0 Link encap:Ethernet HWaddr 04:4f:8b:00:07:0b
inet addr:192.168.0.120 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1900 errors:0 dropped:0 overruns:0 frame:0
TX packets:2395 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:157747 (157.7 KB) TX bytes:337701 (337.7 KB)
Interrupt:54 Base address:0xb000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:83 errors:0 dropped:0 overruns:0 frame:0
TX packets:83 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:4614 (4.6 KB) TX bytes:4614 (4.6 KB)
Any other alternative (without compiling etc) to get the wifi working is also fine.