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.

SomeGamer

Well-Known Member
Member
Joined
Dec 19, 2014
Messages
6,827
Trophies
1
XP
4,902
Country
Hungary
I can live with that. So what do I do?
So you want to meet with other HomePassers or do you prefer real NZones? Meeting with people who can't change MAC is an option too.
You can choose more than one, but bear in mind that the script spoofs every MAC you chose once per 8 hours. So with 16 MACs, there will be a restart every 30 minutes. With 256, every 2 minutes.
 

themysticalone

Member
Newcomer
Joined
Sep 8, 2010
Messages
16
Trophies
0
XP
99
Country
United States
Something seems to have stopped working for me. nzone.exe / Windows 7. I have always had the issue that since I'm using my wireless card as both internet connection and virtual wifi, that nzone often starts the virtual network too early and the wireless fails to get an internet connection. Whatever. I just disconnect and connect a few times on wireless and it eventually works.

However, two days ago, I did this, got homepass hits on both 3ds units in my household and... that was the last time it worked. If I use TMac to look at traffic on the virtual connection, I see no data received ever, indicating either that the 3ds units aren't even attempting to communicate with the relay or my computer is comhow blocking the communication (firewall is off, antivirus disabled while trying this).

Thoughts?
 

BobbyTastic

Member
Newcomer
Joined
Dec 5, 2013
Messages
13
Trophies
0
Age
33
XP
95
Country
United States
So you want to meet with other HomePassers or do you prefer real NZones? Meeting with people who can't change MAC is an option too.
You can choose more than one, but bear in mind that the script spoofs every MAC you chose once per 8 hours. So with 16 MACs, there will be a restart every 30 minutes. With 256, every 2 minutes.


