Tutorial [HOW-TO] Have a homemade Streetpass Relay

What method you are using?

  • Linux

    Votes: 93 7.9%
  • Android

    Votes: 133 11.4%
  • Router

    Votes: 226 19.3%
  • Windows

    Votes: 426 36.4%
  • A pony with a wifi antenna O.o?

    Votes: 292 25.0%

  • Total voters
    1,170
Status
Not open for further replies.

donny2112

Member
Newcomer
Joined
May 7, 2014
Messages
15
Trophies
0
XP
96
Country
United States
Crontab format is

minute hour day_of_month month day_of_week <script to run>

Since the crontab is using * * * * *, it means every minute it's running to change the MAC address. If you wanted it to run every 5 minutes, you would change it to the below.

0,5,10,15,20,25,30,35,40,45,50,55 * * * * root /tmp/nzone.sh

Glad it's working for you!
 

Achilles

Well-Known Member
Member
Joined
Feb 28, 2005
Messages
162
Trophies
0
Website
Visit site
XP
269
Country
United States
Crontab format is

minute hour day_of_month month day_of_week <script to run>

Since the crontab is using * * * * *, it means every minute it's running to change the MAC address. If you wanted it to run every 5 minutes, you would change it to the below.

0,5,10,15,20,25,30,35,40,45,50,55 * * * * root /tmp/nzone.sh

Glad it's working for you!


I guess you missed my last message. It was working, but as soon as I rebooted the router the nzone.sh and nzone.Mac and nzone.Mac_save files vanished from within the "tmp" folder on the router. Any ideas?
 

donny2112

Member
Newcomer
Joined
May 7, 2014
Messages
15
Trophies
0
XP
96
Country
United States
Yep, saw it after posting. Have been working on the fix since. Now I see why he wanted to have the MAC addresses loaded dynamically. :P

