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.

Scrub Lord

Well-Known Member
Newcomer
Joined
Dec 4, 2014
Messages
54
Trophies
0
Age
29
XP
72
Country
Brazil
You can only streetpass with a single MAC set every 8 hours. You COULD change the MAC set when you finish the first one, but doing so and cycling through all the MACs at once is kinda rude to others, seeing as they'll just keep getting you whenever they get that MAC.

I see! I've already fixed the connection problems I were having, and even though it is working fine now, I haven't been getting any streetpasses in the last minutes. By the way, I've gotten like 80 till now. Should I wait 8h to do it again or is it some kind of error?
 

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
I see! I've already fixed the connection problems I were having, and even though it is working fine now, I haven't been getting any streetpasses in the last minutes. By the way, I've gotten like 80 till now. Should I wait 8h to do it again or is it some kind of error?

If you're using my script it will spread all the MACs with 8 hours period. This is a bad idea to quickly get 80 streetpasses and wait for the next 8 hours because you're spaming the server. In that case there are a great probability that someone will meet you more than once. That means that he will get less people in the Mii Plazza - the doubles won't count but actually occupies space.
 

Rocket0634

Active Member
Newcomer
Joined
Sep 15, 2009
Messages
36
Trophies
0
XP
191
Country
United States
Rocket0634 oh, sorry, just lost your spoiler in the thread. Looks like several parts of the script are gettin not that was expected. Run wmic nic get index,macaddress /format:csv

Node,Index,MACAddress
RIVER-PC,0,1C:75:08:7D:C0:87
RIVER-PC,1,
RIVER-PC,2,02:00:00:00:00:00
RIVER-PC,3,
RIVER-PC,4,
RIVER-PC,5,
RIVER-PC,6,
RIVER-PC,7,
RIVER-PC,8,7A:79:19:93:96:AF
RIVER-PC,9,7A:79:19:93:96:AF
RIVER-PC,10,
RIVER-PC,11,02:00:00:00:00:00
RIVER-PC,12,
RIVER-PC,13,
RIVER-PC,14,
RIVER-PC,15,02:00:00:00:00:00
RIVER-PC,16,1C:75:08:7D:C0:87
RIVER-PC,17,08:00:27:00:58:19
RIVER-PC,18,
RIVER-PC,19,
RIVER-PC,20,
RIVER-PC,21,
RIVER-PC,22,
RIVER-PC,23,
RIVER-PC,24,
RIVER-PC,25,
RIVER-PC,27,00:26:37:BD:39:42
RIVER-PC,28,00:26:37:BD:39:42
 

Scrub Lord

Well-Known Member
Newcomer
Joined
Dec 4, 2014
Messages
54
Trophies
0
Age
29
XP
72
Country
Brazil
If you're using my script it will spread all the MACs with 8 hours period. This is a bad idea to quickly get 80 streetpasses and wait for the next 8 hours because you're spaming the server. In that case there are a great probability that someone will meet you more than once. That means that he will get less people in the Mii Plazza - the doubles won't count but actually occupies space.

Oh, I'm using that 256 one. I didn't know that would happen.
anyway, what do you recommend I do? I don't want to get in anyone's way
 

Cloud557

Member
Newcomer
Joined
Jun 17, 2013
Messages
16
Trophies
0
Age
35
XP
85
Country
United States
Cloud557 Most probalby you've just gont ONE streetpass with 6 people on Mii Plaza after 8 hours cooldown with the same mac and hosted netsork started on boot. Script just can't run on a turned off PC.
Please check nzone job last run and command parameters to check the issue

Actually, that's very likely that I only got 1 Streetpass, but got 6 People from it. That's very true, however getting the Streetpass itself is unlikely, seeing as my computer was off when I got them, and I live on the third floor of a 3 floor apartment building, on a side road, with only one other person in the house that has a 3DS (This person doesn't get streetpasses all that often, and generally only streetpasses me once in the morning and once in the afternoon when they're home from school), so the only way I could have gotten the streetpass with 6 people from around the world, is from my computer which was off (I'm the only person in the house that has a Homepass because first floor's 3DS user is too young to understand how it works and has parental settings on his 3DS, and the second floor is empty).

As for the nzone job last run... I won't lie, I don't actually know how to check that... I'm not all that great with script stuff, which is why I didn't try ANYTHING for the Homepass that required script until I was sure I understood what to do and what it would do.
 

sabata2

Member
Newcomer
Joined
Nov 23, 2014
Messages
17
Trophies
0
Age
35
XP
72
Country
United States
I think he means to use "nzone status".
But that particular command in the script has *always* reported that the script is not running for me, even when *the last command I ran was nzone start*.
 

Scrub Lord

Well-Known Member
Newcomer
Joined
Dec 4, 2014
Messages
54
Trophies
0
Age
29
XP
72
Country
Brazil
Ok, as I said before I had been able to do the homepass stuff... but now I can't anymore! I've run the maccheck.cmd again, and now it's displaying all zeroes... what do I do??
 

sabata2