I actually didn't plan on using a script for right now. I figured I'd just always do it manually to make the most of the passes (since I'm mainly doing this for StreetPass Plaza which only holds 10 people anyways).

So how do I do this manually?
 

SomeGamer

Well-Known Member
Member
Joined
Dec 19, 2014
Messages
6,827
Trophies
1
XP
4,902
Country
Hungary
I actually didn't plan on using a script for right now. I figured I'd just always do it manually to make the most of the passes (since I'm mainly doing this for StreetPass Plaza which only holds 10 people anyways).

So how do I do this manually?
Oh, that's pretty easy then. Just put the MAC you want in the clone wireless MAC field.
 

MattDragon

Well-Known Member
Newcomer
Joined
May 27, 2011
Messages
46
Trophies
0
XP
121
Country
Italy
Excuse me guys, but i'm having some problems... I bought a new wifi adapter (TL-WN725N V2.1) and i installed the newest drivers. I connected it to my network, i disabled my Atheros adapter and unplugged my LAN cable (so the connection on the internet is only due to the new adapter). When I start nzone.exe, it don't create the nzone.macs file, and if i go on the status page of "ConsoleNintendo3ds", it tell me that there is no connection to the network. How can i solve this? I really don't know why nzone.exe don't create the nzone.macs file... I even disabled the antivirus! :-(

Edit: Nevermind... it works! ^_^
 

Harsky

Madmin
Member
Joined
Aug 2, 2004
Messages
5,562
Trophies
1
XP
3,851
Country
United Kingdom
Not sure if someone can help but I bought a TP-Link TL-WN725N wireless adapter for my PC. My PC is connected to the router via ethernet and I was looking at this guide for help. Unfortunately when I run Maccheck, I keep getting an "Invalid XSL format (or) filename, No hosted network compatible wireless interfaces found" message. Does anyone know why this keeps happening?
 

SomeGamer

Well-Known Member
Member
Joined
Dec 19, 2014
Messages
6,827
Trophies
1
XP
4,902
Country
Hungary
Yup, I have internet while spoofing now. Cool.

Alright, last issue. Can I have ANY security on my attwifi? Does WEP at least work?
If your 3DS's firmware version is 9.2.0 or below, you can have WPA2 (in most cases WPA2-Personal on a DD-WRT). If it's above, I recommend setting up MAC filtering. You can check your 3DS's (or 2DS's) MAC in System Settings / Internet Settings / Other Information / Confirm MAC address. Then put it into Wireless / MAC filtering on the DD-WRT router along with every wireless device's MAC you want to access the router from. Make sure permit is selected in the radio buttons, not prevent. It's not as secure as encryption, but unless there are hackers in your neighborhood, they just see that they can't connect to an unencrypted WiFi.
 
  • Like
Reactions: Scytheri0n

Mµvh773

Member
Newcomer
Joined
Apr 25, 2015
Messages
8
Trophies
0
Location
Montpellier
XP
43
Country
France
Hi, my Streetpass relay is working with the nzone.exe method but I have two problems :
  1. I noticed that I can get streetpasses every 8 hours : I think MAC adresses do not cycle. I tried running MACycle (v.2) while nzone.exe is working but it did not work. I would like to get more streetpasses.
  2. Despite I added the nzone.exe file to all exceptions in Avast!, it always deletes it when I re-enable it. I can disable Avast! each time I use the relay, but it's not secured and annoying.
Does anyone have answers to my problems ? Thanks :)
 

Bimmel

~ Game Soundtrack Collector ~
Member
Joined
Jan 28, 2014
Messages
2,302
Trophies
2
Age
43
XP
3,790
Country
Gambia, The
First, lets differentiate between a router and an adapter. A router is the box that provides your home/office with WiFi, usually with 2 or 3 aerials sticking out of it and lots of flashing lights. An adapter is built in or plugged in to your desktop/laptop. So we need to know which device you are wanting to use.

nzone.sh from duke will run on a router that has been flashed with DD-WRT/OpenWRT, custom software for routers that differs from your standard software.
nzone.exe or the VMWare image will run using a WiFi card in your desktop/laptop on Windows. In order to use the VMware method, you need to download and install VMware player, and the VMware image that duke has provided, as well as have a compatible WiFi card. That information is provided elsewhere in this thread.


This thread is far too great for procrastination ...
Okay, I'll go into more detail then.

My router is a Speedport W701V, pretty old I guess. I'm using it with a laptop through built in WLAN, no adapter or something.
There is a list in which I must put the MAC-adress of the computer If I want it to be able to recognize the hotspot.

In other words: MAC cycling is impossible for me because as soon as the MAC adress changes, my connection is lost. Is that a problem?

It sounds like I could use only nzone.exe then, since my router has not been flashed. So I must find out if my Wifi card is compatible - thank you very much! I'll see if I can find the info.

And yeah.. it seems like procrastination is not a thing you can do here. I'm surprised how regular you answer every one of us. You have my respect. ;)
 

Bimmel

~ Game Soundtrack Collector ~
Member
Joined
Jan 28, 2014
Messages
2,302
Trophies
2
Age
43
XP
3,790
Country
Gambia, The
Windows (VMware) instructions:
Warning: dedicated USB wireless adapter required
- download and install VMware Player
- download and unzip a Homepass preconfigured image (Debian Linux preinstalled)
- plug in wireless adapter
- click on the Homepass.vmx, VMware Player will start virtual machine
- in VMware Player menu select:
Player - Removable Devices - <Your wireless adapter name> - Connect (Disconnect from host)
- most probably you was not so quick to connect wireless adapter before virtual machine starts, so just hit CTRL+ALT+INSERT to reboot a virtual machine with connected wireless adapter.

Virtual machine default console is tty8 with redirected syslog for easy monitoring. For debugging press ALT+F1 and login with homepass/homepass and run:
modinfo | grep mac80211
Virtual machine is preconfigured to use BASE16,GBATEMP and all country lists. For advanced configuration refer to the Linux script version (see below)
Sorry for the double post.. but maybe someone can answer me this quick question.

Using this guide I installed the VMware player und downloaded the image. I started everything. But what now? The "adapter" (in this case my build in WLAN adapter) seems to be connected (though I don't know which one.. can't even select one? Should I start my hosted virtual network?) and everythings running fine. But I don't know what to do next. What is the SSID I can connect through with my 3DS? Or am I thinking in the wrong direction? :unsure:
 

BobbyTastic

Member
Newcomer
Joined
Dec 5, 2013
Messages
13
Trophies
0
Age
33
XP
95
Country
United States
If your 3DS's firmware version is 9.2.0 or below, you can have WPA2 (in most cases WPA2-Personal on a DD-WRT). If it's above, I recommend setting up MAC filtering. You can check your 3DS's (or 2DS's) MAC in System Settings / Internet Settings / Other Information / Confirm MAC address. Then put it into Wireless / MAC filtering on the DD-WRT router along with every wireless device's MAC you want to access the router from. Make sure permit is selected in the radio buttons, not prevent. It's not as secure as encryption, but unless there are hackers in your neighborhood, they just see that they can't connect to an unencrypted WiFi.