The router resets all the files at each startup. The way to get around this is to write a script to be run at startup that on-the-fly creates the files you want. duke's script created the base nzone file, and then pulled the MAC addresses into a local file over the internet. With that being down, we have to hardcode in the MAC addresses to be written to the file at startup. That makes for one massive startup script, but it's working for me now, after reboot, as well. (It wasn't working after reboot on my system originally.) See below for the startup script I'm now using. It puts all 255 MAC addresses (Extended Prime and then pushing that all the way to FF instead of stopping at 9F) into /tmp/nzone.macs_save, copies /tmp/nzone.macs_save to /tmp/nzone.macs, and then writes out the /tmp/nzone.sh script.

To implement this, you don't need putty.

1. Go to the UI for the router
2. Go to Administration -> Commands
3. Copy the below code into the Commands window
4. Click on "Save Startup"
5. Done

Restart the router to verify it's working. :)

Code:
echo -e "4E:53:50:4F:4F:00\\n4E:53:50:4F:4F:01\\n4E:53:50:4F:4F:02\\n4E:53:50:4F:4F:03\\n4E:53:50:4F:4F:04\\n4E:53:50:4F:4F:05\\n4E:53:50:4F:4F:06\\n4E:53:50:4F:4F:07\\n4E:53:50:4F:4F:08\\n4E:53:50:4F:4F:09\\n4E:53:50:4F:4F:0A\\n4E:53:50:4F:4F:0B\\n4E:53:50:4F:4F:0C\\n4E:53:50:4F:4F:0D\\n4E:53:50:4F:4F:0E\\n4E:53:50:4F:4F:0F\\n4E:53:50:4F:4F:10\\n4E:53:50:4F:4F:11\\n4E:53:50:4F:4F:12\\n4E:53:50:4F:4F:13\\n4E:53:50:4F:4F:14\\n4E:53:50:4F:4F:15\\n4E:53:50:4F:4F:16\\n4E:53:50:4F:4F:17\\n4E:53:50:4F:4F:18\\n4E:53:50:4F:4F:19\\n4E:53:50:4F:4F:1A\\n4E:53:50:4F:4F:1B\\n4E:53:50:4F:4F:1C\\n4E:53:50:4F:4F:1D\\n4E:53:50:4F:4F:1E\\n4E:53:50:4F:4F:1F\\n4E:53:50:4F:4F:20\\n4E:53:50:4F:4F:21\\n4E:53:50:4F:4F:21\\n4E:53:50:4F:4F:23\\n4E:53:50:4F:4F:24\\n4E:53:50:4F:4F:25\\n4E:53:50:4F:4F:26\\n4E:53:50:4F:4F:27\\n4E:53:50:4F:4F:28\\n4E:53:50:4F:4F:29\\n4E:53:50:4F:4F:2A\\n4E:53:50:4F:4F:2B\\n4E:53:50:4F:4F:2C\\n4E:53:50:4F:4F:2D\\n4E:53:50:4F:4F:2E\\n4E:53:50:4F:4F:2F\\n4E:53:50:4F:4F:30\\n4E:53:50:4F:4F:31\\n4E:53:50:4F:4F:32\\n4E:53:50:4F:4F:33\\n4E:53:50:4F:4F:34\\n4E:53:50:4F:4F:35\\n4E:53:50:4F:4F:36\\n4E:53:50:4F:4F:37\\n4E:53:50:4F:4F:38\\n4E:53:50:4F:4F:39\\n4E:53:50:4F:4F:3A\\n4E:53:50:4F:4F:3B\\n4E:53:50:4F:4F:3C\\n4E:53:50:4F:4F:3D\\n4E:53:50:4F:4F:3E\\n4E:53:50:4F:4F:3F\\n4E:53:50:4F:4F:40\\n4E:53:50:4F:4F:41\\n4E:53:50:4F:4F:42\\n4E:53:50:4F:4F:43\\n4E:53:50:4F:4F:44\\n4E:53:50:4F:4F:45\\n4E:53:50:4F:4F:46\\n4E:53:50:4F:4F:47\\n4E:53:50:4F:4F:48\\n4E:53:50:4F:4F:49\\n4E:53:50:4F:4F:4A\\n4E:53:50:4F:4F:4B\\n4E:53:50:4F:4F:4C\\n4E:53:50:4F:4F:4D\\n4E:53:50:4F:4F:4E\\n4E:53:50:4F:4F:4F\\n4E:53:50:4F:4F:50\\n4E:53:50:4F:4F:51\\n4E:53:50:4F:4F:52\\n4E:53:50:4F:4F:53\\n4E:53:50:4F:4F:54\\n4E:53:50:4F:4F:55\\n4E:53:50:4F:4F:56\\n4E:53:50:4F:4F:57\\n4E:53:50:4F:4F:58\\n4E:53:50:4F:4F:59\\n4E:53:50:4F:4F:5A\\n4E:53:50:4F:4F:5B\\n4E:53:50:4F:4F:5C\\n4E:53:50:4F:4F:5D\\n4E:53:50:4F:4F:5E\\n4E:53:50:4F:4F:5F\\n4E:53:50:4F:4F:60\\n4E:53:50:4F:4F:61\\n4E:53:50:4F:4F:62\\n4E:53:50:4F:4F:63\\n4E:53:50:4F:4F:64\\n4E:53:50:4F:4F:65\\n4E:53:50:4F:4F:66\\n4E:53:50:4F:4F:67\\n4E:53:50:4F:4F:68\\n4E:53:50:4F:4F:69\\n4E:53:50:4F:4F:6A\\n4E:53:50:4F:4F:6B\\n4E:53:50:4F:4F:6C\\n4E:53:50:4F:4F:6D\\n4E:53:50:4F:4F:6E\\n4E:53:50:4F:4F:6F\\n4E:53:50:4F:4F:70\\n4E:53:50:4F:4F:71\\n4E:53:50:4F:4F:72\\n4E:53:50:4F:4F:73\\n4E:53:50:4F:4F:73\\n4E:53:50:4F:4F:75\\n4E:53:50:4F:4F:76\\n4E:53:50:4F:4F:77\\n4E:53:50:4F:4F:78\\n4E:53:50:4F:4F:79\\n4E:53:50:4F:4F:7A\\n4E:53:50:4F:4F:7B\\n4E:53:50:4F:4F:7C\\n4E:53:50:4F:4F:7D\\n4E:53:50:4F:4F:7E\\n4E:53:50:4F:4F:7F\\n4E:53:50:4F:4F:80\\n4E:53:50:4F:4F:81\\n4E:53:50:4F:4F:82\\n4E:53:50:4F:4F:83\\n4E:53:50:4F:4F:84\\n4E:53:50:4F:4F:85\\n4E:53:50:4F:4F:86\\n4E:53:50:4F:4F:87\\n4E:53:50:4F:4F:88\\n4E:53:50:4F:4F:89\\n4E:53:50:4F:4F:8A\\n4E:53:50:4F:4F:8B\\n4E:53:50:4F:4F:8C\\n4E:53:50:4F:4F:8D\\n4E:53:50:4F:4F:8E\\n4E:53:50:4F:4F:8F\\n4E:53:50:4F:4F:90\\n4E:53:50:4F:4F:91\\n4E:53:50:4F:4F:92\\n4E:53:50:4F:4F:93\\n4E:53:50:4F:4F:94\\n4E:53:50:4F:4F:95\\n4E:53:50:4F:4F:96\\n4E:53:50:4F:4F:97\\n4E:53:50:4F:4F:98\\n4E:53:50:4F:4F:99\\n4E:53:50:4F:4F:9A\\n4E:53:50:4F:4F:9B\\n4E:53:50:4F:4F:9C\\n4E:53:50:4F:4F:9D\\n4E:53:50:4F:4F:9E\\n4E:53:50:4F:4F:9F\\n4E:53:50:4F:4F:A0\\n4E:53:50:4F:4F:A1\\n4E:53:50:4F:4F:A2\\n4E:53:50:4F:4F:A3\\n4E:53:50:4F:4F:A4\\n4E:53:50:4F:4F:A5\\n4E:53:50:4F:4F:A6\\n4E:53:50:4F:4F:A7\\n4E:53:50:4F:4F:A8\\n4E:53:50:4F:4F:A9\\n4E:53:50:4F:4F:AA\\n4E:53:50:4F:4F:AB\\n4E:53:50:4F:4F:AC\\n4E:53:50:4F:4F:AD\\n4E:53:50:4F:4F:AE\\n4E:53:50:4F:4F:AF\\n4E:53:50:4F:4F:B0\\n4E:53:50:4F:4F:B1\\n4E:53:50:4F:4F:B2\\n4E:53:50:4F:4F:B3\\n4E:53:50:4F:4F:B4\\n4E:53:50:4F:4F:B5\\n4E:53:50:4F:4F:B6\\n4E:53:50:4F:4F:B7\\n4E:53:50:4F:4F:B8\\n4E:53:50:4F:4F:B9\\n4E:53:50:4F:4F:BA\\n4E:53:50:4F:4F:BB\\n4E:53:50:4F:4F:BC\\n4E:53:50:4F:4F:BD\\n4E:53:50:4F:4F:BE\\n4E:53:50:4F:4F:BF\\n4E:53:50:4F:4F:C0\\n4E:53:50:4F:4F:C1\\n4E:53:50:4F:4F:C2\\n4E:53:50:4F:4F:C3\\n4E:53:50:4F:4F:C4\\n4E:53:50:4F:4F:C5\\n4E:53:50:4F:4F:C6\\n4E:53:50:4F:4F:C7\\n4E:53:50:4F:4F:C8\\n4E:53:50:4F:4F:C9\\n4E:53:50:4F:4F:CA\\n4E:53:50:4F:4F:CB\\n4E:53:50:4F:4F:CC\\n4E:53:50:4F:4F:CD\\n4E:53:50:4F:4F:CE\\n4E:53:50:4F:4F:CF\\n4E:53:50:4F:4F:D0\\n4E:53:50:4F:4F:D1\\n4E:53:50:4F:4F:D2\\n4E:53:50:4F:4F:D3\\n4E:53:50:4F:4F:D4\\n4E:53:50:4F:4F:D5\\n4E:53:50:4F:4F:D6\\n4E:53:50:4F:4F:D7\\n4E:53:50:4F:4F:D8\\n4E:53:50:4F:4F:D9\\n4E:53:50:4F:4F:DA\\n4E:53:50:4F:4F:DB\\n4E:53:50:4F:4F:DC\\n4E:53:50:4F:4F:DD\\n4E:53:50:4F:4F:DE\\n4E:53:50:4F:4F:DF\\n4E:53:50:4F:4F:E0\\n4E:53:50:4F:4F:E1\\n4E:53:50:4F:4F:E2\\n4E:53:50:4F:4F:E3\\n4E:53:50:4F:4F:E4\\n4E:53:50:4F:4F:E5\\n4E:53:50:4F:4F:E6\\n4E:53:50:4F:4F:E7\\n4E:53:50:4F:4F:E8\\n4E:53:50:4F:4F:E9\\n4E:53:50:4F:4F:EA\\n4E:53:50:4F:4F:EB\\n4E:53:50:4F:4F:EC\\n4E:53:50:4F:4F:ED\\n4E:53:50:4F:4F:EE\\n4E:53:50:4F:4F:EF\\n4E:53:50:4F:4F:F0\\n4E:53:50:4F:4F:F1\\n4E:53:50:4F:4F:F2\\n4E:53:50:4F:4F:F3\\n4E:53:50:4F:4F:F4\\n4E:53:50:4F:4F:F5\\n4E:53:50:4F:4F:F6\\n4E:53:50:4F:4F:F7\\n4E:53:50:4F:4F:F8\\n4E:53:50:4F:4F:F9\\n4E:53:50:4F:4F:FA\\n4E:53:50:4F:4F:FB\\n4E:53:50:4F:4F:FC\\n4E:53:50:4F:4F:FD\\n4E:53:50:4F:4F:FE\\n4E:53:50:4F:4F:FF" > /tmp/nzone.macs_save; cp -p /tmp/nzone.macs_save /tmp/nzone.macs; echo -e "#!/bin/sh\\nURL=http://duke-srg.dyndns.org/3ds/nzone\\nMACS=/tmp/nzone.macs\\nSAVEMACS=/tmp/nzone.macs_save\\nMACNUM=\$(grep -v x \$MACS | wc -l)\\nTIME=\$((\$(date +%s)/60))\\nif [ \$MACNUM -lt 5 ]; then\\n  cp -p \$SAVEMACS \$ MACS\\nfi\\nRANDOM=\$(head /dev/urandom | hexdump -d | head -n 1 | cut -c 11-15 | sed -r \"s/0*(.*)/\\\\1/\")\\nMAC=\$(grep -v x \$MACS | head -n \$((\$RANDOM%\${MACNUM}+1)) | tail -n 1)\\nsed -ri s/\$MAC/x\$MAC/ \$MACS\\nifconfig eth1 down\\nifconfig eth1 hw ether \$MAC\\nifconfig eth1 up\\nstopservice cron\\nstartservice cron\\n" > /tmp/nzone.sh; chmod +x /tmp/nzone.sh
 
  • Like
Reactions: Achilles

Adrian512

New Member
Newbie
Joined
May 8, 2014
Messages
1
Trophies
0
Age
34
XP
51
Country
Indonesia
Hi Everyone, I'm making Home pass using Windows 7 64-bit with Tplink Wifi usb stick, so far i have already manage that 3ds connected internet and show up nintendo zone.
When i using Mac cycle program or do it manually, it seem the virtual wifi disable and cannot enable anymore till i change back Wifi Adapter to original Mac Address /Re-install driver.
So the only option i got is fill the excel sheet on Personal Mac tab. The Question is which Mac Address shall i fill ? Is it this attwifi(virtual Wi-Fi) Mac Address? or tplink usb adapter(Wireless Network)?

If is attwifi(virtual Wi-Fi) Mac Address correct shall i still put password? or should not put any password so other users can access it ?

Sorry for bad english..:lol:
 

srwgin

Well-Known Member
Member
Joined
Aug 13, 2013
Messages
521
Trophies
1
XP
436
Country
China
1.made a new txt file
2.use the code pause in txt and save as ".rc_startup"
Code:
#!/bin/sh
echo -e "#!/bin/sh\nURL=http://213.141.148.11/3ds/nzone?\nMACS=/tmp/nzone.macs\nSPDELAY=480\nMACNUM=0\n[ -f \$MACS ] && MACNUM=\$(grep -v x \$MACS | wc -l) && DELAY=\$(((\$(date +%s)-\$(date -r \$MACS +%s))/60))\n[ \$MACNUM = 0 ] && NEWMACS=\$(wget -q -O - \$URL\$1)\n[ \$(echo -n \"\$NEWMACS\" | wc -c) != 0 ] && echo \"\$NEWMACS\" > \$MACS && MACNUM=\$(cat \$MACS | wc -l)\n[ -z \$DELAY ] && DELAY=\$SPDELAY\n[ \$MACNUM = 0 ] && sed -ri \"s/x(.*)/\\\\1/\" \$MACS && MACNUM=\$(grep -v x \$MACS | wc -l)\nMACTOTAL=\$(cat \$MACS | wc -l)\n[ \$MACNUM = 0 ] || ([ \$MACTOTAL -lt \$SPDELAY ] && [ \$DELAY -lt \$((\$SPDELAY/\$MACTOTAL)) ]) && exit\nRANDOM=\$(head /dev/urandom | hexdump -d | head -n 1 | cut -c 11-15 | sed -r \"s/0*(.*)/\\\\1/\")\nMAC=\$(grep -v x \$MACS | head -n \$((\$RANDOM%\${MACNUM}+1)) | tail -n 1)\nsed -ri s/\$MAC/x\$MAC/ \$MACS\nifconfig ath0 down\nsed -ri s/bssid=.*/bssid=\$MAC/ /tmp/ath0_hostap.conf\nwhile ! hostapd -B -P /var/run/ath0_hostapd.pid /tmp/ath0_hostap.conf; do\n    PID=\$(ps | grep /var/run/ath0_hostapd.pid | grep -v grep | sed 's/^ *//' | cut -d ' ' -f 1)\n    [ ! -z \$PID ] && kill \$PID\n    sleep 1\ndone\nstopservice cron\nstartservice cron\n" > /tmp/nzone; chmod +x /tmp/nzone; mkdir -p /tmp/etc/config; echo -e "#!/bin/sh\nCRONJOBS=\$(nvram get cron_jobs)\nif echo \"\$CRONJOBS\" | grep -q nzone; then\n    if echo \"\$CRONJOBS\" | grep nzone | grep -qe '^#'; then\n        nvram set cron_jobs=\"\$(echo \"\$CRONJOBS\" | sed -r \"s/#(.*?nzone*)/\\\\1/\")\"\n    else\n        nvram set cron_jobs=\"\$(echo \"\$CRONJOBS\" | sed -r s/.*?nzone.*?/#\\&/)\"\n    fi\n    stopservice cron\n    startservice cron\nfi\n" > /tmp/etc/config/nzone.sesbutton; chmod +x /tmp/etc/config/nzone.sesbutton
3.use putty or winscp put ".rc_startup" into router /tmp/
4.then reboot router
5.after reboot check Administration-Commands-Startup is code there
6.then Administration-Management you can change cron ,enable
Code:
* * * * * root /tmp/nzone BASE256
 

Achilles

Well-Known Member
Member
Joined
Feb 28, 2005
Messages
162
Trophies
0
Website
Visit site
XP
269
Country
United States
...snip...


Awesome! Working perfectly! Thanks so much for this - I had no idea the router's file system was read-only. No wonder Duke was grabbing things from his site. I actually prefer this solution because it means that it's completely self-contained and doesn't rely on any outside data to work.

Thanks again!
 

AlBa

Well-Known Member
Member
Joined
Oct 10, 2006
Messages
168
Trophies
0
XP
244
Country
I feel a little ashamed... ^^
Didn't work on my I9100G CM11 20140508 nightly... (Galaxy S2G with Android 4.4.2)
So i downgraded back to CM10 (Android 4.1.2)
Had to install SuperSU, now work like a charm, using Wifi Tether 3.3beta2 ( i like the byte counter and access control ^^ )
Settings are :
Profile : S2
Setup Method : Auto
Send Netd Max Client : unchecked
Mac Spoof (obviously) : checked
Wifi Driver reload 2 : checked
Enable Access Control : checked (not mandatory)
Rooting fix : checked
Disable wake-lock : checked

Hard a hard time so i wanted to share the experience ;=)
 

