Tiny Core Linux

Tiny Core Base => TCB Talk => Topic started by: puppybyte! on February 25, 2022, 08:15:23 PM

Title: How to get USB wifi dongle (RT3272) working?
Post by: puppybyte! on February 25, 2022, 08:15:23 PM
I am using an old Dell Inspiron 6000 laptop with Tinycore 13, 32bit (CorePlus.iso).  Although builtin G protocol wifi work well, I like to get a newer a USB wireless wifi dongle working if possible (Panda Wireless, PAUDS 300Mbps)  With lsusb | grep -i wireless, I get 

Code: [Select]
Protocol spec without prior Class and Subclass spec at line 23281
Bus 001 Device 004: ID 148f:5372 Ralink Technology, Corp.  RT5372 Wireless Adapter.

How do I find out if the firmware/driver is available and how do I this working?
Title: Re: How to get USB wifi dongle (RT3272) working?
Post by: Rich on February 25, 2022, 09:26:04 PM
Hi puppybyte!
Try this:
Code: [Select]
tce-load -wi firmware-ralinkwifi.tcz wifi
Then run:
Code: [Select]
dmesg | tailand see if your device was detected.
Title: Re: How to get USB wifi dongle (RT3272) working?
Post by: Rich on February 25, 2022, 09:48:06 PM
Hi puppybyte!
According to the kernel config file, your device is not enabled for the  rt2800usb.ko  driver:
Code: [Select]
# CONFIG_RT2800USB_RT53XX is not setfound here:
http://tinycorelinux.net/13.x/x86/release/src/kernel/config-5.15.10-tinycore
Title: Re: How to get USB wifi dongle (RT3272) working?
Post by: GNUser on February 25, 2022, 09:48:46 PM
The  rt2800usb  kernel module supplied with  wireless-KERNEL.tcz  does not support the device.

curaga said  wireless-KERNEL.tcz  will only include support for such devices once support is no longer considered as "experimental" by the linux kernel team, which could happen tomorrow, never, or anything in between.

puppybyte, you have to compile the kernel module with support enabled, then create a custom wireless-KERNEL.tcz extension. See here: http://forum.tinycorelinux.net/index.php/topic,25370.0.html
Title: Re: How to get USB wifi dongle (RT3272) working?
Post by: puppybyte! on February 26, 2022, 11:39:34 AM
Hi puppybyte!
Try this:
Code: [Select]
tce-load -wi firmware-ralinkwifi.tcz wifi
Then run:
Code: [Select]
dmesg | tailand see if your device was detected.

after the first command, I get firmware-ralinkwifi.tcz is already installed.

with the dmesg | tail

Code: [Select]
tc@box:~$ dmesg | tail
[   62.639659] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   63.211603] b43-phy0: Loading firmware version 508.1084 (2009-01-14 01:32:01)
[   66.226081] wlan0: authenticate with 7e:d2:94:55:d1:a1
[   66.258403] wlan0: send auth to 7e:d2:94:55:d1:a1 (try 1/3)
[   66.260599] wlan0: authenticated
[   66.261539] wlan0: associate with 7e:d2:94:55:d1:a1 (try 1/3)
[   66.265416] wlan0: RX AssocResp from 7e:d2:94:55:d1:a1 (capab=0x1431 status=0 aid=1)
[   66.265877] wlan0: associated
[   78.598416] b44 ssb1:0 eth0: Link is up at 100 Mbps, full duplex
[   78.598430] b44 ssb1:0 eth0: Flow control is off for TX and off for RX

I have a built-in wifi in this laptop (slow G-protocol), and the N-protocol USB, Ralink I am trying to setup.  I am guessing ralink is not detected??
Title: Re: How to get USB wifi dongle (RT3272) working?
Post by: puppybyte! on February 26, 2022, 11:44:47 AM
thanks for all the input, I think I will give up on this for now.