Member
Newcomer
Joined
Nov 23, 2014
Messages
17
Trophies
0
Age
35
XP
72
Country
United States
Alright, workday is over...
starting nzone
net.ipv4.ip_forward = 1
Configuration file: /etc/wlan0_hostap.conf
Failed to update rate sets in kernel module
Using interface wlan0 with hwaddr 4e:53:50:4f:4f:e0 and ssid 'NZ@McD1'
crontab: installing new crontab
cron was set to be commented out, and not running.
3DS notifies me that Nintendo Zone service is available.
MAC address was solid and not rotating for atleast 5 minutes.
Error Code: 003-2005
A communication Error has occurred.

There may be a problem with the wireless environment. Please move closer to the access point and try again.

If this error recurrs, the problem may be with the internet connection or the server.
Maybe something is going wrong with the routing... checking
Chain PREROUTING (policy ACCEPT)
target prot opt source destination

Chain INPUT (policy ACCEPT)
target prot opt source destination

Chain OUTPUT (policy ACCEPT)
target prot opt source destination

Chain POSTROUTING (policy ACCEPT)
target prot opt source destination
MASQUERADE all -- anywhere anywhere


Chain INPUT (policy ACCEPT 2036 packets, 703K bytes)
pkts bytes target prot opt in out source destination

