Wifi connection problem


I can’t connect to wifi.

I connect first with ethernet,
do dietpi-config and enable wifi,
so wifi is connected at this point,
but when i restart i have no wifi, and no ethernet !

what am i doing wrong ?

to have ethernet again, i need to unplug the wifi dongle, even with wifi off.

My setup :
Odroid C1+
dietpi 5.15.93
wifi dongle with MT7610U

Does it show up under

If not already available, try this
Linux support for MT7610U based products - ALFA Network Docs

Also…first thing to do always on ethernet (or a connected wifi) is to do an (as root or sudoer)
# apt update && apt upgrade -y
To ensure all drivers and kernel’s are updated to latest

i made a new install, update+upgrade,

I made :

sudo cp -p /lib/firmware/mt7610u.bin /lib/firmware/mediatek/

to put the firmware in the right folder

and i made the wifi working at first boot with dietpi-config

here is the result :

sudo dmesg | grep mt
[   24.541584] mt76x0u 1-1.4:1.0: ASIC revision: 76100002 MAC revision: 76502000
[   24.557180] mt76x0u 1-1.4:1.0: mediatek/mt7610e.bin not found, switching to mediatek/mt7610u.bin
[   25.625781] mt76x0u 1-1.4:1.0: EEPROM ver:02 fae:01
[   25.681390] usbcore: registered new interface driver mt76x0u
Bus 001 Device 004: ID 0b05:17d1 ASUSTek Computer, Inc. AC51 802.11a/b/g/n/ac Wireless Adapter [Mediatek MT7610U]
Bus 001 Device 003: ID 262a:12c0 SAVITECH Corp. Audiophonics U-SABRE(A)
Bus 001 Device 002: ID 05e3:0610 Genesys Logic, Inc. Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

BUT when i reboot, there is no wifi and no ethernet,
i need to unplug the wifi dongle and reboot to have the ethernet back

Can someone help me please ?


the wifi works if i start without the wifi dongle
and if i plug it after the boot…

it is strange

OK !
I found a solution :
i had mt76x0u in /etc/modules
and it works