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.

Sev501

Well-Known Member
Member
Joined
Nov 5, 2012
Messages
161
Trophies
1
Location
127.0.0.1
XP
198
Country
Philippines
Chaldron's MAC Cycler v2
For Windows-based HomePass networks
snip
-Considering allowing custom time (change every x minutes) DONE

Hi, firstly thanks for this useful cycler/macro...
If it's not too much hassle is it possible for you to add in this command after it has changed MAC addresses...

Code:
netsh wlan start hostednetwork

This is for just us with the Atheros Wifi Adapter chip on our machines, whenever you perform the MAC change, it disables the hosted network...

If it's ok can you make a version of your script with said functionality? Much appreciated and thank you for all the help.
 

RedHero

Well-Known Member
Member
Joined
Dec 27, 2008
Messages
208
Trophies
0
XP
239
Country
Netherlands
My phone is a LG Optimus L5, so it's not on the list. aside from the decide profile, my configuration is exactly like yours.
Still can't get it to work with the Generic ICS/JB configuration.


I suppose you could mess around with the profile settings first, try different ones. If that doesn't work, you could try using some other settings. I'm using slightly older Android firmware (4.0.4), so maybe you need that no-tether interface option checked if you have 4.2 or higher.
 

plasma

GBAtemp's Artificial Lifeform
Member
Joined
May 15, 2009
Messages
1,668
Trophies
1
Location
Inazuma TM Caravan
XP
2,652
Country
United Kingdom
I can't find the option to change the MAC address on my phone, the 3DS doesn't even recognizeit as a NZone spot when its called attwifi. Help?

Phone; HTC Sensation on Jelly Bean 4.2.2

Idk how to or where the options for editing Mac is, but it isn't in the inbuilt tether app...
 

Duo8

Well-Known Member
Member
Joined
Jul 16, 2013
Messages
3,613
Trophies
2
XP
3,021
Country
Vietnam
I can't find the option to change the MAC address on my phone, the 3DS doesn't even recognizeit as a NZone spot when its called attwifi. Help?

Phone; HTC Sensation on Jelly Bean 4.2.2

Idk how to or where the options for editing Mac is, but it isn't in the inbuilt tether app...
You'll have to root your phone and change system files. Or use that wifi Tether app.
 

plasma

GBAtemp's Artificial Lifeform
Member
Joined
May 15, 2009
Messages
1,668
Trophies
1
Location
Inazuma TM Caravan
XP
2,652
Country
United Kingdom
You'll have to root your phone and change system files. Or use that wifi Tether app.
I forgot to mention, it has CyanogenMod 10.2 so it is rooted. And what WiFi tether app? There's 100's. Is there a specific one that will give me the option go change/spoof MAC address?


EDIT: the 3DSs said an Nzone is here but it couldn't connect to it....
 

RedHero

Well-Known Member
Member
Joined
Dec 27, 2008
Messages
208
Trophies
0
XP
239
Country
Netherlands
Yes the 3ds need to be in sleepmode for it to work!


False, it doesn't need to be in sleep mode at all. In fact, if you don't use it in sleep mode, it'll search for a Nintendo Network every 30 seconds, maybe even less. If you have it closed it's more like 5 minutes (unless you restart the 3DS and close it). Downside is that the green streetpass light only burns for a few seconds and you might miss it (but you can check messages to see if you got any). I've done this before, which is why I know it works.
 

RedHero

Well-Known Member
Member
Joined
Dec 27, 2008
Messages
208
Trophies
0
XP
239
Country
Netherlands
I forgot to mention, it has CyanogenMod 10.2 so it is rooted. And what WiFi tether app? There's 100's. Is there a specific one that will give me the option go change/spoof MAC address?


EDIT: the 3DSs said an Nzone is here but it couldn't connect to it....

This one, needs a manual install:
https://code.google.com/p/android-wifi-tether/

Sorry for the double post.
 

psamora

