uci -q batch << EOI
set network.lan.ipaddr='192.168.1.92'
set network.lan.gateway='192.168.1.1'
set network.lan.dns=8.8.8.8
commit network
set dhcp.lan.ignore=1
commit dhcp
EOI
If you move a WiFi dongle to a different physical USB port, it is treated as a different radio because it now has a different hardware path. The script that runs at every boot will detect this "new" hardware and create a wifi-device in the /etc/config/wireless file. The old radio even though it no longer exists will not be removed.
This could also happen if a version change changes how the kernel driver enumerates the USB ports.
Thanks for this answer, the first strange issue comes from the fact that i just reboot after boot, without doing any hardware or configration modification. The second one is the fact that this behavior happens only with openwrt-24.10.0 release and after. Release openwrt-23.05.6 and before are working properly.
You may be right with in your assumption thant the version change changes how the kernel driver enumerates the USB ports. This change seems to lead a random ports affectation for the dongle in the Nano PI Neo or Orange PI zero.
A clunky but effective way around this problem.
Populate the file /etc/config/wireless with, at least 4 radios and you always get the good config.
By this way you can have a fully functional Orange Pi Zero router with wireless usb dongle + usb-to-ethernet dongle.
Tested with : openwrt-24.10.5-sunxi-cortexa7-xunlong_orangepi-zero-squashfs-sdcard.img.gz
Note that, according to your hardware (usb hub), you'll have to match with your USB addresses.
To complete again : for my Nano Pi Neo the usb adress is 1c1d000 instead of 1c1b000.
for example (router configuration without hub and with RTL8189CUS dongle) :
The description above, must be used as principle. The best way is to start your Orange pi zero or Nano Pi Neo with the suitable firmware. Install the dongle driver and start wifi. After check the /etc/config/wireless file to control if the usb address has the same parameters before create all the radios.