Answer the question
In order to leave comments, you need to log in
How to change Mac interface addresses in DD-WRT on ASUS RT56U router?
Anyone who has done this please chime in. I am writing such a script in Commands-Script Startup, and it does not change the address. all the same interfaces with native addresses rise.
!/bin/bash
MAC=(date; cat /proc/interrupts) | md5sum | sed -r 's/^(.{10}).*$/\1/; s/([0-9a-f]{2})/\1:/g; s/:$//;'
echo "00:${MAC}"
ifconfig vlan1 down
ifconfig vlan1 hw ether 00:${MAC}
nvram set def_hwaddr="00:${MAC}"
nvram set wan_hwaddr="00:${MAC}"
nvram set vlan1_hwaddr= "00:${MAC}"
ifconfig vlan1 up
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question