zoomer

Member
Newcomer
Joined
May 31, 2007
Messages
6
Trophies
0
XP
155
Country
Has there been any progress with getting this to work on android 4.4 and above? I used homepass a lot until I made the mistake of updating my phone a few months back and when I tried to downgrade I lost use of all mobile networks so had to upgrade again. Thanks in advance.
 

BluDawg

New Member
Newbie
Joined
Apr 24, 2014
Messages
3
Trophies
0
Age
30
XP
52
Country
Hi I have used guide #1 by DarkKnigh_t for windows 7 and I have the 3ds recognizing the street pass relay, how do I get street passes now?

edit: nm I have done it now using the mac address cycler
 
  • Like
Reactions: DarkKnigh_t

Ziehlx

New Member
Newbie
Joined
May 9, 2014
Messages
1
Trophies
0
Age
33
XP
59
Country
Brazil
Hi.

I have a problem with my homepass. I'm using my usb adapter with virtual router manager and the macpass 2.0. My 3DS make two streetpass with two mac's. In third mac onwards, the streetpass don't work. Seems to be limited to two streetpass.
 

LadonZ

Member
Newcomer
Joined
Apr 21, 2014
Messages
6
Trophies
0
Age
37
XP
51
Country
United States
Yep, saw it after posting. Have been working on the fix since. Now I see why he wanted to have the MAC addresses loaded dynamically. :P

