r/tinycorelinux • u/Huecuva • Mar 14 '25
Still having issues with mediatek driver
As I mentioned in my previous thread I have a ralink antenna dongle with a mediatek mt7601u wifi chip. The driver for this is included in the firmware_mediatek.tcz extension. I know the dongle works with TC15, as a guy on r/netbsd actually made an image for me that works with my dongle and allows me to connect to the internet with TinyCore 15 using this dongle. However, when I install TC15 myself and install wifi support and the mediatek firmware and also the wlan firmware (because the image the helpful guy on the netbsd sub sent me also includes it), the driver simply refuses to load and dmesg reports errors registering the driver interface. I cannot connect to the wifi because wlan doesn't exist, because the driver isn't loaded.
I'm at my wits' end here. I have no idea why I can't get this driver to work from scratch on my own, even though the dongle is tested and guaranteed to work with TinyCore 15. Does anyone here have any ideas?
View all comments
Show parent comment
1
u/Huecuva Apr 20 '25
I finally found some motivation to tinker with this again. I think I've managed to successfully and consistently create a working install of TC with the wifi dongle. It appears that it needs both the firmware-wlan and the firmware-mediatek or my-firmware-mt7601u extensions. However, the firmware-wlan one must not be in the onboot list and whichever mediatek firmware is installed has to basically be the last thing in the onboot list.
I'm not sure why it is this particular configuration that works now. I'm pretty sure I've done this very thing before without success. However, I have now managed to break and then fix the wifi connection in TC as well as successfully switching back and forth between the firmware-mediak extension and your my-firmware-mt7601u extensnion.
The one thing I"m not sure yet how to do is make it connect to the wifi automatically on boot like your image does. I think Ii will have to examine the extlinux.conf file a little closer.