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.

Scytheri0n

Well-Known Member
Newcomer
Joined
Mar 5, 2015
Messages
55
Trophies
0
Age
34
Website
github.com
XP
65
Country
Guys please can someone let us know which methods actually still work? It would be good to get a new working thread rather than everyone trying to troubleshoot their way through and failing.

I think the Windows method on 9.5 no longer works either by using nzone.exe or the method in the first post. I've had it working several times before and now it will not. Does the raspberry pi method work?


I can't speak as to the viability of the Rasp Pi with the latest firmware, although I did have a few hits on Mii Plaza celebrating SpillPass, and since it runs a version of linux, I would assume so.

I've only tried nzone.exe very briefly on Windows 10 Tech Preview (9926) and it didn't work. It might have had something to do with the tech preview but most likely I'm guessing, because it generates a network with 'ConsoleNintendo3DS' as the SSID and that's supposed to be a secured network (according to the parsed data from the latest dump), the latest firmware won't connect to it, since I presume you'd need to set your AP security to WPA-PSK and have the exact key the 3DS is expecting in order for it to connect automatically.

Can you change the bridge SSID to 'attwifi'? Or does nzone.exe keep switching it back?

I'll look into the viability of porting XZone to Windows since it's just a shell script. I know the `ifconfig` commands work in Command Prompt and Power Shell (from what I recall) so technically XZone should work in a very basic state. I'm not promising anything though.

And I agree with you, this thread needs some serious cleaning and pruning. Separate Q&A topics for each method would make more sense. But I'm not a mod so ... :P
 

GothicIII

Well-Known Member
Member
Joined
Jan 4, 2015
Messages
831
Trophies
0
Age
36
XP
2,234
Country
Gambia, The
Do you have a realtek usb adapter or is that your motherboard lan connection? If you have a realtek usb adapter, what is the chipset/driver version number as I can possibly give you a way to do it on Win7.

If either of those adapters have a Broadcom chipset, they should be supported by the Broadcom stack on Linux, I think the package is 'b43' or 'bc43', something like that. I haven't fiddled with a Linux distro in a few months so I can't remember exactly, but you should be able to find a .deb for it for Ubuntu or Debian.

Thank you for trying me to help. My information comes from this source: http://wiki.ubuntuusers.de/WLAN/Karten

My Wifi-Dongles are USB and have following information:

WNA3100 v1 USB 0846:9020 Broadcom bcm43xx WEP WPA WPA2
Translated: No N-Dualband support with Ndiswrapper. Still problematic - not recommended for linux

RTL8192CU USB (mine is) 0bda:8178 Reaktek WEP WPA WPA2
Conclusion: Should work with linux after fiddeling around with the firmware. And I think I got it to work after blacklisting the right drivers from kernel but the homepass-scripts didn't work either. They just crashed. I untared (what a silly way to hide the code...) the main nzone script to find where the problem was. If I remember correctly the dongle didn't support some kind of special functions the script needed to run. I think it's the same reason why the nzone.exe doesn't work either.

Scytheri0n You are right that package exists but it doesn't support USB-Dongles.
 

Scytheri0n

Well-Known Member
Newcomer
Joined
Mar 5, 2015
Messages
55
Trophies
0
Age
34
Website
github.com
XP
65
Country
... WNA3100 v1 USB 0846:9020 Broadcom bcm43xx WEP WPA WPA2
Translated: No N-Dualband support with Ndiswrapper. Still problematic - not recommended for linux


From what I know, the 3DS still uses b/g WiFi anyway, and having a look at the link you provided, it seems to say NdisWrapper works with the dongle on b/g but just not n. Is it possible for you to give it a try just in case and set the dongle to b/g mode? Or have you tried that already with no luck?

As for the Realtek dongle, see if you can run `ifconfig` to edit the MACs. If that's the case, you should be able to run XZone with a limited feature set (writing preferences won't work, and a few other OS X specific functions, they'll just give you errors) since it's just a Bash script. You'll need to edit it a bit first though so it uses the interface names specific to your system.

Seems silly that the Broadcom stack doesn't support USB devices, but I guess USB functions differently to PCI and that's why.
 

GothicIII

Well-Known Member
Member
Joined
Jan 4, 2015
Messages
831
Trophies
0
Age
36
XP
2,234
Country
Gambia, The
I tried it already. Living in a mixed b/g/n network environment. Its not usable with that broadcom chip. If you manage to get it to scan the network the dongle will either stuck at authentication or doesn't find any accesspoints at all. And if it works after the 21st try, the connection breaks after a few minutes. "Not recommended for linux" is a bit downplayed.

"You'll need to edit it a bit first though so it uses the interface names specific to your system." I think I did that before. I messed around with it and removed the if conditions/pointed to the right commands (I understand shell/bash scripts pretty good). It looked like it worked but it didn't. I can't tell you if I was able to change MAC or not with ifconfig. I tried it almost a half year ago I don't remember. Atm I don't have the time to configure a linux-environment and test with it again. I'm almost sure it won't work with these dongles under linux.

Its real a shame that those chipset manufacturers don't give a shit about linux support.
My wlan dongles are used in a pretty complex wlan-network on a windows server system, which manages routing, NAT, dns (for ex. blocking fw-updates),dhcp,dlna and some other nifty things here and there. It works very well since 2012. I was in a hurry to configure that system so I had no other choice than to use windows. I hadn't had the time back then to look for stable wlan dongles for linux.

Maybe I will switch to a router which is dd compatible. Do you have a recommendation for a wlan-n router which is not too expensive? smth around 50-100$ would be ok. I already sniffed the necessary phone/internet connection settings/username&pw; normally you only get those if you have a premium contract, whatever...
 

Dycedarg

Member
Newcomer
Joined
Feb 28, 2015
Messages
5
Trophies
0
Age
33
XP
78
Country
United States
If you mean this link: BEFORE ANYTHING ELSE Try this MASSIVE guides and scripts by Duke_Srg (for linux/windows/DD-WRT)

Then I'm screwed. That script that guy wrote doesn't work with my hardware. I only have WLAN n (Realtek and Belkin) adapter lying here around and they are neither supported by those scripts nor by linux (fw not available and Ndiswrapper not working).

Ugh, my problem too. I don't have spare USB adapters, no Android device lying around, no DD-WRT router, and have an Atheros chipset on my laptop (which gave me a BSOD so terrifying that I never attempted Homepass again since).
 

JRave

Well-Known Member
Member
Joined
Jun 29, 2009
Messages
104
Trophies
1
Location
United States
XP
1,082
Country
United States
RTL8192CU USB (mine is) 0bda:8178 Reaktek WEP WPA WPA2

This Info is for Windows 7 Only. I have no clue if it will work with Windows 8 and I am completely clueless on Linux. I suggest reading through everything first before you start changing anything.

Ok you might be able to do it with the Realtek USB adapter on Windows 7. First you should undo any changes you made when you attempted to get it working prior. You should get your network connections down to just your onboard connection.

Download the realtek driver+utility from the realtek website. (Utility and Driver Auto Installation Program version 1021.3.0912.2012) Install from that without having your usb adapter plugged in. There is a chance that the install hangs on installing Cisco EAP-Fast. If that happens force close the installer then use the 3 installers in the EAP folder that came with the drivers.

Once that is done you should have a realtek wifi utility running in the task bar. (Blue crab looking thing) Insert your wifi adapter then click the crab to open the utility. At this point the utility+adapter will be scanning for wifi hotspots, which is fine. Make sure there is a drop down option listed as Mode, and that you can switch to AP(Access Point) mode. If you are unable to switch it to access point mode, then sadly you won't be able to this method.

Open up your Network connections and you should only see your onboard network connection and the wifi adapter. Rename your wifi connection to "Wi-Fi". Select both and right click them and you should see the option of "Bridge Connections", select it and let windows bridge them. You'll get a new connection called Network Bridge. (If you have a static ip for your computer setup, you will have to add those settings to the network bridge.)

Go back to the realtek wifi utility and switch it to access point mode. Once it finally switches over click config and set your SSID and make sure the 2 drop downs are set to "Open System" and "Disabled". This will make the adapter work as an unprotected wifi access point.

Next we need a program to switch MAC Addresses. The program I have been using is called MACPass which was made by someone here on GBATemp. If you named your wifi network connection to something other than Wi-Fi you will have to change a setting in the config.ini file within the MACPass folder before you start.

At this point you should have your wifi adapter broadcasting thanks to the realtek wifi utility, and it should be bridged to your onboard connection allowing for internet access. You should test first by making sure your computer has internet, then checking via your 3ds after confirming your computer has access. If you have no other wifi access in your home, you can just check via the browser. If you have your 3ds already setup for your main wifi connection, you can just edit the wifi connections in your 3ds by adding 1 letter to the ssid. This will stop your 3ds from seeing your home wifi and force it use the new open wifi connection from the realtek. The realtek utility will also show when someone is connected to the adapter by listing the device's mac address. Once you know your 3ds mac address, it will make it easier to keep track of anyone else connecting to the open wifi connection.

If everything is working and you can connect to the internet via your 3ds, then it is time for you to start up MACPass. MACPass comes with some default mac addresses that will randomize when you first launch the program. You can add your own MAC's via macs.txt file but you have to keep in mind that Windows will only allow you to change MAC addresses based around "x2, x6, xA, or xE" for the first octet. In the MACPass program uncheck Virtual Miniport if it is checked, then change your delay to 70. (The extra delay is an attempt to adjust for the extra time it takes for the realtek utility to restart and begin broadcasting.) Now click start and the wifi connection and realtek utility should restart itself. I suggest having the utility open so you can keep an eye on it.

Providing everything is working correctly, your 3ds should eventually find the hotspot and begin to streetpass. If you do not notice your 3ds mac address connecting to the hotspot via the realtek utility, save/pause macpass before it automatically changes to the next MAC. If you see your 3ds connect to the hotspot, but do not get a streetpass try another MAC. I have noticed that sometimes I just do not get streetpasses from certain MAC Addresses, I do not know the reason behind it. I know that sometimes I will not get any if my plaza is full, so I will check my 3ds notifications every couple of MAC addresses to see if I am full and need to clear out.

This method requires you to babysit the programs sadly, as the realtek utility will crash sometimes and stop broadcasting. Also every so often MACPass itself will freeze and close. Very rarely will the programs look to be working, but the wifi adapter will be "disconnected" according to windows. When this happens I pause MACPass then disable/re-enable the wifi adapter until its listed as "connected". When you do not wish to use homepass, you just have to disable the wifi connection (Do Not Disable Network Bridge). Even with the wifi disabled and the adapter removed from the computer, you will still have internet access on the computer. Although windows likes to forget the network bridge settings upon reboot if you use a static ip.
 

bluebright

Well-Known Member
Member
Joined
Feb 24, 2006
Messages
643
Trophies
1
Age
34
Location
Melbourne, Australia
Website
www.portablespacemuseum.com
XP
355
Country
The most common is to use MAC Access Control Lists (which I'm certain MUST be a feature available on DD-WRT since my crappy Chinese router supports it). Just set up an ACL with only the MAC address of your (and your friends', if you want) 3DS's. You can find out what your 3DS's MAC is by navigating to Settings > Internet Settings > Other Information > Confirm MAC Address. Make sure the ACL is set to 'Allow', obviously, otherwise you'll deny your 3DS connectivity while everyone else has free reign! :P Also, make sure you add the MAC of whichever device you use to configure your router (unless you want to configure it only via your DS).

It's not perfect security, since a simple packet sniffer can find out the MACs allowed to connect and then spoof them, but the general population isn't going to know how to do that. ;)


Hey thanks I think that'll do the trick! :D
 

Befuddled

Member
Newcomer
Joined
Mar 1, 2015
Messages
14
Trophies
0
Location
Vancouver, BC
XP
87
Country
Canada
Re: nzone.exe and the latest 3DS firmware. You're incorrect, it does definitely work. It's working for me right now as I type this, actually.

The nzone.exe method can have other things cause problems (USB wireless adapters that can't cycle MAC addresses, issues with the script creator's server cache, etc.), but the 3DS firmware isn't currently an issue.
 

Soluna

Member
Newcomer
Joined
Nov 27, 2014
Messages
9
Trophies
0
XP
54
Country
United States
Re: nzone.exe and the latest 3DS firmware. You're incorrect, it does definitely work. It's working for me right now as I type this, actually.

The nzone.exe method can have other things cause problems (USB wireless adapters that can't cycle MAC addresses, issues with the script creator's server cache, etc.), but the 3DS firmware isn't currently an issue.

Mine randomly stopped working a little while back (I was on 9.5.0-23U back when it was working for me) so it isn't the firmware for sure. If it was the script creator's server cache, wouldn't it affect everyone? I have little knowledge of things like this, so I am only guessing.
 

PayJi

New Member
Newbie
Joined
Mar 20, 2015
Messages
4
Trophies
0
Age
40
XP
74
Country
France
Hello,

I have tried the Linux method but i have the following error

Code:
pj@ubuntu:~$ sudo /tmp/nzone.sh BASE256,GBATEMP[/S][/S]
[S][S]update-rc.d: warning: /etc/init.d/nzone missing LSB information[/S][/S]
[S][S]update-rc.d: see <http://wiki.debian.org/LSBInitScripts>[/S][/S]
[S][S]System start/stop links for /etc/init.d/nzone already exist.[/S][/S]
[S][S]starting nzone[/S][/S]
[S][S]net.ipv4.ip_forward = 1[/S][/S]
[S][S]Configuration file: /etc/wlan0_hostap.conf[/S][/S]
[S][S]nl80211: Could not configure driver mode[/S][/S]
[S][S]nl80211 driver initialization failed.[/S][/S]
[S][S]hostapd_free_hapd_data: Interface wlan0 wasn't started[/S][/S]
[S][S]
Does anyone can help me please ?

Edit : It's OK for me with this solution

http://askubuntu.com/questions/472794/hostapd-error-nl80211-could-not-configure-driver-mode

sorry for the inconvenience
 

MattMischief

New Member
Newbie
Joined
Mar 19, 2015
Messages
1
Trophies
0
Age
42
XP
52
Country
Gambia, The
Hello guys



So i decided to make a video tutorial:



I just wanted to thank you. After weeks of trying finally a solution that works. I could never get that Nzone thing to work allthough it changed the Macs and all. Luckily I still have my old WiFi-Connector and followed your instrutions. I'm on Windows 8.1 btw and N3DS with latest firmware and no trouble setting it up. So just: Thank you.
 
  • Like
Reactions: EvilBakura

PayJi

New Member
Newbie
Joined
Mar 20, 2015
Messages
4
Trophies
0
Age
40
XP
74
Country
France
I'm using Ubuntu 14 and the script seems to work but there no streetpass...

The streetpass icon in the top left corner is active but nothing happened. Any idea why it doesn't work please? :-/

(USB wifi dongle : Netgear WNA3100 N300)
 

lucky644

Member
Newcomer
Joined
Dec 3, 2005
Messages
24
Trophies
0
XP
271
Country
Canada
Just wanted to say, I have a 3DSXL with the latest firmware. I was able to use the nzone.exe method on a windows 7 laptop with an internal wifi adapter.

Works fine, the 3ds connects, it sees it as a nintendo zone, and it still has internet access.

The script seems to cycle through the mac's fine.

I have not however received any streetpasses, but I've only been running it for 15 minutes (on BASE16)

EDIT: I've received 3 new streetpasses (from 3 new countries)

I haven't had any luck at all running BASE 256, it seems to run maybe too quickly? Which works best?
 

DeaGrimm

Active Member
Newcomer
Joined
Mar 11, 2015
Messages
39
Trophies
0
Age
38
XP
105
Country
Brazil
Just wanted to say, I have a 3DSXL with the latest firmware. I was able to use the nzone.exe method on a windows 7 laptop with an internal wifi adapter.

Works fine, the 3ds connects, it sees it as a nintendo zone, and it still has internet access.

The script seems to cycle through the mac's fine.

I have not however received any streetpasses, but I've only been running it for 15 minutes (on BASE16)

EDIT: I've received 3 new streetpasses (from 3 new countries)



Yes, the nzone.exe is runs fine, but from time to time we just stop receiving street passes (happaned 2 week ago and is happening again right now for me).
 

lucky644

Member
Newcomer
Joined
Dec 3, 2005
Messages
24
Trophies
0
XP
271
Country
Canada
Yes, the nzone.exe is runs fine, but from time to time we just stop receiving street passes (happaned 2 week ago and is happening again right now for me).


Out of curiosity, are you running the 16 or 256 script?

Have you tried deleting the .macs file it creates and loading it again?
 

DeaGrimm

Active Member
Newcomer
Joined
Mar 11, 2015
Messages
39
Trophies
0
Age
38
XP
105
Country
Brazil
Out of curiosity, are you running the 16 or 256 script?

Have you tried deleting the .macs file it creates and loading it again?


I deleted the nzone.exe and the .macs files, re-DLed the nzone.exe, re-checked to see if the wifi minicard is able to change the macs (it is), ran it in both bases for a whole afternoon each without any other device connected to the network.
I get spot pass notifications and the nintendo zone icon flashes no street passes. I think the nzone.exe owner needs to empty the cache again.
 

JRave

Well-Known Member
Member
Joined
Jun 29, 2009
Messages
104
Trophies
1
Location
United States
XP
1,082
Country
United States
Here is what bothers me about the nzone.exe thing. Why is there any need for a cache on the creator's website? All it should be doing is changing MAC Addresses on your computer, I see no reason for it to contact a website except for maybe updating the MAC list every so often. There should be no real reason for it to contact the owner's site so often it causes cache issues, so what is it really doing?
 
  • Like
Reactions: Scytheri0n

lucky644

Member
Newcomer
Joined
Dec 3, 2005
Messages
24
Trophies
0
XP
271
Country
Canada
Well, it WAS working perfect. Haha.

I was switching from 16 to 256, and suddenly the shared connection it makes no longer shares the internet connection....It SAYS it does, but the 3ds cannot access the net any longer.
 
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.
    The Real Jdbye @ The Real Jdbye: you can fap to your favorite character without it being gay