openwrt set wan with random mac Jul 20, 2016 uci set network.wan.macaddr=$(hexdump -n6 -e '6/1 ":%02X"' /dev/urandom | cut -f2- -d ":") uci commit