Thanks a lot. It's above 9.2 so I guess I'm out of luck. I'll implement filtering then, more work, but I'll deal.
 

MjnMixael

Well-Known Member
Newcomer
Joined
Apr 3, 2014
Messages
54
Trophies
0
Age
37
XP
152
Country
United States
Something seems to have stopped working for me. nzone.exe / Windows 7. I have always had the issue that since I'm using my wireless card as both internet connection and virtual wifi, that nzone often starts the virtual network too early and the wireless fails to get an internet connection. Whatever. I just disconnect and connect a few times on wireless and it eventually works.

However, two days ago, I did this, got homepass hits on both 3ds units in my household and... that was the last time it worked. If I use TMac to look at traffic on the virtual connection, I see no data received ever, indicating either that the 3ds units aren't even attempting to communicate with the relay or my computer is comhow blocking the communication (firewall is off, antivirus disabled while trying this).

Thoughts?


Yup, I noticed this too. My 3DS says Nintendo Zone is available, but it never establishes an 'internet' connection to the access point. When using nzone.exe is SSID ConsoleNintendo3DS supposed to be a protected network?
 

Scytheri0n

Well-Known Member
Newcomer
Joined
Mar 5, 2015
Messages
55
Trophies
0
Age
34
Website
github.com
XP
65
Country
Okay, I'll go into more detail then.

My router is a Speedport W701V, pretty old I guess. I'm using it with a laptop through built in WLAN, no adapter or something.
There is a list in which I must put the MAC-adress of the computer If I want it to be able to recognize the hotspot.

In other words: MAC cycling is impossible for me because as soon as the MAC adress changes, my connection is lost. Is that a problem?

It sounds like I could use only nzone.exe then, since my router has not been flashed. So I must find out if my Wifi card is compatible - thank you very much! I'll see if I can find the info.

...

Using this guide I installed the VMware player und downloaded the image. I started everything. But what now? The "adapter" (in this case my build in WLAN adapter) seems to be connected (though I don't know which one.. can't even select one? Should I start my hosted virtual network?) and everythings running fine. But I don't know what to do next. What is the SSID I can connect through with my 3DS? Or am I thinking in the wrong direction? :unsure:
If I'm understanding this correctly, you only have one connection on your laptop which is your WLAN, yes? For nzone to work, you need to have two connections, either ethernet and WLAN or WLAN and a USB adapter. You need the one to connect to your WiFi and the other to broadcast the nzone SSID. If you use MAC filtering on your router, you need to put the MAC of the interface that is connecting to it in your ACL (Access Control List). This MAC will NOT cycle. It stays static. It is the secondary MAC, the one that hosts the nzone SSID, which gets cycled. So you can have filtering on your router and not worry about losing your connection ... Theoretically. BUT ... and this is a big "BUT", from what I understand of nzone (having read some of the older posts here), it doesn't differentiate between wireless interfaces when it resets the hosted network, so it could end up using your internal WiFi to connect to the router and the adapter to host for one cycle, and then switch the two around on the next cycle.

