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.

ehnoah

Well-Known Member
Member
Joined
Oct 9, 2012
Messages
918
Trophies
0
XP
781
Country
Netherlands
Finaly got Nintendo Zone working, mean this I should recieve Miis in my StreetPass app? Because I am in Stand By and not see any Green light =(
 

RapierDragon

Member
Newcomer
Joined
Dec 19, 2013
Messages
24
Trophies
0
Age
47
XP
61
Country
Canada
WAH!!! Been going crazy... Sunday we had freezing-rain and I lost all power about Sunday 2pm and it only came back on Monday at like 10 pm. All that time I could have been working on getting my home-pass running.

You should have seen the ice. 1", maybe 2" thick in a lot of places. Downed wires and trees everywhere.
 

sudeki300

Well-Known Member
Member
Joined
Nov 20, 2004
Messages
1,118
Trophies
1
XP
1,691
Country
United Kingdom
Now that gateway have released their update for emuNAND I can try this relay on bravely default, never tried this before do I need to grab the street pass app from the eshop (guess I do) and then connect to my android and I'll be good to go.....................sudeki300
 

mene

Member
Newcomer
Joined
Nov 8, 2008
Messages
8
Trophies
0
XP
165
Country
United States
Long time lurker, first time poster here.

After purchasing the wireless adapter used in that video posted a few pages back, I finally have my homemade Streetpass working using a wired internet connection.

My laptop has a separate, onboard NIC, and I'd like to use it for a wireless internet connection while my adapter is hosting a network. I was wondering if there was a command that forced the adapter to host the shared network. When I try this, every time I change MAC addresses via Command Prompt window, the adapter resets and then Windows uses the onboard NIC to host the shared network.

This would be convenient if possible - wouldn't have to as close to my router.
 

RapierDragon

Member
Newcomer
Joined
Dec 19, 2013
Messages
24
Trophies
0
Age
47
XP
61
Country
Canada
Managed to trade my dir-601 ("b" version... dd-wrt only supports the "a" currently) for a dir-615. (managed to get one that was opened/returned from a Staples Business Depot. $29.99 knocked down to $19.78 knocked down to $12.29, which made me super-happy cause of the price)

So now I've switched from the lousy/buggy win98 way of homepass to the dd-wrt method.

=== HELP WANTED WITH dd-wrt SCRIPTS ===

I'm still trying to figure out the scripts though. Seems to be lots of different posts on different ways to do the scripts.

Am I right in thinking that basically there's two places where I need scripts? Or at least a script in one of these two places. (CRON is less random but would probably get more hits across less sites).

One being in Admin-Command (run) (grabs from page 10 of this thread). This is much more of a hit-random-mii at random-MAC type method (compared to the bigger CRON script below)
echo -e "#!/bin/sh\nMACS=/tmp/nzone.macs\n[ -f \$MACS ] || wget -q -O \$MACS \"http://duke-srg.dyndns.org/3ds/nzone?\$1\"\nMACNUM=\$(cat \$MACS | wc -l)\n[ \$MACNUM != 0 ] || exit\nRANDOM=\$(head /dev/urandom | hexdump -d | head -n 1 | cut -c 11-15)\nMACNUM=\$((\$RANDOM%\${MACNUM}+1))\nMAC=\$(head -n \$MACNUM \$MACS | tail -n 1)\nWLINT=\$(nvram get wl0_ifname)\nAPDCNF=/tmp/\${WLINT}_hostap.conf\nAPDPID=/var/run/\${WLINT}_hostapd.pid\nif [ -e \$APDCNF ]; then\nkill \$(cat \$APDPID)\nsleep 3\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

And the other being over in Admin - Management - Cron ?
(found as a comment between NailbunnyPD and ankorite over on reddit in one 3ds-homepass threads.)



0 0,3,6,9,12,15,18,21 * * * root nvram set def_whwaddr=4E:53:50:4F:4F:40 sleep 3 && nvram commit sleep 5 && reboot 9 0,3,6,9,12,15,18,21 * * * root nvram set def_whwaddr=4E:53:50:4F:4F:41 sleep 3 && nvram commit sleep 5 && reboot 18 0,3,6,9,12,15,18,21 * * * root nvram set def_whwaddr=4E:53:50:4F:4F:42 sleep 3 && nvram commit sleep 5 && reboot 27 0,3,6,9,12,15,18,21 * * * root nvram set def_whwaddr=4E:53:50:4F:4F:43 sleep 3 && nvram commit sleep 5 && reboot 36 0,3,6,9,12,15,18,21 * * * root nvram set def_whwaddr=4E:53:50:4F:4F:44 sleep 3 && nvram commit sleep 5 && reboot 45 0,3,6,9,12,15,18,21 * * * root nvram set def_whwaddr=4E:53:50:4F:4F:45 sleep 3 && nvram commit sleep 5 && reboot 54 0,3,6,9,12,15,18,21 * * * root nvram set def_whwaddr=4E:53:50:4F:4F:46 sleep 3 && nvram commit sleep 5 && reboot 3 1,4,7,10,13,16,19,22 * * * root nvram set def_whwaddr=4E:53:50:4F:4F:47 sleep 3 && nvram commit sleep 5 && reboot 12 1,4,7,10,13,16,19,22 * * * root nvram set def_whwaddr=4E:53:50:4F:4F:48 sleep 3 && nvram commit sleep 5 && reboot 21 1,4,7,10,13,16,19,22 * * * root nvram set def_whwaddr=4E:53:50:4F:4F:49 sleep 3 && nvram commit sleep 5 && reboot 30 1,4,7,10,13,16,19,22 * * * root nvram set def_whwaddr=4E:53:50:4F:4F:4A sleep 3 && nvram commit sleep 5 && reboot 39 1,4,7,10,13,16,19,22 * * * root nvram set def_whwaddr=4E:53:50:4F:4F:4B sleep 3 && nvram commit sleep 5 && reboot 48 1,4,7,10,13,16,19,22 * * * root nvram set def_whwaddr=4E:53:50:4F:4F:4C sleep 3 && nvram commit sleep 5 && reboot 57 1,4,7,10,13,16,19,22 * * * root nvram set def_whwaddr=4E:53:50:4F:4F:4D sleep 3 && nvram commit sleep 5 && reboot 6 2,5,8,11,14,17,20,23 * * * root nvram set def_whwaddr=4E:53:50:4F:4F:4E sleep 3 && nvram commit sleep 5 && reboot 15 2,5,8,11,14,17,20,23 * * * root nvram set def_whwaddr=4E:53:50:4F:4F:4F sleep 3 && nvram commit sleep 5 && reboot 24 2,5,8,11,14,17,20,23 * * * root nvram set def_whwaddr=00:25:9C:52:1C:6A sleep 3 && nvram set wl_ssid="NDS-Guest" sleep 3 && nvram set wl0_ssid="NDS-Guest" sleep 3 && nvram commit sleep 5 && reboot 33 2,5,8,11,14,17,20,23 * * * root nvram set def_whwaddr=00:0D:67:15:2D:82 sleep 3 && nvram set wl_ssid="attwifi" sleep 3 && nvram set wl0_ssid="attwifi" sleep 3 && nvram commit sleep 5 && reboot 42 2,5,8,11,14,17,20,23 * * * root nvram set def_whwaddr=00:0D:67:15:D7:21 sleep 3 && nvram commit sleep 5 && reboot 51 2,5,8,11,14,17,20,23 * * * root nvram set def_whwaddr=00:0D:67:15:D5:44 sleep 3 && nvram commit sleep 5 && reboot
=== UNTIL I GET THESE FIGURED OUT ===
I'm gonna use the old-fashioned manual-way of changing MAC's every few minutes.
 

Qoff

Well-Known Member
Newcomer
Joined
Dec 1, 2012
Messages
47
Trophies
0
Age
33
XP
95
Country
Brazil
Hello guys, sorry to ask it here but let me ask it:

Is possible insert wondercards with pokegen in the saves and get it in the emulators, but, is possible create a hotspot here in my house to get the wondercards i want into my 3ds?
 

Duo8

Well-Known Member
Member
Joined
Jul 16, 2013
Messages
3,613
Trophies
2
XP
3,032
Country
Vietnam
Hello guys, sorry to ask it here but let me ask it:

Is possible insert wondercards with pokegen in the saves and get it in the emulators, but, is possible create a hotspot here in my house to get the wondercards i want into my 3ds?

No. And that has nothing to do with Homepassing.
 

DanielC

Active Member
Newcomer
Joined
Dec 9, 2007
Messages
39
Trophies
0
XP
255
Country
United States
I'm trying to use the Windows 7 method but as soon as I change the MAC address of my wireless adapter it disables the virtual wifi miniport and I can't create the hosted network.
 

NitsuaKun

Member
Newcomer
Joined
Dec 8, 2013
Messages
12
Trophies
0
Age
37
XP
51
Country
United States
=== UNTIL I GET THESE FIGURED OUT ===
I'm gonna use the old-fashioned manual-way of changing MAC's every few minutes.

Yeah...been trying to find/figure out a MAC changing script myself. I got a new router (the D-Link DIR632, because it is highly recommended for Homepassing) and I have yet to find any scripts that actually do what they're supposed to. I'm going to say it...Duke's script seems way too complicated for what needs to be done. Anytime I try and run it I always get errors regarding it not being able to find certain web addresses or files or something. Is it really that hard to make a simple program that grabs a random value from XX to XX and stick it onto the end of the typical MAC address that all these homepass addresses use? Why are we needing to access an online address for a list of MAC addresses that follow a very basic numerical order? All I want is a working script that changes the MAC address randomly within the range of homepass addresses, that I can set in the cron jobs to run however frequently I want. (no accessing lists online, no altering of the cron jobs based on pointless & unexplained calculations, something that I can save as a custom script and just RUN IT)

I'm just tired of manually changing MAC addresses every 15 minutes. So very, very tired.
 

Snailface

My frothing demand for 3ds homebrew is increasing
Member
Joined
Sep 20, 2010
Messages
4,324
Trophies
2
Age
40
Location
Engine Room with Cyan, watching him learn.
XP
2,256
Yeah...been trying to find/figure out a MAC changing script myself. I got a new router (the D-Link DIR632, because it is highly recommended for Homepassing) and I have yet to find any scripts that actually do what they're supposed to. I'm going to say it...Duke's script seems way too complicated for what needs to be done. Anytime I try and run it I always get errors regarding it not being able to find certain web addresses or files or something. Is it really that hard to make a simple program that grabs a random value from XX to XX and stick it onto the end of the typical MAC address that all these homepass addresses use? Why are we needing to access an online address for a list of MAC addresses that follow a very basic numerical order? All I want is a working script that changes the MAC address randomly within the range of homepass addresses, that I can set in the cron jobs to run however frequently I want. (no accessing lists online, no altering of the cron jobs based on pointless & unexplained calculations, something that I can save as a custom script and just RUN IT)

I'm just tired of manually changing MAC addresses every 15 minutes. So very, very tired.
You might look at the python script in my sig, it randomizes and cycles macs as you describe. Its designed for wifi dongle access points but it may work in your case if you adjust your settings. You could also just look at the source and adapt it to your situation if need be -- its pretty simple.

There's also this for the Win7 method. Version 1.2 is a simpler version and you may prefer it instead.
 

NitsuaKun

Member
Newcomer
Joined
Dec 8, 2013
Messages
12
Trophies
0
Age
37
XP
51
Country
United States
You might look at the python script in my sig, it randomizes and cycles macs as you describe. Its designed for wifi dongle access points but it may work in your case if you adjust your settings. You could also just look at the source and adapt it to your situation if need be -- its pretty simple.

There's also this for the Win7 method. Version 1.2 is a simpler version and you may prefer it instead.

I'm looking for something I can run within dd-wrt itself, so I don't have to have a computer running to run a cycler. And I tried to look at those scripts myself: I can't make heads or tails of them.
 

Koldur

Virtual Boy Ambassador
Member
Joined
Feb 2, 2008
Messages
294
Trophies
1
XP
1,542
Country
Netherlands
I'm looking for something I can run within dd-wrt itself, so I don't have to have a computer running to run a cycler. And I tried to look at those scripts myself: I can't make heads or tails of them.


I use this script, very simple and very effective, no need for someone else's servers except for Nintendo's servers of course :P :
Code:
0-59/6 * * * * root ifconfig eth1 down && ifconfig eth1 hw ether 40:53:50:4F:4F:`/bin/cat /proc/interrupts | /usr/bin/md5sum | /usr/bin/cut -b 1``/bin/cat /proc/interrupts | /usr/bin/md5sum | /usr/bin/cut -b 1` && ifconfig eth1 up
3-59/6 * * * * root ifconfig eth1 down && ifconfig eth1 hw ether 4E:53:50:4F:4F:`/bin/cat /proc/interrupts | /usr/bin/md5sum | /usr/bin/cut -b 1``/bin/cat /proc/interrupts | /usr/bin/md5sum | /usr/bin/cut -b 1` && ifconfig eth1 up
 

Squeezit

Member
Newcomer
Joined
Jul 30, 2012
Messages
10
Trophies
0
XP
28
Country
United States
So I tried using the router method.
I'm not really sure if my Router is capable or not, but here's what I did:
2013-12-29_1034.png

Changed my Routers mac address

Then I changed its name:
2013-12-29_1048.png


Then I changed my security settings:
2013-12-29_1048.png


Sorry to ask, but could someone let me know what I did wrong? Or maybe my router just isn't capable of this.

Edit:
Looks like my router is DD-WRT supported
http://screencast.com/t/QtuiEotjk

So now I'm just wondering
1. Why didn't mine work?
2. Do I have to set the security to disabled? It'd be nice to leave it enabled but also have the homepass working at all times (once every 8 hours or so is fine by me)
 

Squeezit

Member
Newcomer
Joined
Jul 30, 2012
Messages
10
Trophies
0
XP
28
Country
United States
Oops. Was that the only mistake? *tries it*



Update:
Hmm, so I can connect to Nintendo Zone just fine, I'm just not picking up any streetpasses.

Update 2:

Now I'm even further confused.
I picked up Eguchi from Nintendo which I believe you can only get from Nintendo Zones. However he's the only person I picked up. No regular streetpass people.
 

Anorhc

Well-Known Member
Member
Joined
Jan 20, 2008
Messages
287
Trophies
0
XP
239
Country
United States
How do I know what list of games that I have Streetpass active for? I know there's a limit to how many are active at once.
 
Status
Not open for further replies.

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    SylverReZ @ SylverReZ: https://www.youtube.com/watch?v=tM4vMLpcX7A