The router resets all the files at each startup. The way to get around this is to write a script to be run at startup that on-the-fly creates the files you want. duke's script created the base nzone file, and then pulled the MAC addresses into a local file over the internet. With that being down, we have to hardcode in the MAC addresses to be written to the file at startup. That makes for one massive startup script, but it's working for me now, after reboot, as well. (It wasn't working after reboot on my system originally.) See below for the startup script I'm now using. It puts all 255 MAC addresses (Extended Prime and then pushing that all the way to FF instead of stopping at 9F) into /tmp/nzone.macs_save, copies /tmp/nzone.macs_save to /tmp/nzone.macs, and then writes out the /tmp/nzone.sh script.

To implement this, you don't need putty.

1. Go to the UI for the router
2. Go to Administration -> Commands
3. Copy the below code into the Commands window
4. Click on "Save Startup"
5. Done

Restart the router to verify it's working. :)

Code:
echo -e "4E:53:50:4F:4F:00\\n4E:53:50:4F:4F:01\\n4E:53:50:4F:4F:02\\n4E:53:50:4F:4F:03\\n4E:53:50:4F:4F:04\\n4E:53:50:4F:4F:05\\n4E:53:50:4F:4F:06\\n4E:53:50:4F:4F:07\\n4E:53:50:4F:4F:08\\n4E:53:50:4F:4F:09\\n4E:53:50:4F:4F:0A\\n4E:53:50:4F:4F:0B\\n4E:53:50:4F:4F:0C\\n4E:53:50:4F:4F:0D\\n4E:53:50:4F:4F:0E\\n4E:53:50:4F:4F:0F\\n4E:53:50:4F:4F:10\\n4E:53:50:4F:4F:11\\n4E:53:50:4F:4F:12\\n4E:53:50:4F:4F:13\\n4E:53:50:4F:4F:14\\n4E:53:50:4F:4F:15\\n4E:53:50:4F:4F:16\\n4E:53:50:4F:4F:17\\n4E:53:50:4F:4F:18\\n4E:53:50:4F:4F:19\\n4E:53:50:4F:4F:1A\\n4E:53:50:4F:4F:1B\\n4E:53:50:4F:4F:1C\\n4E:53:50:4F:4F:1D\\n4E:53:50:4F:4F:1E\\n4E:53:50:4F:4F:1F\\n4E:53:50:4F:4F:20\\n4E:53:50:4F:4F:21\\n4E:53:50:4F:4F:21\\n4E:53:50:4F:4F:23\\n4E:53:50:4F:4F:24\\n4E:53:50:4F:4F:25\\n4E:53:50:4F:4F:26\\n4E:53:50:4F:4F:27\\n4E:53:50:4F:4F:28\\n4E:53:50:4F:4F:29\\n4E:53:50:4F:4F:2A\\n4E:53:50:4F:4F:2B\\n4E:53:50:4F:4F:2C\\n4E:53:50:4F:4F:2D\\n4E:53:50:4F:4F:2E\\n4E:53:50:4F:4F:2F\\n4E:53:50:4F:4F:30\\n4E:53:50:4F:4F:31\\n4E:53:50:4F:4F:32\\n4E:53:50:4F:4F:33\\n4E:53:50:4F:4F:34\\n4E:53:50:4F:4F:35\\n4E:53:50:4F:4F:36\\n4E:53:50:4F:4F:37\\n4E:53:50:4F:4F:38\\n4E:53:50:4F:4F:39\\n4E:53:50:4F:4F:3A\\n4E:53:50:4F:4F:3B\\n4E:53:50:4F:4F:3C\\n4E:53:50:4F:4F:3D\\n4E:53:50:4F:4F:3E\\n4E:53:50:4F:4F:3F\\n4E:53:50:4F:4F:40\\n4E:53:50:4F:4F:41\\n4E:53:50:4F:4F:42\\n4E:53:50:4F:4F:43\\n4E:53:50:4F:4F:44\\n4E:53:50:4F:4F:45\\n4E:53:50:4F:4F:46\\n4E:53:50:4F:4F:47\\n4E:53:50:4F:4F:48\\n4E:53:50:4F:4F:49\\n4E:53:50:4F:4F:4A\\n4E:53:50:4F:4F:4B\\n4E:53:50:4F:4F:4C\\n4E:53:50:4F:4F:4D\\n4E:53:50:4F:4F:4E\\n4E:53:50:4F:4F:4F\\n4E:53:50:4F:4F:50\\n4E:53:50:4F:4F:51\\n4E:53:50:4F:4F:52\\n4E:53:50:4F:4F:53\\n4E:53:50:4F:4F:54\\n4E:53:50:4F:4F:55\\n4E:53:50:4F:4F:56\\n4E:53:50:4F:4F:57\\n4E:53:50:4F:4F:58\\n4E:53:50:4F:4F:59\\n4E:53:50:4F:4F:5A\\n4E:53:50:4F:4F:5B\\n4E:53:50:4F:4F:5C\\n4E:53:50:4F:4F:5D\\n4E:53:50:4F:4F:5E\\n4E:53:50:4F:4F:5F\\n4E:53:50:4F:4F:60\\n4E:53:50:4F:4F:61\\n4E:53:50:4F:4F:62\\n4E:53:50:4F:4F:63\\n4E:53:50:4F:4F:64\\n4E:53:50:4F:4F:65\\n4E:53:50:4F:4F:66\\n4E:53:50:4F:4F:67\\n4E:53:50:4F:4F:68\\n4E:53:50:4F:4F:69\\n4E:53:50:4F:4F:6A\\n4E:53:50:4F:4F:6B\\n4E:53:50:4F:4F:6C\\n4E:53:50:4F:4F:6D\\n4E:53:50:4F:4F:6E\\n4E:53:50:4F:4F:6F\\n4E:53:50:4F:4F:70\\n4E:53:50:4F:4F:71\\n4E:53:50:4F:4F:72\\n4E:53:50:4F:4F:73\\n4E:53:50:4F:4F:73\\n4E:53:50:4F:4F:75\\n4E:53:50:4F:4F:76\\n4E:53:50:4F:4F:77\\n4E:53:50:4F:4F:78\\n4E:53:50:4F:4F:79\\n4E:53:50:4F:4F:7A\\n4E:53:50:4F:4F:7B\\n4E:53:50:4F:4F:7C\\n4E:53:50:4F:4F:7D\\n4E:53:50:4F:4F:7E\\n4E:53:50:4F:4F:7F\\n4E:53:50:4F:4F:80\\n4E:53:50:4F:4F:81\\n4E:53:50:4F:4F:82\\n4E:53:50:4F:4F:83\\n4E:53:50:4F:4F:84\\n4E:53:50:4F:4F:85\\n4E:53:50:4F:4F:86\\n4E:53:50:4F:4F:87\\n4E:53:50:4F:4F:88\\n4E:53:50:4F:4F:89\\n4E:53:50:4F:4F:8A\\n4E:53:50:4F:4F:8B\\n4E:53:50:4F:4F:8C\\n4E:53:50:4F:4F:8D\\n4E:53:50:4F:4F:8E\\n4E:53:50:4F:4F:8F\\n4E:53:50:4F:4F:90\\n4E:53:50:4F:4F:91\\n4E:53:50:4F:4F:92\\n4E:53:50:4F:4F:93\\n4E:53:50:4F:4F:94\\n4E:53:50:4F:4F:95\\n4E:53:50:4F:4F:96\\n4E:53:50:4F:4F:97\\n4E:53:50:4F:4F:98\\n4E:53:50:4F:4F:99\\n4E:53:50:4F:4F:9A\\n4E:53:50:4F:4F:9B\\n4E:53:50:4F:4F:9C\\n4E:53:50:4F:4F:9D\\n4E:53:50:4F:4F:9E\\n4E:53:50:4F:4F:9F\\n4E:53:50:4F:4F:A0\\n4E:53:50:4F:4F:A1\\n4E:53:50:4F:4F:A2\\n4E:53:50:4F:4F:A3\\n4E:53:50:4F:4F:A4\\n4E:53:50:4F:4F:A5\\n4E:53:50:4F:4F:A6\\n4E:53:50:4F:4F:A7\\n4E:53:50:4F:4F:A8\\n4E:53:50:4F:4F:A9\\n4E:53:50:4F:4F:AA\\n4E:53:50:4F:4F:AB\\n4E:53:50:4F:4F:AC\\n4E:53:50:4F:4F:AD\\n4E:53:50:4F:4F:AE\\n4E:53:50:4F:4F:AF\\n4E:53:50:4F:4F:B0\\n4E:53:50:4F:4F:B1\\n4E:53:50:4F:4F:B2\\n4E:53:50:4F:4F:B3\\n4E:53:50:4F:4F:B4\\n4E:53:50:4F:4F:B5\\n4E:53:50:4F:4F:B6\\n4E:53:50:4F:4F:B7\\n4E:53:50:4F:4F:B8\\n4E:53:50:4F:4F:B9\\n4E:53:50:4F:4F:BA\\n4E:53:50:4F:4F:BB\\n4E:53:50:4F:4F:BC\\n4E:53:50:4F:4F:BD\\n4E:53:50:4F:4F:BE\\n4E:53:50:4F:4F:BF\\n4E:53:50:4F:4F:C0\\n4E:53:50:4F:4F:C1\\n4E:53:50:4F:4F:C2\\n4E:53:50:4F:4F:C3\\n4E:53:50:4F:4F:C4\\n4E:53:50:4F:4F:C5\\n4E:53:50:4F:4F:C6\\n4E:53:50:4F:4F:C7\\n4E:53:50:4F:4F:C8\\n4E:53:50:4F:4F:C9\\n4E:53:50:4F:4F:CA\\n4E:53:50:4F:4F:CB\\n4E:53:50:4F:4F:CC\\n4E:53:50:4F:4F:CD\\n4E:53:50:4F:4F:CE\\n4E:53:50:4F:4F:CF\\n4E:53:50:4F:4F:D0\\n4E:53:50:4F:4F:D1\\n4E:53:50:4F:4F:D2\\n4E:53:50:4F:4F:D3\\n4E:53:50:4F:4F:D4\\n4E:53:50:4F:4F:D5\\n4E:53:50:4F:4F:D6\\n4E:53:50:4F:4F:D7\\n4E:53:50:4F:4F:D8\\n4E:53:50:4F:4F:D9\\n4E:53:50:4F:4F:DA\\n4E:53:50:4F:4F:DB\\n4E:53:50:4F:4F:DC\\n4E:53:50:4F:4F:DD\\n4E:53:50:4F:4F:DE\\n4E:53:50:4F:4F:DF\\n4E:53:50:4F:4F:E0\\n4E:53:50:4F:4F:E1\\n4E:53:50:4F:4F:E2\\n4E:53:50:4F:4F:E3\\n4E:53:50:4F:4F:E4\\n4E:53:50:4F:4F:E5\\n4E:53:50:4F:4F:E6\\n4E:53:50:4F:4F:E7\\n4E:53:50:4F:4F:E8\\n4E:53:50:4F:4F:E9\\n4E:53:50:4F:4F:EA\\n4E:53:50:4F:4F:EB\\n4E:53:50:4F:4F:EC\\n4E:53:50:4F:4F:ED\\n4E:53:50:4F:4F:EE\\n4E:53:50:4F:4F:EF\\n4E:53:50:4F:4F:F0\\n4E:53:50:4F:4F:F1\\n4E:53:50:4F:4F:F2\\n4E:53:50:4F:4F:F3\\n4E:53:50:4F:4F:F4\\n4E:53:50:4F:4F:F5\\n4E:53:50:4F:4F:F6\\n4E:53:50:4F:4F:F7\\n4E:53:50:4F:4F:F8\\n4E:53:50:4F:4F:F9\\n4E:53:50:4F:4F:FA\\n4E:53:50:4F:4F:FB\\n4E:53:50:4F:4F:FC\\n4E:53:50:4F:4F:FD\\n4E:53:50:4F:4F:FE\\n4E:53:50:4F:4F:FF" > /tmp/nzone.macs_save; cp -p /tmp/nzone.macs_save /tmp/nzone.macs; echo -e "#!/bin/sh\\nURL=http://duke-srg.dyndns.org/3ds/nzone\\nMACS=/tmp/nzone.macs\\nSAVEMACS=/tmp/nzone.macs_save\\nMACNUM=\$(grep -v x \$MACS | wc -l)\\nTIME=\$((\$(date +%s)/60))\\nif [ \$MACNUM -lt 5 ]; then\\n  cp -p \$SAVEMACS \$ MACS\\nfi\\nRANDOM=\$(head /dev/urandom | hexdump -d | head -n 1 | cut -c 11-15 | sed -r \"s/0*(.*)/\\\\1/\")\\nMAC=\$(grep -v x \$MACS | head -n \$((\$RANDOM%\${MACNUM}+1)) | tail -n 1)\\nsed -ri s/\$MAC/x\$MAC/ \$MACS\\nifconfig eth1 down\\nifconfig eth1 hw ether \$MAC\\nifconfig eth1 up\\nstopservice cron\\nstartservice cron\\n" > /tmp/nzone.sh; chmod +x /tmp/nzone.sh


Hey donny2112, I was doing the manual MAC updating and was getting streetpasses. I have since pasted this script into my "Commands" tab for startup and have
* * * * * root /tmp/nzone.sh
on my crontab. I am not currently getting any streetpasses. Is there anything else that I have to do? (Do I need to disable Mac Address Clone?)
 

hashcheck1

Well-Known Member
Member
Joined
Aug 5, 2013
Messages
473
Trophies
1
Age
43
XP
1,065
Country
my router has stopped working tried both of new methods above and nothing working. ssh into router and files are there.
 

donny2112

Member
Newcomer
Joined
May 7, 2014
Messages
15
Trophies
0
XP
96
Country
United States
Hey donny2112, I was doing the manual MAC updating and was getting streetpasses. I have since pasted this script into my "Commands" tab for startup and have
* * * * * root /tmp/nzone.sh
on my crontab. I am not currently getting any streetpasses. Is there anything else that I have to do? (Do I need to disable Mac Address Clone?)
Can you check the /tmp directory on your router directly? You should have a /tmp/nzone.sh file, a /tmp/nzone.macs_save, and a /tmp/nzone.macs file. You can tell if nzone.sh is working because the nzone.macs file will get updated each minute when cron runs.

Edit:
And MAC Address Clone should be enabled. If you can get to the router, try running the /tmp/nzone.sh file directly.

1. Use putty to get to router and log in as Admin user.
2. Type '/tmp/nzone.sh' at the prompt and press Enter.
3. Post any output from that here. If there's no output (think that's the expected result), say that, too. :)
 

