Save it somewhere in router, possibly in "/opt", make executable "chmod +x", and schedule using web interface.
Adjust parameters if required (name of virtual wireless interface, timeout between mac changes, add some mac-addreses if you like)
Code:
#!/opt/bin/bash
mac=( "4E:53:50:4F:4F:46" "4E:53:50:4F:4F:45" "4E:53:50:4F:4F:41" "4E:53:50:4F:4F:42" "4E:53:50:4F:4F:43" "4E:53:50:4F:4F:44")
# Device specific parameters
hotspot_name="NZ@McD1"
interface="wl0.1"
timeout=120
if [ "`nvram get ${interface}_radio`" = "1" ]; then
echo "Interface:{$interface} is running. Disabling"
/bin/nvram set "${interface}_bss_enabled"=0
/bin/nvram set "${interface}_radio"=0
/bin/nvram commit
sleep 10
else
echo "Interface {$interface} is down. No need to disable"
fi
for i in "${mac[@]}"
do
echo "Setting mac" $i
/bin/nvram set "${interface}_bss_enabled"=1
/bin/nvram set "${interface}_radio"=1
/bin/nvram set "${interface}_ssid"=$hotspot_name
/bin/nvram set "${interface}_hwaddr"=$i
/bin/nvram commit
service wireless restart
echo "Sleeping for" $timeout
sleep $timeout
# Finally disable this interface
echo "Disabling " $interface
/bin/nvram set "${interface}_bss_enabled"=0
/bin/nvram set "${interface}_radio"=0
/bin/nvram commit
service wireless restart
sleep 10
done
Saw this before, finally trying to start cycling since I'm playing more games now.
On a DD-WRT router
wget -O /tmp/nzone.sh http://nintendozone.dynu.net/install; ch
mod +x /tmp/nzone.sh; /tmp/nzone.sh BASE16,GBATEMP
Connecting to nintendozone.dynu.net (213.141.148.11:80)
nzone.sh 100% |*******************************| 4525 0:00:00 ETA
No wireless interfaces found
This is a unified script you only need to make a hompass MAC change for: - routers with DD-WRT firmware (not supported by Ralink-based routers, and most probably micro builds and build older than 21xxx)
DDWRT on WRT54GL V1.1 with 4MB RAM and recent mini install of DDWRT (Broadcom chipset) using the modified version of the homepass script. This is a custom solution and values are hardcoded so be sure to customize it to your needs.
For whatever reason, wget wouldn't work on my install but USED TO WORK. I believe this was due to no-ip.org and other dynamic install addresses failing or some other configuration issue I have yet to solve. The below instructions are my workaround to get at least the BASE256 macs cycling again but now on the virtual wireless interface so I still have encryption on my main connection.
Command when run would give (yes even with the latest version of the install script with the updated ip address as of this post 8/29/16!): -sh: /tmp/nzone.sh: not found
Not sure why this worked before (perhaps it was because I was on a really old standard build of ddwrt rather than the spiffy new mini build I'm using now).
Update 9/2/16: Duke's script still works and he is very responsive to PM's if you have trouble. I'm leaving my modification of his work here if you want local mac caching using jffs and/or virtual mac cycling along with physical mac cycling.
Update 8/29/16: If the original script author would like to modify or use anything in this post, feel free. I might not check here very often now that street passes are working again but I'm happy with it as it is....not to say if you read this and have an update that would work with my mini build of ddwrt (DD-WRT v3.0-r30471 mini (08/24/16)) that would be awesome!
My wget DOES work it just doesn't support ssl AND it seems to require a file extension or the server to send back a file. Having the notehub.org url end in 'export' wasn't enough and I still couldn't use it to download it from the server. The original script would interpret the url and send back appropriate data for this to be installed or give the requested MACS ... so this modification is a custom hardcoded simplified version to get around wget's limitations and manually set up the cycling again. Also has added benefit for ap isolation so you don't have to have your main connection unencrypted and just have the homepass connection open.
Problem: My old original homepass script on my DD-WRT router broke. I decided to update ddwrt and try again. No go. So I edited and manually installed the script and macs modifying it to suit my needs.
Solution: below.
Instructions start:
Go to router login address usually 192.168.1.1 unless you changed it.
Administration tab -> Management, scroll down to JFFS2 Support and enable and also (important!) Clean Internal Flash Storage this once to initialize it. Should so something like but not exactly:
Total / Free Size 704.00 KB / 380.00 KB
under it.
Wireless tab -> Click add under virtual interface
Now set up your main wifi ssid name and for the virtual name use NZ@McD1. I also turned on AP isolation here since this will be unsecured (no encryption)
Save and apply settings
Setup tab -> Mac address clone ON: set wireless to be 4E:53:50:4F:4F:00 (that will be the real interface) The virtual interface (wl0.1) will already be +1 of the real interface (eth1) and start off as (4E:53:50:4F:4F:01). You could change those to the prime mac-1 and the prime mac numbers if you desire, just edit the /jffs/nzone.macs appropriately.
Save and apply settings
Wireless tab -> Wireless security (disabled for NZ@McD1 required for street passes to work). Good idea to set it up (WPA2 Personal best) for your main/real wireless interface.
Save and apply settings
start putty and log in (tty session to your dd-wrt router)
make sure you have a mini build or better (micro builds won't work likely)
switch back to putty, and right click to paste into vi
ensure there is a new line (press enter) at the end of the last 'fi' instruction (or you'll get an error about unexpected eof when trying to run it)
press Esc to switch modes
type :wq
press enter
back in putty (ash shell command line) type:
chmod +x nzone.sh
sh nzone.sh
sh nzone
(no sh this time)
at this point wget wasn't working to download the macs so I modified the install to use jffs (router's flash storage). So let's manually create the nzone.macs file with the BASE256 macs:
(if you get an error here about read only file system means you need to initialize (clean) the jffs or enable it and initialize it from the router administration page).
Note (the first mac ending in 00 is missing because that's what my primary eth1 real wireless interface is using, the virtual interface wl0.1 (w L ZERO . 1) is always +1 the real interface for this solution.
As soon as the macs are in the nzone.macs file the street passes should start rolling in (they did for me) since we ran the nzone (without sh) script earlier which turned on the cron job.
Run it again if you need to here:
sh nzone
(again no 'sh')
You can watch the cycling by typing:
ifconfig eth1
ifconfig wl0.1
(that's double-u ell zero dot one)
and seeing the mac addresses change. I believe it is set to about every two minutes.
type exit (exit) to leave the tty session.
I rebooted the router at this point (Administration tab -> Reboot router (at bottom)). The startup script will recopy the /jffs/nzone.macs to /tmp/nzone.macs (just reading from jffs not writing to it each time). This works fetching the macs from local flash storage rather than trying to get non-working wget to work.
Also tested when all the macs get used (they get an 'x' in front of them) that the script will recopy the jffs macs back to the /tmp/nzone.macs to make them unused again. So once it randomly cycle through them all it will start again and randomly choose new macs. MACs aren't repeated and only used once per full cycle. The author who made this did an incredibly awesome job and I love the simplicity of just marking the used ones and randomly choosing a new mac automatically!
So for the virtual interface:
I noticed that the virtual interface always followed the real interface and would only update if the real interface did. So this method makes the real interface change and causes the virtual one to go along for the ride. Separated networks, one device, still have encrypted wireless and Nintendo homepasses all in one device. I can't take credit for the script. In fact, I've broken it a bit but it works fine. The broken part is the BASE256 argument means nothing and you can't choose BASE16 or the others. The servers which gave out those macs aren't available anymore? So I just have the list of the base256 ones. Good enough for me. It survives rebooting and doesn't need to worry about dns hosted servers going down. Feel free to modify it if you need to for your own use. You can add/delete or change the macs list to your liking. I originally created it using excel to make a decimal list, converted it to hex using an excel function and then using notepad++ to prefix the beginning mac address to it.
Now's a good time to set up the mac filter (router administration page, wireless tab -> mac filter).
Check Administration -> Management tab, Cron should be enabled (probably reads '* * * * * root sh /tmp/nzone BASE256' the BASE256 part doesn't do anything because we're using the hardcoded macs from /jffs/nzone.macs that get copied to /tmp/nzone.macs so changing BASE256 won't affect anything. To change the macs just edit the /jffs/nzone.macs file using putty telnet and vi editor (right click paste from windows)).
Once downside to having the main eth1 wireless cycle too is that every time it cycles every two mins or so the wireless will freeze for a few seconds or web pages may timeout. It might be possible to set a specific cron execute time so slow this down if you wish in the cron tab.
I hope this helps get your ddwrt homepasses working again...with added optional bonus of virtual interface
I'm using a Windows 7 PC with a TP-Link 722 WLAN adapter and I'm trying to set up an access point.
I've spent some time setting up a standard hostednetwork, but Windows doesn't allow setting an unsecured one, and apparently on later firmwares (I have 11.0) you can not have a NZ@stuff or attwifi recognized as a nintendo zone if it's secured.
What I did is download Virtual Router Manager, then NBA Homepass (2.x).
I set up a hostednetwork, then let NBAH automatically override the hosted network settings.
For some reason, it only recognized as a peer when the lid was open, which is apparently the opposite of how homepasses should work.
Then NBAH restarted my wi-fi adapter to change the mac.
At that point, hosted network just stops working. Permanently. The wifi miniport has a yellow exclamation sign in the device manager that says "it cannot be started: code 10" and restarting hostednetwork with netsh says it's not in the correct state. The only reliable fix i found is to completely delete and reinstall the device's drivers.
Obviously, I got zero streetpasses out of the entire ordeal. What do? How fix?
It would be good if I could get an ethernet connection working at the same time, since I did that entire thing with my ethernet cable unplugged.
my router is TP-Link TL-WR703N v1
CPU Model Atheros AR9330
Firmware Version DD-WRT v3.0-r30534 std (09/01/16)
because GFW problem in china
dynu not work here
and I can not use arcadesdude script
because my firmware no jffs
then I found this http://automac.webatu.com/rand/main.php
but after change mac address and reboot AP
Wireless Channel always unknown
anyone help
----------
problem solved
go back to Firmware: DD-WRT v24-sp2 (03/25/13) std
then use script http://automac.webatu.com/rand/main.php
maybe Wireless Channel always unknown is a bug in Firmware Version DD-WRT v3.0-r30534 std (09/01/16)
Can anyone give some advice? I had homepass set up years ago but now with the newest update, there's a use for it once again. But unlike in the past, I'm stuck with two wireless networks and i can't seem to get it going. I got virtual router up but i can't get mac changer to do anything with it. Any advice for someone with this kind of set up?
I had streetpass setup and working couple of months ago. But testing it today and now not working.
my setup was added a Linksys dd-wrt router to my network. I was manual changing the mac address from google list. Worked fine.
Reading above seem there was an update or something. So what do I need to do to get it working again?
What I mean by not working is leaving 3ds on all day but no green flashing light. router is working I connect 3ds to it and get out on internet. Been trying attwifi and NZ@McD1.
I've set up hotstop from guide #1, my 3ds got annoying nintendo zone icon in home menu, but i don't get any streetpasses. Why is so? I've tried several mac addresses and it's no use.
I've set up hotstop from guide #1, my 3ds got annoying nintendo zone icon in home menu, but i don't get any streetpasses. Why is so? I've tried several mac addresses and it's no use.
Welp, I made it work. Now I need someone to share eon ticket from pokemon oras with me. If someone has one - please, pm me.
Also, does anybody know how to hide this nintendo zone app? I didn't have it before and I don't really need it.
Hi, is there a viable way to use homepass on a Windows 10 laptop and the TPLink TL-WN722N ver. 1.0 wireless adapter? I was able to use it for smashhax, but I can't make it work for homepass and I tried also some tutorials on Youtube and the Glaciergaming website. Also, I tested some vmware images that I saw here, also with the fixes. I don't know what else to do.
Also, I tried with ddwrt on my old router but I get the /tmp/nzone.sh:not found thing using @duke_srg command.
Ive been trying to use nbahomepass 2.0.1 on my laptop windows 10 and it says it cant find the virtual wifi adapter so ive given up on tring to get the damn thing to work.
is there a method on android marshmallow to get a streetpass homepass working? eveytime i try to type in google aup to date method all i get is all stuff that dont work
I used to have something with MacCycle setup on Windows 8, but now I'm trying to get a set it and forget it function for windows 10, and having trouble.
NBAHomepass requires a wifi connection, and widows 10 refused to connect to wifi if you have ethernet. Otherwise my connection disconnects constantly as it cycles MACs. Is there a way to configure this like before where my wifi adapter is dedicated to street pass, my 3DS can use it for wifi, and it doesn't mess with windows 10's ethernet connection?
It's the first Nintendo Switch firmware update of 2024. Made available as of today is system software version 18.0.0, marking a new milestone. According to the patch...
After a couple days of Nintendo releasing their 18.0.0 firmware update, @SciresM releases a brand new update to his Atmosphere NX custom firmware for the Nintendo...
Today, April 8th, 2024, at 4PM PT, marks the day in which Nintendo permanently ends support for both the 3DS and the Wii U online services, which include co-op play...
Hello, GBAtemp members! After a prolonged absence, I am delighted to announce my return and upgraded form to you today...
Introducing tempBOT AI 🤖
As the embodiment...
Yet another casualty goes down in the never-ending battle of copyright enforcement, and this time, it hit a big website which was the host for many fangames based and...
With Apple having recently updated their guidelines for the App Store, iOS users have been left to speculate on specific wording and whether retro emulators as we...
The highly popular and accurate FPGA hardware, MisterFGPA, has received today a brand new update with a long-awaited feature, or rather, a new core for hardcore...
The time has finally come, and after many, many years (if not decades) of Apple users having to side load emulator apps into their iOS devices through unofficial...
The romhacking community is always a source for new ways to play retro games, from completely new levels or stages, characters, quality of life improvements, to flat...
Retro handheld manufacturer Anbernic is releasing a refreshed model of its RG35XX handheld line. This new model, named RG35XX 2024 Edition, features the same...
It's the first Nintendo Switch firmware update of 2024. Made available as of today is system software version 18.0.0, marking a new milestone. According to the patch...
Today, April 8th, 2024, at 4PM PT, marks the day in which Nintendo permanently ends support for both the 3DS and the Wii U online services, which include co-op play...
Hello, GBAtemp members! After a prolonged absence, I am delighted to announce my return and upgraded form to you today...
Introducing tempBOT AI 🤖
As the embodiment...
With Apple having recently updated their guidelines for the App Store, iOS users have been left to speculate on specific wording and whether retro emulators as we...
The time has finally come, and after many, many years (if not decades) of Apple users having to side load emulator apps into their iOS devices through unofficial...
After a couple days of Nintendo releasing their 18.0.0 firmware update, @SciresM releases a brand new update to his Atmosphere NX custom firmware for the Nintendo...
Yet another casualty goes down in the never-ending battle of copyright enforcement, and this time, it hit a big website which was the host for many fangames based and...
Nintendo has recently announced through their social media accounts that a new Indie World stream will be airing tomorrow, scheduled for April 17th, 2024 at 7 a.m. PT...
The highly popular and accurate FPGA hardware, MisterFGPA, has received today a brand new update with a long-awaited feature, or rather, a new core for hardcore...
Apple has long been known for jailing off several off from its App Store according to their guidelines, and one such type of applications was video-game emulators...