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.

retrogradesnowcone

Member
Newcomer
Joined
Aug 12, 2013
Messages
22
Trophies
0
Age
99
XP
42
Country
United States
i had to do a reset on my modem, and now i'm no longer getting passes. it's not detecting a nintendozone, though i can connect to the wifi (attwifi) manually without a problem

i can ssh in and it can dns stuff fine; /tmp/nzone.macs is filled, etc

any suggestions?
 

xanthux

Active Member
Newcomer
Joined
Sep 3, 2012
Messages
31
Trophies
0
XP
56
Country
United States
Will this work in a WRT54G2 v.1 with the latest stock firmware? Or do I really have to flash DD-WRT? The stock firmware has MAC cloning; I tried but didn't work.
 

Koldur

Virtual Boy Ambassador
Member
Joined
Feb 2, 2008
Messages
294
Trophies
1
XP
1,547
Country
Netherlands
Yeah, I don't want to mess around with it because it's not mine. I was hoping I could still use it with stock.


I understand that, but that doesn't change the fact that you need to install DD-WRT to get it working. 99 out of 100 times when you can clone MAC in stock firmware it means you can clone it on the WAN port only which is no use for StreetPass Relay. You need DD-WRT, no doubt about it.
 

dicamarques

Definitely not Bruce Wayne.
OP
Member
Joined
Jun 25, 2010
Messages
1,096
Trophies
1
Location
Your computer's Recycle Bin
Website
www.google.com
XP
1,946
Country
Portugal
home_zone is already executable (look the output of the ls -la | grep home_zone) and the sudo command is the one i give. with wlan1 since that's the name of the interface of the dongle.
I think I MIGHT know why its happening this but it's not plausible, can you tell the model of your wifi card?
 

duke_srg

Well-Known Member
Member
Joined
Mar 1, 2011
Messages
1,862
Trophies
0
Age
44
Location
Moscow
XP
807
Country
Serbia, Republic of
Can anyone please explain to me how to use this script? I used the code to put in administration commanes. However I don't understabd what to put in cron...

There was a mismatch in the manual, you should just paste script and push Run Commands, but NOT Save ... button.
 

Elnef

Member
Newcomer
Joined
Jul 30, 2010
Messages
21
Trophies
0
XP
69
Country
Once you have DD-WRT and your SSID set to "attwifi"; go to the Cron Job..I think it's under Administration and simply copy/paste this.

0-59/4 * * * * 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
2-59/4 * * * * 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


With your code I have adapted it to OPENWRT. In web interface Luci, in System->Scheduled Tasks copy:
Code:
*/3 * * * * uci set wireless.@wifi-iface[0].macaddr='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` && uci commit && wifi

Press Submit.

After, in tab System->Startup press Restart in Cron service.

Then every 3 minutes it changes the mac and reset the wifi connection.
 
  • Like
Reactions: TheForce81

Koldur

Virtual Boy Ambassador
Member
Joined
Feb 2, 2008
Messages
294
Trophies
1
XP
1,547
Country
Netherlands
With your code I have adapted it to OPENWRT. In web interface Luci, in System->Scheduled Tasks copy:
Code:
*/3 * * * * uci set wireless.@wifi-iface[0].macaddr='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` && uci commit && wifi

Press Submit.

After, in tab System->Startup press Restart in Cron service.

Then every 3 minutes it changes the mac and reset the wifi connection.


Works like a charm! Thanks for the script, I used it like this though:

Code:
0-59/6 * * * * uci set wireless.@wifi-iface[2].macaddr='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` && uci commit && wifi
3-59/6 * * * * uci set wireless.@wifi-iface[2].macaddr='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` && uci commit && wifi

My attwifi SSID is my third network, hence the [2] if your attwifi network is the first, use [0] if it is the second [1] and so forth. This way we get more StreetPasses on OpenWRT. I will go back using my alternative router though, don't really want my complete wifi to restart every 3 minutes. With my alternative router in action my main wifi works without interruptions and I still get my SPs. Better that way for me, but it is great to know we can use it with OpenWRT as well, very nice and so easy!
 

KamikiriTW

Member
Newcomer
Joined
Aug 16, 2013
Messages
10
Trophies
0
XP
81
Country
Taiwan
Please update your script, maybe you're using a bugged version with the increasing time between MAC changes.

After update to V3.3 script,
still doesn't get a lot of street pass,
only got 4 pass in last 24 hour,
but mac change is working fine,
maybe some mac number can't do street pass now?
 

duke_srg

Well-Known Member
Member
Joined
Mar 1, 2011
Messages
1,862
Trophies
0
Age
44
Location
Moscow
XP
807
Country
Serbia, Republic of
After update to V3.3 script,
still doesn't get a lot of street pass,
only got 4 pass in last 24 hour,
but mac change is working fine,
maybe some mac number can't do street pass now?
49,gbatemp,base 16 lists are enough to get full mii plaza streetpasses in one night for me. If you're using base256, maybe this is the problem. Just give it a time, you're not the only onw who are using this script, as soon it changes macs it should be fine now ;)
 