hashcheck1

Well-Known Member
Member
Joined
Aug 5, 2013
Messages
473
Trophies
1
Age
43
XP
1,065
Country
yes all there but 3dsxl not picking up any streetpasses its weird

root@DD-WRT:/tmp# cat nzone.macs_save
4E:53:50:4F:4F:00
4E:53:50:4F:4F:01
4E:53:50:4F:4F:02
4E:53:50:4F:4F:03
4E:53:50:4F:4F:04
4E:53:50:4F:4F:05
4E:53:50:4F:4F:06
4E:53:50:4F:4F:07
4E:53:50:4F:4F:08
4E:53:50:4F:4F:09
4E:53:50:4F:4F:0A
4E:53:50:4F:4F:0B
4E:53:50:4F:4F:0C
4E:53:50:4F:4F:0D
4E:53:50:4F:4F:0E
4E:53:50:4F:4F:0F
4E:53:50:4F:4F:10
4E:53:50:4F:4F:11
4E:53:50:4F:4F:12
4E:53:50:4F:4F:13
4E:53:50:4F:4F:14
4E:53:50:4F:4F:15
4E:53:50:4F:4F:16
4E:53:50:4F:4F:17
4E:53:50:4F:4F:18
4E:53:50:4F:4F:19
4E:53:50:4F:4F:1A
4E:53:50:4F:4F:1B
4E:53:50:4F:4F:1C
4E:53:50:4F:4F:1D
4E:53:50:4F:4F:1E
4E:53:50:4F:4F:1F
4E:53:50:4F:4F:20
4E:53:50:4F:4F:21
4E:53:50:4F:4F:21
4E:53:50:4F:4F:23
4E:53:50:4F:4F:24
4E:53:50:4F:4F:25
4E:53:50:4F:4F:26
4E:53:50:4F:4F:27
4E:53:50:4F:4F:28
4E:53:50:4F:4F:29
4E:53:50:4F:4F:2A
4E:53:50:4F:4F:2B
4E:53:50:4F:4F:2C
4E:53:50:4F:4F:2D
4E:53:50:4F:4F:2E
4E:53:50:4F:4F:2F
4E:53:50:4F:4F:30
4E:53:50:4F:4F:31
4E:53:50:4F:4F:32
4E:53:50:4F:4F:33
4E:53:50:4F:4F:34
4E:53:50:4F:4F:35
4E:53:50:4F:4F:36
4E:53:50:4F:4F:37
4E:53:50:4F:4F:38
4E:53:50:4F:4F:39
4E:53:50:4F:4F:3A
4E:53:50:4F:4F:3B
4E:53:50:4F:4F:3C
4E:53:50:4F:4F:3D
4E:53:50:4F:4F:3E
4E:53:50:4F:4F:3F
4E:53:50:4F:4F:40
4E:53:50:4F:4F:41
4E:53:50:4F:4F:42
4E:53:50:4F:4F:43
4E:53:50:4F:4F:44
4E:53:50:4F:4F:45
4E:53:50:4F:4F:46
4E:53:50:4F:4F:47
4E:53:50:4F:4F:48
4E:53:50:4F:4F:49
4E:53:50:4F:4F:4A
4E:53:50:4F:4F:4B
4E:53:50:4F:4F:4C
4E:53:50:4F:4F:4D
4E:53:50:4F:4F:4E
4E:53:50:4F:4F:4F
4E:53:50:4F:4F:50
4E:53:50:4F:4F:51
4E:53:50:4F:4F:52
4E:53:50:4F:4F:53
4E:53:50:4F:4F:54
4E:53:50:4F:4F:55
4E:53:50:4F:4F:56
4E:53:50:4F:4F:57
4E:53:50:4F:4F:58
4E:53:50:4F:4F:59
4E:53:50:4F:4F:5A
4E:53:50:4F:4F:5B
4E:53:50:4F:4F:5C
4E:53:50:4F:4F:5D
4E:53:50:4F:4F:5E
4E:53:50:4F:4F:5F
4E:53:50:4F:4F:60
4E:53:50:4F:4F:61
4E:53:50:4F:4F:62
4E:53:50:4F:4F:63
4E:53:50:4F:4F:64
4E:53:50:4F:4F:65
4E:53:50:4F:4F:66
4E:53:50:4F:4F:67
4E:53:50:4F:4F:68
4E:53:50:4F:4F:69
4E:53:50:4F:4F:6A
4E:53:50:4F:4F:6B
4E:53:50:4F:4F:6C
4E:53:50:4F:4F:6D
4E:53:50:4F:4F:6E
4E:53:50:4F:4F:6F
4E:53:50:4F:4F:70
4E:53:50:4F:4F:71
4E:53:50:4F:4F:72
4E:53:50:4F:4F:73
4E:53:50:4F:4F:73
4E:53:50:4F:4F:75
4E:53:50:4F:4F:76
4E:53:50:4F:4F:77
4E:53:50:4F:4F:78
4E:53:50:4F:4F:79
4E:53:50:4F:4F:7A
4E:53:50:4F:4F:7B
4E:53:50:4F:4F:7C
4E:53:50:4F:4F:7D
4E:53:50:4F:4F:7E
4E:53:50:4F:4F:7F
4E:53:50:4F:4F:80
4E:53:50:4F:4F:81
4E:53:50:4F:4F:82
4E:53:50:4F:4F:83
4E:53:50:4F:4F:84
4E:53:50:4F:4F:85
4E:53:50:4F:4F:86
4E:53:50:4F:4F:87
4E:53:50:4F:4F:88
4E:53:50:4F:4F:89
4E:53:50:4F:4F:8A
4E:53:50:4F:4F:8B
4E:53:50:4F:4F:8C
4E:53:50:4F:4F:8D
4E:53:50:4F:4F:8E
4E:53:50:4F:4F:8F
4E:53:50:4F:4F:90
4E:53:50:4F:4F:91
4E:53:50:4F:4F:92
4E:53:50:4F:4F:93
4E:53:50:4F:4F:94
4E:53:50:4F:4F:95
4E:53:50:4F:4F:96
4E:53:50:4F:4F:97
4E:53:50:4F:4F:98
4E:53:50:4F:4F:99
4E:53:50:4F:4F:9A
4E:53:50:4F:4F:9B
4E:53:50:4F:4F:9C
4E:53:50:4F:4F:9D
4E:53:50:4F:4F:9E
4E:53:50:4F:4F:9F
4E:53:50:4F:4F:A0
4E:53:50:4F:4F:A1
4E:53:50:4F:4F:A2
4E:53:50:4F:4F:A3
4E:53:50:4F:4F:A4
4E:53:50:4F:4F:A5
4E:53:50:4F:4F:A6
4E:53:50:4F:4F:A7
4E:53:50:4F:4F:A8
4E:53:50:4F:4F:A9
4E:53:50:4F:4F:AA
4E:53:50:4F:4F:AB
4E:53:50:4F:4F:AC
4E:53:50:4F:4F:AD
4E:53:50:4F:4F:AE
4E:53:50:4F:4F:AF
4E:53:50:4F:4F:B0
4E:53:50:4F:4F:B1
4E:53:50:4F:4F:B2
4E:53:50:4F:4F:B3
4E:53:50:4F:4F:B4
4E:53:50:4F:4F:B5
4E:53:50:4F:4F:B6
4E:53:50:4F:4F:B7
4E:53:50:4F:4F:B8
4E:53:50:4F:4F:B9
4E:53:50:4F:4F:BA
4E:53:50:4F:4F:BB
4E:53:50:4F:4F:BC
4E:53:50:4F:4F:BD
4E:53:50:4F:4F:BE
4E:53:50:4F:4F:BF
4E:53:50:4F:4F:C0
4E:53:50:4F:4F:C1
4E:53:50:4F:4F:C2
4E:53:50:4F:4F:C3
4E:53:50:4F:4F:C4
4E:53:50:4F:4F:C5
4E:53:50:4F:4F:C6
4E:53:50:4F:4F:C7
4E:53:50:4F:4F:C8
4E:53:50:4F:4F:C9
4E:53:50:4F:4F:CA
4E:53:50:4F:4F:CB
4E:53:50:4F:4F:CC
4E:53:50:4F:4F:CD
4E:53:50:4F:4F:CE
4E:53:50:4F:4F:CF
4E:53:50:4F:4F:D0
4E:53:50:4F:4F:D1
4E:53:50:4F:4F:D2
4E:53:50:4F:4F:D3
4E:53:50:4F:4F:D4
4E:53:50:4F:4F:D5
4E:53:50:4F:4F:D6
4E:53:50:4F:4F:D7
4E:53:50:4F:4F:D8
4E:53:50:4F:4F:D9
4E:53:50:4F:4F:DA
4E:53:50:4F:4F:DB
4E:53:50:4F:4F:DC
4E:53:50:4F:4F:DD
4E:53:50:4F:4F:DE
4E:53:50:4F:4F:DF
4E:53:50:4F:4F:E0
4E:53:50:4F:4F:E1
4E:53:50:4F:4F:E2
4E:53:50:4F:4F:E3
4E:53:50:4F:4F:E4
4E:53:50:4F:4F:E5
4E:53:50:4F:4F:E6
4E:53:50:4F:4F:E7
4E:53:50:4F:4F:E8
4E:53:50:4F:4F:E9
4E:53:50:4F:4F:EA
4E:53:50:4F:4F:EB
4E:53:50:4F:4F:EC
4E:53:50:4F:4F:ED
4E:53:50:4F:4F:EE
4E:53:50:4F:4F:EF
4E:53:50:4F:4F:F0
4E:53:50:4F:4F:F1
4E:53:50:4F:4F:F2
4E:53:50:4F:4F:F3
4E:53:50:4F:4F:F4
4E:53:50:4F:4F:F5
4E:53:50:4F:4F:F6
4E:53:50:4F:4F:F7
4E:53:50:4F:4F:F8
4E:53:50:4F:4F:F9
4E:53:50:4F:4F:FA
4E:53:50:4F:4F:FB
4E:53:50:4F:4F:FC
4E:53:50:4F:4F:FD
4E:53:50:4F:4F:FE
4E:53:50:4F:4F:FF
root@DD-WRT:/tmp# cat 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

root@DD-WRT:/tmp# cat nzone.macs
4E:53:50:4F:4F:00
x4E:53:50:4F:4F:01
x4E:53:50:4F:4F:02
x4E:53:50:4F:4F:03
x4E:53:50:4F:4F:04
x4E:53:50:4F:4F:05
4E:53:50:4F:4F:06
4E:53:50:4F:4F:07
4E:53:50:4F:4F:08
4E:53:50:4F:4F:09
x4E:53:50:4F:4F:0A
x4E:53:50:4F:4F:0B
x4E:53:50:4F:4F:0C
x4E:53:50:4F:4F:0D
x4E:53:50:4F:4F:0E
4E:53:50:4F:4F:0F
x4E:53:50:4F:4F:10
x4E:53:50:4F:4F:11
4E:53:50:4F:4F:12
x4E:53:50:4F:4F:13
4E:53:50:4F:4F:14
x4E:53:50:4F:4F:15
4E:53:50:4F:4F:16
4E:53:50:4F:4F:17
x4E:53:50:4F:4F:18
x4E:53:50:4F:4F:19
x4E:53:50:4F:4F:1A
x4E:53:50:4F:4F:1B
4E:53:50:4F:4F:1C
x4E:53:50:4F:4F:1D
x4E:53:50:4F:4F:1E
x4E:53:50:4F:4F:1F
x4E:53:50:4F:4F:20
x4E:53:50:4F:4F:21
x4E:53:50:4F:4F:21
4E:53:50:4F:4F:23
x4E:53:50:4F:4F:24
x4E:53:50:4F:4F:25
x4E:53:50:4F:4F:26
4E:53:50:4F:4F:27
x4E:53:50:4F:4F:28
x4E:53:50:4F:4F:29
x4E:53:50:4F:4F:2A
x4E:53:50:4F:4F:2B
4E:53:50:4F:4F:2C
4E:53:50:4F:4F:2D
4E:53:50:4F:4F:2E
x4E:53:50:4F:4F:2F
x4E:53:50:4F:4F:30
x4E:53:50:4F:4F:31
x4E:53:50:4F:4F:32
4E:53:50:4F:4F:33
4E:53:50:4F:4F:34
x4E:53:50:4F:4F:35
x4E:53:50:4F:4F:36
4E:53:50:4F:4F:37
4E:53:50:4F:4F:38
x4E:53:50:4F:4F:39
x4E:53:50:4F:4F:3A
4E:53:50:4F:4F:3B
x4E:53:50:4F:4F:3C
x4E:53:50:4F:4F:3D
4E:53:50:4F:4F:3E
x4E:53:50:4F:4F:3F
x4E:53:50:4F:4F:40
x4E:53:50:4F:4F:41
4E:53:50:4F:4F:42
4E:53:50:4F:4F:43
x4E:53:50:4F:4F:44
4E:53:50:4F:4F:45
x4E:53:50:4F:4F:46
x4E:53:50:4F:4F:47
x4E:53:50:4F:4F:48
x4E:53:50:4F:4F:49
x4E:53:50:4F:4F:4A
x4E:53:50:4F:4F:4B
x4E:53:50:4F:4F:4C
x4E:53:50:4F:4F:4D
x4E:53:50:4F:4F:4E
4E:53:50:4F:4F:4F
x4E:53:50:4F:4F:50
x4E:53:50:4F:4F:51
x4E:53:50:4F:4F:52
x4E:53:50:4F:4F:53
x4E:53:50:4F:4F:54
4E:53:50:4F:4F:55
x4E:53:50:4F:4F:56
4E:53:50:4F:4F:57
x4E:53:50:4F:4F:58
x4E:53:50:4F:4F:59
4E:53:50:4F:4F:5A
x4E:53:50:4F:4F:5B
x4E:53:50:4F:4F:5C
x4E:53:50:4F:4F:5D
4E:53:50:4F:4F:5E
x4E:53:50:4F:4F:5F
4E:53:50:4F:4F:60
4E:53:50:4F:4F:61
x4E:53:50:4F:4F:62
4E:53:50:4F:4F:63
x4E:53:50:4F:4F:64
x4E:53:50:4F:4F:65
x4E:53:50:4F:4F:66
x4E:53:50:4F:4F:67
4E:53:50:4F:4F:68
4E:53:50:4F:4F:69
x4E:53:50:4F:4F:6A
4E:53:50:4F:4F:6B
x4E:53:50:4F:4F:6C
4E:53:50:4F:4F:6D
x4E:53:50:4F:4F:6E
4E:53:50:4F:4F:6F
x4E:53:50:4F:4F:70
x4E:53:50:4F:4F:71
4E:53:50:4F:4F:72
x4E:53:50:4F:4F:73
x4E:53:50:4F:4F:73
4E:53:50:4F:4F:75
x4E:53:50:4F:4F:76
4E:53:50:4F:4F:77
x4E:53:50:4F:4F:78
x4E:53:50:4F:4F:79
x4E:53:50:4F:4F:7A
x4E:53:50:4F:4F:7B
x4E:53:50:4F:4F:7C
4E:53:50:4F:4F:7D
4E:53:50:4F:4F:7E
4E:53:50:4F:4F:7F
4E:53:50:4F:4F:80
x4E:53:50:4F:4F:81
x4E:53:50:4F:4F:82
x4E:53:50:4F:4F:83
4E:53:50:4F:4F:84
x4E:53:50:4F:4F:85
x4E:53:50:4F:4F:86
4E:53:50:4F:4F:87
x4E:53:50:4F:4F:88
4E:53:50:4F:4F:89
x4E:53:50:4F:4F:8A
x4E:53:50:4F:4F:8B
4E:53:50:4F:4F:8C
x4E:53:50:4F:4F:8D
x4E:53:50:4F:4F:8E
x4E:53:50:4F:4F:8F
x4E:53:50:4F:4F:90
4E:53:50:4F:4F:91
4E:53:50:4F:4F:92
4E:53:50:4F:4F:93
x4E:53:50:4F:4F:94
x4E:53:50:4F:4F:95
x4E:53:50:4F:4F:96
x4E:53:50:4F:4F:97
4E:53:50:4F:4F:98
x4E:53:50:4F:4F:99
4E:53:50:4F:4F:9A
4E:53:50:4F:4F:9B
x4E:53:50:4F:4F:9C
x4E:53:50:4F:4F:9D
4E:53:50:4F:4F:9E
4E:53:50:4F:4F:9F
x4E:53:50:4F:4F:A0
x4E:53:50:4F:4F:A1
x4E:53:50:4F:4F:A2
x4E:53:50:4F:4F:A3
x4E:53:50:4F:4F:A4
4E:53:50:4F:4F:A5
4E:53:50:4F:4F:A6
x4E:53:50:4F:4F:A7
x4E:53:50:4F:4F:A8
x4E:53:50:4F:4F:A9
x4E:53:50:4F:4F:AA
4E:53:50:4F:4F:AB
x4E:53:50:4F:4F:AC
x4E:53:50:4F:4F:AD
x4E:53:50:4F:4F:AE
4E:53:50:4F:4F:AF
x4E:53:50:4F:4F:B0
x4E:53:50:4F:4F:B1
x4E:53:50:4F:4F:B2
x4E:53:50:4F:4F:B3
x4E:53:50:4F:4F:B4
x4E:53:50:4F:4F:B5
x4E:53:50:4F:4F:B6
4E:53:50:4F:4F:B7
x4E:53:50:4F:4F:B8
x4E:53:50:4F:4F:B9
x4E:53:50:4F:4F:BA
4E:53:50:4F:4F:BB
x4E:53:50:4F:4F:BC
x4E:53:50:4F:4F:BD
x4E:53:50:4F:4F:BE
x4E:53:50:4F:4F:BF
4E:53:50:4F:4F:C0
x4E:53:50:4F:4F:C1
x4E:53:50:4F:4F:C2
4E:53:50:4F:4F:C3
4E:53:50:4F:4F:C4
4E:53:50:4F:4F:C5
x4E:53:50:4F:4F:C6
x4E:53:50:4F:4F:C7
4E:53:50:4F:4F:C8
4E:53:50:4F:4F:C9
4E:53:50:4F:4F:CA
4E:53:50:4F:4F:CB
x4E:53:50:4F:4F:CC
x4E:53:50:4F:4F:CD
x4E:53:50:4F:4F:CE
x4E:53:50:4F:4F:CF
4E:53:50:4F:4F:D0
x4E:53:50:4F:4F:D1
x4E:53:50:4F:4F:D2
4E:53:50:4F:4F:D3
x4E:53:50:4F:4F:D4
4E:53:50:4F:4F:D5
x4E:53:50:4F:4F:D6
x4E:53:50:4F:4F:D7
4E:53:50:4F:4F:D8
x4E:53:50:4F:4F:D9
x4E:53:50:4F:4F:DA
x4E:53:50:4F:4F:DB
x4E:53:50:4F:4F:DC
4E:53:50:4F:4F:DD
x4E:53:50:4F:4F:DE
x4E:53:50:4F:4F:DF
x4E:53:50:4F:4F:E0
x4E:53:50:4F:4F:E1
x4E:53:50:4F:4F:E2
4E:53:50:4F:4F:E3
x4E:53:50:4F:4F:E4
x4E:53:50:4F:4F:E5
4E:53:50:4F:4F:E6
x4E:53:50:4F:4F:E7
x4E:53:50:4F:4F:E8
x4E:53:50:4F:4F:E9
x4E:53:50:4F:4F:EA
x4E:53:50:4F:4F:EB
4E:53:50:4F:4F:EC
x4E:53:50:4F:4F:ED
4E:53:50:4F:4F:EE
x4E:53:50:4F:4F:EF
x4E:53:50:4F:4F:F0
x4E:53:50:4F:4F:F1
x4E:53:50:4F:4F:F2
x4E:53:50:4F:4F:F3
x4E:53:50:4F:4F:F4
x4E:53:50:4F:4F:F5
x4E:53:50:4F:4F:F6
x4E:53:50:4F:4F:F7
x4E:53:50:4F:4F:F8
4E:53:50:4F:4F:F9
x4E:53:50:4F:4F:FA
x4E:53:50:4F:4F:FB
4E:53:50:4F:4F:FC
4E:53:50:4F:4F:FD
x4E:53:50:4F:4F:FE
x4E:53:50:4F:4F:FF
root@DD-WRT:/tmp#
 

