Orange Pi Zero wlan MAC address

Hi John,

Okay, you are on Legacy kernel images.


I think it should work, because I have read this hint here and here.

But have read as well from armbian

Board: Orange Pi Zero

  • Onboard wireless chip (XR819) has poor software support so wireless connection issues are expected

… and don’t understand, how XR819 (xradio) support to set a mac-address: http://filez.zoobab.com/allwinner/h2/201609022/lichee/linux-3.4/drivers/net/wireless/xradio/

It could be useful to have a look in dmesg output for something like

dmesg | grep xradio
dmesg | grep wlan0

[   11.922987] xradio_wlan: unknown parameter 'macaddr' ignored



modinfo xradio_wlan

Have you seen Fourdee wifi fix here?

https://github.com/Fourdee/DietPi/issues/635#issuecomment-266006050


If your own script works, you can test to integrate it into xradio_wlan.service or run it via /etc/rc.local

# rc.local

##  run changemac with a delay for example of 20 sec.
(/bin/sleep 20 && /etc/init.d/changemac.sh)

exit 0

But do it via systemctl will be a better way.


(Or, if you want, you can test, whether DietPi for OrangePi Zero with Mainline kernel get another mac-address on your special device)