BerserkLeon

Not-so-new member
Member
Joined
Mar 22, 2010
Messages
460
Trophies
1
Age
34
Location
Pennsylvania
XP
538
Country
United States
it's a tp-link tl-wn823n

whilst getting a softap working with your card is possible, under linux you can't change the mac address due to the driver screwup with rtlwifi, and the 8192cu driver doesn't allow you to either.. although that at least allows you to use the net with it.
If you don't want to use windows you'll need another card. It looks like TP-Link has been going with realtek for most of their newer cards, so if you definitely want a working card, I'd get the TL-WN722N.. as it hasn't had any revisions since its first one. Ath9k does support mac changing and works under linux for hostapd.
I'd recommend the 822N, but even it's been changed to an rtl8192cu in its most recent revision.
(and the 723N is an rtl8188eu in its newest revision, which is why I'd go with the 722N.)

Also to be clear, I don't think you can receive intnernet with it while you're using it for hostapd, you'll need an ethernet cable plugged in, and either bridged or manually connected to your wlan interface (i.e.: follow http://learn.adafruit.com/setting-up-a-raspberry-pi-as-a-wifi-access-point/install-software or find one that mentions making a bridge between eth0 and wlan0... and ignore the part about replacing hostapd)
 

keyra

Spoderman self proclamed fan
Member
Joined
Dec 23, 2008
Messages
820
Trophies
0
XP
635
Country
France
49,gbatemp,base 16 lists are enough to get full mii plaza streetpasses in one night for me. If you're using base256, maybe this is the problem. Just give it a time, you're not the only onw who are using this script, as soon it changes macs it should be fine now ;)

i got something like 200 streetpass today, completed almost all puzzles
 
Status
Not open for further replies.

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • BigOnYa @ BigOnYa:
    Yea i have couple other sites I find Switch titles also and just looked, I don't see it out/leaked yet...(paper mario)
  • Quincy @ Quincy:
    Or even worse; circle pad ball fondlers like on the 3DS
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    I just want a Pokemon Hell Raiser fan game 😭
  • K3Nv2 @ K3Nv2:
    Anyone wanna play with my joydock
  • BigOnYa @ BigOnYa:
    Biomutant looks cool tho, may have to try that
  • Quincy @ Quincy:
    Usually when such a big title leaks the Temp will be the first to report about it (going off of historical reports here, Pokemon SV being the latest one I can recall seeing pop up here)
  • K3Nv2 @ K3Nv2:
    I still like how a freaking mp3 file hacks webos all that security defeated by text yet again
  • BigOnYa @ BigOnYa:
    They have simulators for everything nowdays, cray cray. How about a sim that shows you playing the Switch.
  • K3Nv2 @ K3Nv2:
    That's called yuzu
    +1
  • BigOnYa @ BigOnYa:
    I want a 120hz 4k tv but crazy how more expensive the 120hz over the 60hz are. Or even more crazy is the price of 8k's.
  • K3Nv2 @ K3Nv2:
    No real point since movies are 30fps
  • BigOnYa @ BigOnYa:
    Not a big movie buff, more of a gamer tbh. And Series X is 120hz 8k ready, but yea only 120hz 4k games out right now, but thinking of in the future.
  • K3Nv2 @ K3Nv2:
    Mostly why you never see TV manufacturers going post 60hz
  • BigOnYa @ BigOnYa:
    I only watch tv when i goto bed, it puts me to sleep, and I have a nas drive filled w my fav shows so i can watch them in order, commercial free. I usually watch Married w Children, or South Park
  • K3Nv2 @ K3Nv2:
    Stremio ruined my need for nas
  • BigOnYa @ BigOnYa:
    I stream from Nas to firestick, one on every tv, and use Kodi. I'm happy w it, plays everything. (I pirate/torrent shows/movies on pc, and put on nas)
  • K3Nv2 @ K3Nv2:
    Kodi repost are still pretty popular
  • BigOnYa @ BigOnYa:
    What the hell is Kodi reposts? what do you mean, or "Wut?" -xdqwerty
  • K3Nv2 @ K3Nv2:
    Google them basically web crawlers to movie sites
  • BigOnYa @ BigOnYa:
    oh you mean the 3rd party apps on Kodi, yea i know what you mean, yea there are still a few cool ones, in fact watched the new planet of the apes movie other night w wifey thru one, was good pic surprisingly, not a cam
  • BigOnYa @ BigOnYa:
    Damn, only $2.06 and free shipping. Gotta cost more for them to ship than $2.06
  • BigOnYa @ BigOnYa:
    I got my Dad a firestick for Xmas and showed him those 3rd party sites on Kodi, he loves it, all he watches anymore. He said he has got 3 letters from AT&T already about pirating, but he says f them, let them shut my internet off (He wants out of his AT&T contract anyways)
  • K3Nv2 @ K3Nv2:
    That's where stremio comes to play never got a letter about it
    K3Nv2 @ K3Nv2: That's where stremio comes to play never got a letter about it