donny2112

Member
Newcomer
Joined
May 7, 2014
Messages
15
Trophies
0
XP
96
Country
United States
The 'x's in front of some of the MAC addresses in nzone.macs means the script is running (it puts an 'x' in front of each MAC as it switches to it, so as to not switch to it again). Have you checked the MAC address in your router UI to make sure it changes periodically? SSID is 'attwifi'? If it uses encryption (e.g. WEP, WPA), make sure your 3DS has that attwifi connection saved with the appropriate encryption settings. You can also try testing a connection to that SSID from your 3DS to make sure it sees it and can get to the internet through it.

One other option is that all your Streetpass queues are filled up. If there's no software on your system with an open slot for a Streetpass, you won't get one. Since you want this to work, you're probably using the Streetpasses you get meaning that the queues won't be full, but it's worth mentioning. :)

You can also try unplugging and plugging back in your router. That should reset the nzone.macs file. On mine, the crontab seems to die about midnight router timezone (UTC on mine), and restarting the router by unplugging and plugging back in gets it going again.
 

hashcheck1

Well-Known Member
Member
Joined
Aug 5, 2013
Messages
473
Trophies
1
Age
43
XP
1,065
Country
Yeah its odd defiantly not queues being full and i have got a streetpasses twice now with "* * * * * root /tmp/nzone.sh" in cron area. i use attwifi with no security and MAC Locking (3DS only thing connected)
My Mac Clone is set to 4E:53:50:4F:4F:46 its odd as everything seems ok just not getting any streetpasses after the initial 6 People in plaza
 