Having said that, it's easier to do using VMware/Linux/SpillPass etc. Linux and most *nix systems associate an interface name to your interfaces. For example, ethernet will generally be `en0`, `en1`, `en2` etc.; WiFi will be `wlan0`, `wlan1`, `wlan2` etc.; FireWire (how legacy and quaint it sounds ;)) would be `fw0`, `fw1`, `fw2` etc. and so on. For this reason, you can tell `ifconfig` (the util on certain *nix systems that controls your interfaces, it stands for i(nter)f(ace)config(urator) :P) exactly which interface the cycling must be performed on. I haven't checked out the VMware image on here (purely because of lack of need) but I imagine that it also uses `ifconfig` to do the MAC changes.

With VMware, it is configured (generally) to share your internet connection from your machine instead of bridging it. What does this mean? Basically, with sharing, the VMware system talks to Windows (or whatever OS you're running it on) and tells Windows what to access on its behalf. It doesn't appear on your network as its own device; it shares the IP and MAC of your system. It's like that kid in the playground who would tease you from behind the bully but gets the bully to do all the dirty work. With bridging, the connection uses a virtual interface and bypasses your OS to talk to the router/modem/switch/hub itself. This way, it uses its own (virtual) MAC and gets its own IP so it appears on your network as a separate device.
If VMware were using a bridged connection, you would have to add the MAC of that bridge to your router's ACL, but if it uses sharing, you're fine with just having your laptop/desktop's MAC in the ACL. From a nzone perspective on the VMware image, the interface that connects to the internet is `br0` (presumably. As I said, I haven't checked it out so I could be wrong and it might be something like `bridge100`, which is the odd interface that OS X uses for internet sharing) and the interface hosting the nzone network on your WiFi adapter would presumably be `wlan0`. Nzone would then say "hey, `ifconfig` I would like to change the MAC address of `wlan0` to `AA:BB:CC:DD:EE:FF` please!" and toggle only that interface, leaving the MAC of `br0` constant so the internet connection doesn't falter and it stays associated to any routers/hubs/switches/modems it's connected to.

Hopefully everything is a little bit clearer now. :) I think I might start another thread here with Nzone FAQs, and maybe make some explanatory videos to put up on YouTube so people don't have to wade through the nearly 6000 posts on this thread! :P

Also thinking about building my own little VMware image with a modified XZone so Windows users can get in the XZone love. :D
 
  • Like
Reactions: Bimmel

Scytheri0n

Well-Known Member
Newcomer
Joined
Mar 5, 2015
Messages
55
Trophies
0
Age
34
Website
github.com
XP
65
Country
No one has answered my ADODB.Stream question.
Yup, I noticed this too. My 3DS says Nintendo Zone is available, but it never establishes an 'internet' connection to the access point. When using nzone.exe is SSID ConsoleNintendo3DS supposed to be a protected network?
nzone.exe caches some data on dukes server. I'm not sure what, I don't have access to it, but I think sometimes the caching service needs a reset on his side, and this can lead to users not getting StreetPasses for a little while (or potentially an error such as you received, lordelohim). He usually resets it when he notices, but he (like myself) is usually pretty busy with his day job and only gets to focus on hobby projects in his spare time.

lordelohim, I'm only guessing here that this could be your issue, since ADODB sounds to me like an error parsing data from a database. I could be wrong.

MjnMixael, ConsoleNintendo3DS is supposed to be a protected network, yes. The 3DS won't recognise it as a Nintendo Zone otherwise. All potential Nintendo Zones are listed in the firmware of the device itself, with a specific "SecurityMode" flag attached to each. If that flag is set to "0", the Zone is an open network, "2" is WEP security (AFAIK) and "7" is WPA-PSK. ConsoleNintendo3DS has a security flag of "7", meaning it expects a WPA secured network, the passkey for which is also hardcoded in to the 3DS firmware.

If you want to have a look at the possible networks, yellows8 has been kind enough to host a dump of this info here. (Note: you'll want to click on the corresponding "Parsed Data" link for the firmware version you're interested in.)
 
Status
Not open for further replies.

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    Sonic Angel Knight @ Sonic Angel Knight: :ninja: