If you have the ability to log onto your router with putty (had to use telnet option on mine), you can use the below nzone.sh. Then go
here to get the list of MAC addresses, and copy just the addresses into a new file at /tmp/nzone.macs_save on your router. That should make it independent of the website being down and have it automatically cycle when it's almost out of MAC addresses to use. Agree that it'd be best if duke_srg can get his website working again, as that would work for a lot more people who are using his methods. This should work, if you're up to modifying the scripts on the router directly, though.
/tmp/nzone.sh:
#!/bin/sh
URL=
http://duke-srg.dyndns.org/3ds/nzone
MACS=/tmp/nzone.macs
SAVEMACS=/tmp/nzone.macs_save
MACNUM=$(grep -v x $MACS | wc -l)
TIME=$(($(date +%s)/60))
if [ $MACNUM -lt 5 ]; then
cp -p $SAVEMACS $MACS
fi
RANDOM=$(head /dev/urandom | hexdump -d | head -n 1 | cut -c 11-15 | sed -r "s/0*(.*)/\1/")
MAC=$(grep -v x $MACS | head -n $(($RANDOM%${MACNUM}+1)) | tail -n 1)
sed -ri s/$MAC/x$MAC/ $MACS
ifconfig eth1 down
ifconfig eth1 hw ether $MAC
ifconfig eth1 up
stopservice cron
startservice cron
Edit:
If you don't have a crontab entry (Management tab), you can add the below and "Apply settings" to kick things off.
* * * * * root /tmp/nzone.sh
Edit2:
Step-by-Step (if not familiar with putty/vi, etc.)
1. Download putty.exe from
here.
2. Double-click on it, choose the "Telnet" radio button, and type in the IP address of your router for the "Host Name."
3. Use the router username/password to login.
4. Follow next lines directly, if you're not familiar with unix/vi.
cd /tmp
vi nzone.sh
i
<copy nzone.sh contents from above from # through "startservice cron" and hit right-click in putty window to paste>
<Hit Esc>
:wq
vi nzone.macs_save
i
<copy MAC addresses to cycle through and hit right-click in putty window to paste>
<Hit Esc>
:wq
exit
<putty closes>
5. Open router UI page.
6. Go to Administration -> Management tab
7. In "Cron" box, type the below, if it's not already there.
* * * * * root /tmp/nzone.sh
(If you have stuff after nzone.sh like "49,BASE16,GBATEMP" that's fine. It's just ignored.)
8. Hit Apply Settings
It should be running now, hopefully.