LadonZ

Member
Newcomer
Joined
Apr 21, 2014
Messages
6
Trophies
0
Age
37
XP
51
Country
United States
I'm in the same boat as hashcheck1.. I removed all streetpass data for everything but bravely default for the time being. I'm getting xs next to the macs in nzone.macs but my xl isn't picking up any streetpasses. If I go into the mac cloning tab and change it I'll get at least one pass right away. My clone is set to 43:53:50:4F:4F:4D.

So I know that nzone.sh is functioning properly but I'm unsure if it's changing anything on the router. The wireless status page keeps the :4D mac even after manually typing /tmp/nzone.sh in ssh.
 

keyra

Spoderman self proclamed fan
Member
Joined
Dec 23, 2008
Messages
820
Trophies
0
XP
635
Country
France
1.made a new txt file
2.use the code pause in txt and save as ".rc_startup"
Code:
#!/bin/sh
echo -e "#!/bin/sh\nURL=http://213.141.148.11/3ds/nzone?\nMACS=/tmp/nzone.macs\nSPDELAY=480\nMACNUM=0\n[ -f \$MACS ] && MACNUM=\$(grep -v x \$MACS | wc -l) && DELAY=\$(((\$(date +%s)-\$(date -r \$MACS +%s))/60))\n[ \$MACNUM = 0 ] && NEWMACS=\$(wget -q -O - \$URL\$1)\n[ \$(echo -n \"\$NEWMACS\" | wc -c) != 0 ] && echo \"\$NEWMACS\" > \$MACS && MACNUM=\$(cat \$MACS | wc -l)\n[ -z \$DELAY ] && DELAY=\$SPDELAY\n[ \$MACNUM = 0 ] && sed -ri \"s/x(.*)/\\\\1/\" \$MACS && MACNUM=\$(grep -v x \$MACS | wc -l)\nMACTOTAL=\$(cat \$MACS | wc -l)\n[ \$MACNUM = 0 ] || ([ \$MACTOTAL -lt \$SPDELAY ] && [ \$DELAY -lt \$((\$SPDELAY/\$MACTOTAL)) ]) && exit\nRANDOM=\$(head /dev/urandom | hexdump -d | head -n 1 | cut -c 11-15 | sed -r \"s/0*(.*)/\\\\1/\")\nMAC=\$(grep -v x \$MACS | head -n \$((\$RANDOM%\${MACNUM}+1)) | tail -n 1)\nsed -ri s/\$MAC/x\$MAC/ \$MACS\nifconfig ath0 down\nsed -ri s/bssid=.*/bssid=\$MAC/ /tmp/ath0_hostap.conf\nwhile ! hostapd -B -P /var/run/ath0_hostapd.pid /tmp/ath0_hostap.conf; do\n    PID=\$(ps | grep /var/run/ath0_hostapd.pid | grep -v grep | sed 's/^ *//' | cut -d ' ' -f 1)\n    [ ! -z \$PID ] && kill \$PID\n    sleep 1\ndone\nstopservice cron\nstartservice cron\n" > /tmp/nzone; chmod +x /tmp/nzone; mkdir -p /tmp/etc/config; echo -e "#!/bin/sh\nCRONJOBS=\$(nvram get cron_jobs)\nif echo \"\$CRONJOBS\" | grep -q nzone; then\n    if echo \"\$CRONJOBS\" | grep nzone | grep -qe '^#'; then\n        nvram set cron_jobs=\"\$(echo \"\$CRONJOBS\" | sed -r \"s/#(.*?nzone*)/\\\\1/\")\"\n    else\n        nvram set cron_jobs=\"\$(echo \"\$CRONJOBS\" | sed -r s/.*?nzone.*?/#\\&/)\"\n    fi\n    stopservice cron\n    startservice cron\nfi\n" > /tmp/etc/config/nzone.sesbutton; chmod +x /tmp/etc/config/nzone.sesbutton
3.use putty or winscp put ".rc_startup" into router /tmp/
4.then reboot router
5.after reboot check Administration-Commands-Startup is code there
6.then Administration-Management you can change cron ,enable
Code:
* * * * * root /tmp/nzone BASE256


thx i just pasted in ddwrt command and changed my cron with root line and it works like a charm
 
Status
Not open for further replies.

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    K3Nv2 @ K3Nv2: Keep current Gen consoles stock mod last gen imo