Tiny Core Base > Raspberry Pi
Raspberry Pi 2 Wifi (nl80211, cheap dongle)
bradwiggo:
I have a Raspberry Pi 2 with a cheap USB WiFi dongle. Using `wifi.sh` says no wifi devices found, and `iw wlan0` says `nl80211 not found.`
Does anybody know how I can load the driver for my wifi chip. I tried all the "firmware-xxx" packages.
Running piCore 15
Rich:
Hi bradwiggo
Welcome to the forum.
The first thing to do is run lsusb provided by usbutils.tcz. That will
allow you to post the VID:PID (xxxx:yyyy) of the device so its
chipset can be identified.
bradwiggo:
--- Quote from: Rich on May 19, 2025, 04:55:53 PM ---Hi bradwiggo
Welcome to the forum.
The first thing to do is run lsusb provided by usbutils.tcz. That will
allow you to post the VID:PID (xxxx:yyyy) of the device so its
chipset can be identified.
--- End quote ---
--- Code: ---Bus 001 Device 004: ID 148f:7601 Ralink Techology, Corp. MT7601U Wireless Adapter
--- End code ---
Same output when plugging the adapter into my laptop
Tried the `firmware-ralink` and `firmware-mediatek`, neither seemed to work unfortunately
Rich:
Hi bradwiggo
--- Quote from: bradwiggo on May 19, 2025, 05:12:03 PM --- ... Tried the `firmware-ralink` and `firmware-mediatek`, neither seemed to work unfortunately
--- End quote ---
They both contain the firmware for your device. Keep the firmware-ralink
and remove the firmware-mediatek. The ralink extension is much smaller
than the mediatek (41K vs 9.3M).
--- Quote from: bradwiggo on May 19, 2025, 04:05:33 PM --- ... Using `wifi.sh` says no wifi devices found, ...
--- End quote ---
Do you have all of the dependencies for wifi installed:
--- Code: ---wireless_tools.tcz
wireless-KERNEL.tcz
regdb.tcz
wpa_supplicant.tcz
libnl.tcz
openssl.tcz
ca-certificates.tcz
readline.tcz
ncurses.tcz
--- End code ---
wireless-KERNEL.tcz contains the driver for your device (mt7601u.ko).
You need the .tcz, .tcz.md5.txt, and the .tcz.dep (if it exists) files for each extension.
bradwiggo:
--- Quote from: Rich on May 19, 2025, 08:35:10 PM ---Hi bradwiggo
--- Quote from: bradwiggo on May 19, 2025, 05:12:03 PM --- ... Tried the `firmware-ralink` and `firmware-mediatek`, neither seemed to work unfortunately
--- End quote ---
They both contain the firmware for your device. Keep the firmware-ralink
and remove the firmware-mediatek. The ralink extension is much smaller
than the mediatek (41K vs 9.3M).
--- Quote from: bradwiggo on May 19, 2025, 04:05:33 PM --- ... Using `wifi.sh` says no wifi devices found, ...
--- End quote ---
Do you have all of the dependencies for wifi installed:
--- Code: ---wireless_tools.tcz
wireless-KERNEL.tcz
regdb.tcz
wpa_supplicant.tcz
libnl.tcz
openssl.tcz
ca-certificates.tcz
readline.tcz
ncurses.tcz
--- End code ---
wireless-KERNEL.tcz contains the driver for your device (mt7601u.ko).
You need the .tcz, .tcz.md5.txt, and the .tcz.dep (if it exists) files for each extension.
--- End quote ---
I didn't have the dependencies installed properly before, I'd forgotten the .dep files. However it's unfortunately still not working. The WiFi adapter still isn't showing up. ifconfig doesn't show any "wlan0" device
dmesg shows the following:
--- Code: ---mt7601u 1-1.2:1.0: ASIC revision: 7610001 MAC revision: 76010500
mt7601u 1-1.2:1.0: Direct firmware load for mt7601u.bin failed with error -2
mt7601u: probe of 1-1.2:1.0 failed with error -2
usbcore: registered new interface driver mt7601u
--- End code ---
Edit: It works if I put the .tcz files in onboot.lst. Why doesn't it work when I manually load them? They are at the bottom of onboot.lst, so surely there should be no difference
Navigation
[0] Message Index
[#] Next page
Go to full version