Quantcast
Channel: Tomato Firmware
Viewing all articles
Browse latest Browse all 11025

Change WAN Port MAC Address? (Tomato Shibby)

$
0
0
So I found the below script from here: http://www.dd-wrt.ca/wiki/index.php/Useful_Scripts#Auto_Random_MAC_Address

Code:
#!/bin/ash
MAC=`(date; cat /proc/interrupts) | md5sum | sed -r 's/^(.{10}).*$/\1/; s/([0-9a-f]{2})/\1:/g; s/:$//;'`
echo "00:${MAC}"
ifconfig eth1 hw ether 00:${MAC}
nvram set def_hwaddr="00:${MAC}"
nvram set wan_hwaddr="00:${MAC}"
stopservice wan
startservice wan
This script is for DD-WRT - not Tomato. Is there any way I can modify this script so that it...

Change WAN Port MAC Address? (Tomato Shibby)

Viewing all articles
Browse latest Browse all 11025

Trending Articles