среда, 24 ноября 2010 г.

Change MAC address. OpenWRT ASUS WL520

If you didn't changed to much in the wan section in /etc/config/network you can run the commands below to change the wan MAC address.

Code:

1.Should work on Backfire version
Which of them are lan or wan interfaces I don't know =) just try each commands one after another and see what heppens in /etc/config/network

nvram set il0macaddr=xx:xx:xx:xx:xx:xx
nvram set et0macaddr=xx:xx:xx:xx:xx:xx
nvram commit



or

2.Just add line to the corresponding "config interface" section in /etc/config/network

"option macaddr xx:xx:xx:xx:xx:xx"

or


3.Should work on whiterussia version

uci set network.wan.macaddr="xx:xx:xx:xx:xx:xx"
uci commit network
ifdown wan && ifup wan


First method(1) works best for me.