New Member
Newbie
Joined
Aug 13, 2013
Messages
1
Trophies
0
Age
32
XP
51
Country
Brazil
Hello. First of all, I would like to congratulate everyone that has contributed to this topic. You guys don’t know how nice is to finally have a chance to eventually enjoy the Mii Plaza. Here in Brazil it’s not only really hard to get StreetPasses, but there’s also no plan for relay points and Nintendo Zones anytime soon. Sadly, I’ve not been able to make it work yet.

I'm using a Windows 7 with a wired connection and an unused wireless network named Wi-Fi, which I've configured with the MAC address as oriented. Using the Microsoft Virtual WiFi Miniport Adapter, I created the attwifi network, connected my 3DS to it and now I can access both the internet and the Nintendo Zone page, but I've not yet been able to StreetPass anyone. In fact, the 3DS, when closed, only rarely communicate with the attwifi, which might be related to the problem.

Either way, that’s why I came asking for advice. Anyone has any idea how I should proceed? I’ve updated a photo of my “Network Connections” page just in case I messed up somewhere. It’s in Portuguese: http://i.imgur.com/kI58g9G.jpg . By the way, I don’t know why there are two Microsoft Virtual WiFi Miniport Adapters, but only the later has been used until now. It might be related. Or not.
 

Duo8

Well-Known Member
Member
Joined
Jul 16, 2013
Messages
3,613
Trophies
2
XP
3,021
Country
Vietnam
Hello. First of all, I would like to congratulate everyone that has contributed to this topic. You guys don’t know how nice is to finally have a chance to eventually enjoy the Mii Plaza. Here in Brazil it’s not only really hard to get StreetPasses, but there’s also no plan for relay points and Nintendo Zones anytime soon. Sadly, I’ve not been able to make it work yet.

I'm using a Windows 7 with a wired connection and an unused wireless network named Wi-Fi, which I've configured with the MAC address as oriented. Using the Microsoft Virtual WiFi Miniport Adapter, I created the attwifi network, connected my 3DS to it and now I can access both the internet and the Nintendo Zone page, but I've not yet been able to StreetPass anyone. In fact, the 3DS, when closed, only rarely communicate with the attwifi, which might be related to the problem.

Either way, that’s why I came asking for advice. Anyone has any idea how I should proceed? I’ve updated a photo of my “Network Connections” page just in case I messed up somewhere. It’s in Portuguese: http://i.imgur.com/kI58g9G.jpg . By the way, I don’t know why there are two Microsoft Virtual WiFi Miniport Adapters, but only the later has been used until now. It might be related. Or not.
Funny. It looks exactly like mine.
 
D

Deleted User

Guest
Hi there,

I have set it up this morning, and the Nintendo Zone Icon appears on my 3DS XL. However, is this trick region specific? Seeing as I am in South Africa, I selected: NintendoSpotpass1. When I open the Nintendo Zone app, it gives me an error message: 013-8805 - Could not find page.

Is this because I would have to be located in the EU region in order for this to work? Please help.
 

DSoryu

GBA/NDS Maniac
Member
Joined
May 5, 2010
Messages
2,355
Trophies
2
Location
In my house
XP
4,751
Country
Mexico
Tried both W8 and Linux methods, the Windows method gives me the error "hosted netwok can't be started" when I change my wireless adapter MAC adress, but once i restore it to it's default the hosted network works again, and the Linux Method shows the comand properly, but my 3DS doesn't detect the spoofed NZone...
 

Duo8

Well-Known Member
Member
Joined
Jul 16, 2013
Messages
3,613
Trophies
2
XP
3,021
Country
Vietnam
Hi there,

I have set it up this morning, and the Nintendo Zone Icon appears on my 3DS XL. However, is this trick region specific? Seeing as I am in South Africa, I selected: NintendoSpotpass1. When I open the Nintendo Zone app, it gives me an error message: 013-8805 - Could not find page.

Is this because I would have to be located in the EU region in order for this to work? Please help.
It's not region locked.
It won't let me grant Superuser, it Denies it straight away. It works with errors and failed with MAC changing....
Check your Superuser app.
 

