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?
A new Nintendo Switch firmware update is here. System software version 18.0.1 has been released. This update offers the typical stability features as all other...
As each year passes, retro games become harder and harder to play, as the physical media begins to fall apart and becomes more difficult and expensive to obtain. The...
While rumors had been floating about rampantly as to the future plans of Nintendo, the President of the company, Shuntaro Furukawa, made a brief statement confirming...
TheFlow has done it again--a new kernel exploit has been released for PlayStation 4 consoles. This latest exploit is called PPPwn, and works on PlayStation 4 systems...
Nintendo might just as well be a law firm more than a videogame company at this point in time, since they have yet again issued their now almost trademarked usual...
Nintendo has officially announced that a successor to the beloved Switch console is on the horizon. As we eagerly anticipate what innovations this new device will...
Another video game prototype has been found and preserved, and this time, it's none other than the game that spawned an entire franchise beloved by many, the very...
Anbernic is back with yet another retro handheld device. The upcoming RG28XX is another console sporting the quad-core H700 chip of the company's recent RG35XX 2024...
DOOM is well-known for being ported to basically every device with some kind of input, and that list now includes the old retro game console in Persona 5 Royal...
Two classic titles join the Nintendo Switch Online Expansion Pack game lineup. Available starting April 24th will be the motorcycle racing game Extreme G and another...
Nintendo has officially announced that a successor to the beloved Switch console is on the horizon. As we eagerly anticipate what innovations this new device will...
While rumors had been floating about rampantly as to the future plans of Nintendo, the President of the company, Shuntaro Furukawa, made a brief statement confirming...
Nintendo might just as well be a law firm more than a videogame company at this point in time, since they have yet again issued their now almost trademarked usual...
As each year passes, retro games become harder and harder to play, as the physical media begins to fall apart and becomes more difficult and expensive to obtain. The...
Ubisoft has today officially revealed the next installment in the Assassin's Creed franchise: Assassin's Creed Shadows. This entry is set in late Sengoku-era Japan...
A new Nintendo Switch firmware update is here. System software version 18.0.1 has been released. This update offers the typical stability features as all other...
TheFlow has done it again--a new kernel exploit has been released for PlayStation 4 consoles. This latest exploit is called PPPwn, and works on PlayStation 4 systems...
After rumour got out about an upcoming NES Edition release for the famed Nintendo World Championships, Nintendo has officially unveiled the new game, titled "Nintendo...
DOOM is well-known for being ported to basically every device with some kind of input, and that list now includes the old retro game console in Persona 5 Royal...
The number of layoffs and cuts in the videogame industry sadly continue to grow, with the latest huge layoffs coming from Microsoft, due to what MIcrosoft calls a...
Eventhough the New 3DS XL is more powerful, I still feel like the DS Lite was a more polished system. It's a real shame that it never got an XL variant keeping the GBA slot. You'd have to go on AliExpress and buy an ML shell to give a DS phat the unofficial "DS Lite" treatment, and that's the best we'll ever get I'm afraid.
@Jayro, I don't see whats so special about the DS ML, its just a DS lite in a phat shell. At least the phat model had louder speakers, whereas the lite has a much better screen.
@SylverReZ if you could find a v5 DS ML you would have the best of both worlds since the v5 units had the same backlight brightness levels as the DS Lite unlockable with flashme
A woman with no arms and no legs was sitting on a beach. A man comes along and the woman says, "I've never been hugged before." So the man feels bad and hugs her. She says "Well i've also never been kissed before." So he gives her a kiss on the cheek. She says "Well I've also never been fucked before." So the man picks her up, and throws her in the ocean and says "Now you're fucked."