MAC address locking does not work for wifi


This is about Milk-V Duo S.

The command to lock the MAC address:
echo "pre-up ifconfig eth0 hw ether whatever:mac:address" >> /etc/network/interfaces
works for ethernet (eth0), but does not work for the wlan0 interface:
echo "pre-up ifconfig wlan0 hw ether some:other:MAC:address" >> /etc/network/interfaces

It always gets a new MAC anyway, which is a bit annoying. How to fix this?

Please advise.

Also please make a tag for Duo S. Will make forum search easier

Have the same issue, following.