Chain FORWARD (policy ACCEPT 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination
0 0 ACCEPT all -- wlan0 * 0.0.0.0/0 0.0.0.0/0

Chain OUTPUT (policy ACCEPT 2124 packets, 271K bytes)
pkts bytes target prot opt in out source destination
Chains are both there. 3DS is saying that it sees the zone, but cannot communicate.

I have changed the cron job to rotate at */5. I'm running a test to see if it is actually rotating every 5 minutes now.
I'm going to leave this running for a while and I'll edit this post with the results of my duration inspection, and if my 3DS picked anything up.

*EDIT*
I have let it sit for 2 hours.
The MAC addresses were changing every 5 minutes, so */5 is the correct format.
I think (as I've said multiple times before) my problem is hardware related... Do you have ANY ideas that it could be otherwise?

No, in terms of a streetpass-enabled application there is no diffrerences between SSIDs. You can get only streetpass data for the registered titles.
As for your question about internet connection lost, only those commands can affect it, thy it one-by-one and see the result.

sysctl -w net.ipv4.ip_forward=1
iptables -t nat -I POSTROUTING -o $EXTINT -j MASQUERADE
iptables -I FORWARD -i $WLINT -j ACCEPT
root@Aviarch:/home/sabata2# sysctl -w net.ipv4.ip_forward=1
net.ipv4.ip_forward = 1
root@Aviarch:/home/sabata2# iptables -t nat -I POSTROUTING -o eth0 -j MASQUERADE
root@Aviarch:/home/sabata2# iptables -I FORWARD -i wlan0 -j ACCEPT
root@Aviarch:/home/sabata2# iptables -t nat --list;iptables -L -v -n
Chain PREROUTING (policy ACCEPT)
target prot opt source destination

Chain INPUT (policy ACCEPT)
target prot opt source destination

Chain OUTPUT (policy ACCEPT)
target prot opt source destination

Chain POSTROUTING (policy ACCEPT)
target prot opt source destination
MASQUERADE all -- anywhere anywhere


Chain INPUT (policy ACCEPT 185 packets, 19691 bytes)
pkts bytes target prot opt in out source destination

Chain FORWARD (policy ACCEPT 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination
0 0 ACCEPT all -- wlan0 * 0.0.0.0/0 0.0.0.0/0

Chain OUTPUT (policy ACCEPT 182 packets, 19576 bytes)
pkts bytes target prot opt in out source destination
When run manually I did *not* lose my hardlined internet connection.
In preparation for the test run mentioned above I used nzone stop to reset these configurations... my hardlined internet cut out when I entered said command.
 

alegolasg

New Member
Newbie
Joined
Dec 5, 2014
Messages
1
Trophies
0
Age
36
XP
51
Country
United States
So sorry if this has been asked before:
I have a usb wi fi stick running on win 7. I have gotten nzone.vbs to work but the problem I have is when the virtual connection(attwifi from base instructions) drops to change mac it also drops my usb network connection(the one you rename Wi-Fi). This causes the usb connection/ disconnection sound to go off and my regular wired internet to lose connection for a few seconds. is there something I can do to stop this?
 

Destinykid

Well-Known Member
Member
Joined
Nov 21, 2007
Messages
129
Trophies
1
XP
2,171
Country
United States
I had a problem trying to use this. I had everything set up all the way to the 3ds connecting to attwifi and it would actually connect to the internet but I couldn't get any streetpasses. I was using macycle with my built in wifi card in my laptop. Does spotpass in mii plaza need to be on for this to work?
 

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
Scrub Lord just use nzone.vbs start BASE256 and you will get streetpasses every 2 minutes with the randomly spreaded MACs.

alegolasg There is nothing you can do, if you have the same adapter for the Internet and Homepass and able to get actual streetpasses, just disable this sound and have fun. Adding the second wireless adapter won't solve the problem.

Destinykid Please follow "Before anything else" link in the first post, you'll be able to setup the easiest Windomepass.

sabata2 nzone stop just removes those rules with
iptables -t nat -D POSTROUTING -o $EXTINT -j MASQUERADE
iptables -D FORWARD -i $WLINT -j ACCEPT
So set just as before - start the nzone, stop the job, because MAC change do not affect the internet pass, make sure once more, that Access Point test is passed and then try those two lines one-by one, with the correct interfaces. You can also try to connect with the another WiFi device to check if AP is acessible and dnsmasq is giving the IP.
 

Scrub Lord

Well-Known Member
Newcomer
Joined
Dec 4, 2014
Messages
54
Trophies
0
Age
29
XP
72
Country
Brazil
I've tried running nzone.vbs again just like you said, but no it says "No hosted network compatible wireless interface found" :( what do I do?
 

Cloud557

Member
Newcomer
Joined
Jun 17, 2013
Messages
16
Trophies
0
Age
35
XP
85
Country
United States
Okay, I'm having a lovely issue with the script that I was told to use... I can't get it to stop starting itself... I've typed the standard netsh wlan stop hostednetwork and it'll stop for about 10 minutes, and then anything that's connected to the internet (My whole computer pretty much) will have a second or two of not having connection, and when I check my networks, it's been started again and I have to manually stop it. Please, someone tell me how to stop it from automatically starting itself.
 

Scrub Lord

Well-Known Member
Newcomer
Joined
Dec 4, 2014
Messages
54
Trophies
0
Age
29
XP
72
Country
Brazil
Scrub Lord Was it working before?

Cloud557 Run nzone.vbs stop It will disable the scheduled task which is used to change MAC

Yes, yes it was! I managed to get some homepasses before (got like 82), but now it has been almost 24 hours that I haven't been able to do so anymore :\ last time I tried running nzone.vbs, I got that message I said last post
 
Status
Not open for further replies.

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • BigOnYa @ BigOnYa:
    Did you wake up with your belt un-buckled?
  • K3Nv2 @ K3Nv2:
    Let me lift you up in my chair
  • BigOnYa @ BigOnYa:
    Down there, teeth removal is putting you behind an angry donkey.
  • K3Nv2 @ K3Nv2:
    Teeth removal is tying the donkeys hair to the tooth and slapping it's ass
    +1
  • K3Nv2 @ K3Nv2:
    The cleaning stuff they used was actually nice tasted like frosting
  • BigOnYa @ BigOnYa:
    That'd be 2million pesos, drink this tequila for your pain.
  • K3Nv2 @ K3Nv2:
    Also buy my art senior don't forget what happened with Germany
    +1
  • BigOnYa @ BigOnYa:
    For reference, so everyone knows we are not racist, just like to pick on Juan, and he gives it back to us 'murdicans in return. I love me some latinos.
    +1
  • Morganna @ Morganna:
    hello? anyone alive here?
    +1
  • Sicklyboy @ Sicklyboy:
    I'm dead inside
  • Morganna @ Morganna:
    at least you can chat :)
  • Morganna @ Morganna:
    i dont want to sound silly, but im kind of lost, im new to this community and i have a lot of question and idk where to start
  • realtimesave @ realtimesave:
    I watched baby yoda eat frog eggs on mandalorian last night
  • BigOnYa @ BigOnYa:
    @Morganna Welcome to the temp! what are your questions?
    +1
  • Sicklyboy @ Sicklyboy:
    It is nice and loud and thunder and lightning stormy outside, love it
    +1
  • Sicklyboy @ Sicklyboy:
    Can't wait for the inevitable power outage where it's initially funny because I have half of my apartment on UPSes, then I realize I have literal minutes to start shutting down all of my servers.
  • BigOnYa @ BigOnYa:
    You must be north of me, Im in Ohio.. It been storming on off all day here, coming from the north
  • Sicklyboy @ Sicklyboy:
    just barely maybe, more so just dead east.
    I'm in NJ
    +1
  • BigOnYa @ BigOnYa:
    Is weird looking at the radar, it is making a circle
  • Morganna @ Morganna:
    @BigOnYa well, starting with, idk which emulator should i use for switch, i got a gtx 1650, do you know which one would it better for my pc?
  • BigOnYa @ BigOnYa:
    The switch emulators on pc rely on your CPU mostly, and they only use a single core, so GPU not as important as a good CPU. I don't use switch emulator, but many here do, and willing to help.
  • BigOnYa @ BigOnYa:
    @K3Nv2 do you want to chime in, don't you use yuzu or ryujinx? Which do you prefer?
  • BigOnYa @ BigOnYa:
    @Morganna I'd say try them both, and see which work better for your setup, good luck, and have fun!
  • Morganna @ Morganna:
    i tried just yuzu so far, not even played, just open the game to see if it run
    +1
  • Morganna @ Morganna:
    By the way, is there any website you recommend to search for some roms?
    Morganna @ Morganna: By the way, is there any website you recommend to search for some roms?