Wednesday, May 1, 2024
 Popular · Latest · Hot · Upcoming
3
rated 0 times [  3] [ 0]  / answers: 1 / hits: 40959  / 2 Years ago, tue, october 11, 2022, 6:42:14

I have a Trim-Slice Value using Ubuntu 11.04. It comes with a Ralink RT5370 802.11n WiFi dongle.



When I plug the dongle in, it does not 'just work'; ifconfig and iwconfig do not show the device, though lsusb does show the device listed:



phrogz@trimslice:~$ lsusb | grep Ralink
Bus 001 Device 004: ID 148f:5370 Ralink Technology, Corp.


I downloaded the link for RT5370 from Ralink's Linux Drivers site, resulting in a file named 2011_0225_RT5370_RT5372_Linux_STA_V2.5.0.1_DPO.tar.bz2. After extracting it, the only README in the file mentions the "RT2870 Wireless Lan Linux Driver"; however, the Makefile at the root of the directory does have these lines:



ifeq ($(CHIPSET),)
CHIPSET = 5370
endif


I edited os/linux/config.mk to have these settings:



# Support Wpa_Supplicant
HAS_WPA_SUPPLICANT=y

# Support Native WpaSupplicant for Network Maganger
HAS_NATIVE_WPA_SUPPLICANT_SUPPORT=y


When I return to the root of the extracted directory and run make, however, it fails:



phrogz@trimslice:~/2011_0225_RT5370_RT5372_Linux_STA_V2.5.0.1_DPO$ sudo make
[sudo] password for phrogz:
make -C tools
make[1]: Entering directory `/home/phrogz/2011_0225_RT5370_RT5372_Linux_STA_V2.5.0.1_DPO/tools'
gcc -g bin2h.c -o bin2h
make[1]: Leaving directory `/home/phrogz/2011_0225_RT5370_RT5372_Linux_STA_V2.5.0.1_DPO/tools'
/home/phrogz/2011_0225_RT5370_RT5372_Linux_STA_V2.5.0.1_DPO/tools/bin2h
cp -f os/linux/Makefile.6 /home/phrogz/2011_0225_RT5370_RT5372_Linux_STA_V2.5.0.1_DPO/os/linux/Makefile
make -C /lib/modules/2.6.38.3-trimslice-1.03/build SUBDIRS=/home/phrogz/2011_0225_RT5370_RT5372_Linux_STA_V2.5.0.1_DPO/os/linux modules
make: *** /lib/modules/2.6.38.3-trimslice-1.03/build: No such file or directory. Stop.
make: *** [LINUX] Error 2


How can I build the driver for this device?


More From » drivers

 Answers
3

I use a Tenda W311M that uses the same chip.
Thanks for mentioning the download URL for the driver.



This thread http://ubuntuforums.org/showthread.php?t=1285828 mentions the solution.



I hope it works for you.


[#40699] Wednesday, October 12, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
girdleas

Total Points: 1
Total Questions: 112
Total Answers: 114

Location: Lesotho
Member since Wed, Jun 2, 2021
3 Years ago
;