Koldur

Virtual Boy Ambassador
Member
Joined
Feb 2, 2008
Messages
294
Trophies
1
XP
1,531
Country
Netherlands
This is for routers with DD-WRT firmware.

Well, lets move on to the title-based StreetPass!
MAC generated in a following way:
the first three octets are ASCII codes for "NSP" (4E:53:50)
the last three octets are CTR title code (i.e. CTR-XXX.-...)

Here you can find a list of game CTR codes: StreetPass CTR

For automatic MAC rotation just create a string from CTR-codes without any separators and add it to the following scripts just after [email protected] (you can choose to remove [email protected] as well if you do not want to use a common StreetPass MACs)

Insert script in Administration - Commands
Code:
echo -e "#!/bin/sh\nTITLES=OO@OOAOOBOOCOODOOEOOFOOGOOHOOIOOJOOKOOLOOMOONOOO\nBASE=NSP\nRANDOM=\$(head -c 2 /dev/urandom | hexdump -e '1/2 \"%u\"')\nCTR=\$((\$RANDOM%\$((\$(expr length \$TITLES)/3))))\nMAC=\$(echo \$BASE\$TITLES | cut -c 1-3,\$((\$CTR*3+4))-\$((\$CTR*3+6)) | hexdump -e '6/1 \"%02X:\"' | head -c 17)\nWLINT=\$(nvram get wl0_ifname)\nAPDCNF=/tmp/\${WLINT}_hostap.conf\nAPDPID=/var/run/\${WLINT}_hostapd.pid\nif [ -e \$APDCNF ]; then\nkill \$(cat \$APDPID)\nsed -ri s/bssid=.*/bssid=\$MAC/ \$APDCNF\nhostapd -B -P \$APDPID \$APDCNF\nelse\nifconfig \$WLINT down\nifconfig \$WLINT hw ether \$MAC\nifconfig \$WLINT up\nfi" >/tmp/nzone; chmod 555 /tmp/nzone
hit Run Commands, insert again, hit Save Startup
Code:
#!/bin/sh
TITLES=OO@OOAOOBOOCOODOOEOOFOOGOOHOOIOOJOOKOOLOOMOONOOO
BASE=NSP
RANDOM=$(head -c 2 /dev/urandom | hexdump -e '1/2 "%u"')
CTR=$(($RANDOM%$(($(expr length $TITLES)/3))))
MAC=$(echo $BASE$TITLES | cut -c 1-3,$(($CTR*3+4))-$(($CTR*3+6)) | hexdump -e '6/1 "%02X:"' | head -c 17)
WLINT=$(nvram get wl0_ifname)
APDCNF=/tmp/${WLINT}_hostap.conf
APDPID=/var/run/${WLINT}_hostapd.pid
if [ -e $APDCNF ]; then
kill $(cat $APDPID)
sed -ri s/bssid=.*/bssid=$MAC/ $APDCNF
hostapd -B -P $APDPID $APDCNF
else
ifconfig $WLINT down
ifconfig $WLINT hw ether $MAC
ifconfig $WLINT up
fi
In Administration - Management - Cron insert:
Code:
*/10 1-7 * * * root /tmp/nzone
and Apply Settings. Now your router will change to a random MAC from a selected list every 10 minutes starting from 1:00 to 7:50

Do not set cron to run more often than once per 10 minutes.
Thoug this script was tested on DD-WRT v24 Pre SP2, it may not run properly on your device because of the hardware and specifiv DD-WRT build differences. If this is the case, please make sure you have the latest DD-WRT available for your router and PM me output for this commands
Code:
nvram get wl0_ifname
ifconfig
iwconfig
ps

- support multi-ssid configuration
- check script with Realtek-baset routers


Thanks for all your efforts, I followed your instructions to the letter, but still nothing here... Weird, I am starting to think the micro build has some things removed involving the rotating scripts.
 
Status
Not open for further replies.

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    Sonic Angel Knight @ Sonic Angel Knight: :ninja: