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.

Surfi

Active Member
Newcomer
Joined
Apr 3, 2007
Messages
37
Trophies
0
XP
284
Country
Hi, is it still possible to homepass with an android device? I have a Huawei G510 (Y300) with Cyanogenmod 12.1 (Lollipop 5.1) installed and I can't make Android Wifi Tether to work. Can I do something to streetpass with my phone?
Thank you
 

Pyrii

Well-Known Member
Member
Joined
Oct 13, 2007
Messages
106
Trophies
0
XP
251
Country
Hi, is it still possible to homepass with an android device? I have a Huawei G510 (Y300) with Cyanogenmod 12.1 (Lollipop 5.1) installed and I can't make Android Wifi Tether to work. Can I do something to streetpass with my phone?
Thank you
Android method requires you have a data plan as it will use your mobile internet data instead. Your mobile can't be connected to your WiFi and be a WiFi access point at the same time
 

Surfi

Active Member
Newcomer
Joined
Apr 3, 2007
Messages
37
Trophies
0
XP
284
Country
Android method requires you have a data plan as it will use your mobile internet data instead. Your mobile can't be connected to your WiFi and be a WiFi access point at the same time

Yes, I know that and I have data plan on it, but I cannot make it work...
 

Sahloknir

Well-Known Member
Newcomer
Joined
Nov 22, 2014
Messages
96
Trophies
0
Age
36
XP
144
Country
New Zealand
I get that error when I enter it through Administration > Commands.

Edit: Figured it out, I think. It didn't like taking multiple commands at once, so I broke them up and ran them one at a time.
Really? I've been having this problem and been unable to solve it for a long time. Can you tell me exactly how you broke up the commands? I don't know linux code well enough to figure it out myself.
 

m2pt5

Well-Known Member
Member
Joined
Sep 30, 2005
Messages
337
Trophies
0
Age
47
Location
GMT-5
XP
385
Country
United States
Really? I've been having this problem and been unable to solve it for a long time. Can you tell me exactly how you broke up the commands? I don't know linux code well enough to figure it out myself.
Just replace each semicolon with a line break.
 

Sahloknir

Well-Known Member
Newcomer
Joined
Nov 22, 2014
Messages
96
Trophies
0
Age
36
XP
144
Country
New Zealand
Just replace each semicolon with a line break.
Entered like this
Code:
wget -O /tmp/nzone.sh http://nintendozone.dynu.net/install
chmod +x /tmp/nzone.sh
/tmp/nzone.sh BASE16,GBATEMP

And i still get the following error
Code:
/bin/sh: eval: line 3: /tmp/nzone.sh: not found
 

m2pt5

Well-Known Member
Member
Joined
Sep 30, 2005
Messages
337
Trophies
0
Age
47
Location
GMT-5
XP
385
Country
United States
Ok, try this: Run the first line by itself, once it processes, enter ls -l /tmp/ and see if the nzone.sh is in the file listing there. If it is, look in the left column by it, which should look like -rw-r--r--. Run the second line, then if you ls -l /tmp/ again, you should get -rwxr-xr-x by it this time. At this point, you can run the third line. If it's going to work on your router, it should work at this point.

Unfortunately, this doesn't seem to work with my router, as all I get is "No wireless interfaces found" from the third line.
 

Sahloknir

Well-Known Member
Newcomer
Joined
Nov 22, 2014
Messages
96
Trophies
0
Age
36
XP
144
Country
New Zealand
Ok, try this: Run the first line by itself, once it processes, enter ls -l /tmp/ and see if the nzone.sh is in the file listing there. If it is, look in the left column by it, which should look like -rw-r--r--. Run the second line, then if you ls -l /tmp/ again, you should get -rwxr-xr-x by it this time. At this point, you can run the third line. If it's going to work on your router, it should work at this point.

Unfortunately, this doesn't seem to work with my router, as all I get is "No wireless interfaces found" from the third line.
-rw-r--r-- 1 root root 54 Jan 1 00:00 ath0_accept
-rw-r--r-- 1 root root 1082 Jan 1 00:00 ath0_hostap.conf
drwx------ 2 root root 0 Jan 1 00:00 chilli
drwx------ 2 root root 0 Jan 1 00:00 cron.d
-rw-r--r-- 1 root root 239 Jan 1 00:00 dnsmasq.conf
-rw-r--r-- 1 root root 680 Jan 5 07:09 dnsmasq.leases
drwx------ 2 root root 0 Jan 1 00:00 etc
-rw-r--r-- 1 root root 39 Jan 1 00:00 hosts
-rw-r--r-- 1 root root 181 Jan 1 00:00 igmpproxy.conf
-rw-r--r-- 1 root root 86 Jan 1 00:00 loginprompt
drwx------ 2 root root 0 Jan 1 00:00 nvram
drwxr-xr-x 3 root root 0 Jan 1 00:00 oet
-rw-r--r-- 1 root root 0 Jan 5 22:19 ping.log
-rw-r--r-- 1 root root 23 Jan 1 00:00 resolv.conf
-rw-r--r-- 1 root root 0 Jan 1 00:00 resolv.dnsmasq
drwx------ 3 root root 0 Jan 1 00:00 root
drwxr-xr-x 8 root root 0 Jan 1 00:00 var
drwx------ 2 root root 0 Jan 1 00:00 www

It doesn't seem that the right file is in there.
 

m2pt5

Well-Known Member
Member
Joined
Sep 30, 2005
Messages
337
Trophies
0
Age
47
Location
GMT-5
XP
385
Country
United States
Hm. I don't think I can help any further, you'll need to find someone who knows Linux and/or DD-WRT better.
 

Sahloknir

Well-Known Member
Newcomer
Joined
Nov 22, 2014
Messages
96
Trophies
0
Age
36
XP
144
Country
New Zealand
Hm. I don't think I can help any further, you'll need to find someone who knows Linux and/or DD-WRT better.
May have to set it up on my other router, the better one. The commands do work on it, but i've been hesitant to use that as my homepass device because it is also my primary wifi point. I've considered doing it as a Virtual LAN, but i'm not sure exactly what to change to make the code work for just the virtual LAN and its MAC, or how to apply a MAC filter to a VLAN. Is this something you would be able to help with?
 

m2pt5

Well-Known Member
Member
Joined
Sep 30, 2005
Messages
337
Trophies
0
Age
47
Location
GMT-5
XP
385
Country
United States
I don't know if it's the reason the nzone.sh isn't working, but I do have my NZ@McD1 AP set up as a virtual wireless interface with no security except MAC filtering, not bridged with my primary LAN/WLAN. (If you do that, you have to change the third octet of the base IP address the VWLAN uses, so it doesn't conflict with your regular LAN/WLAN. For instance, if your regular LAN uses 192.168.0.1 as its base IP address [you can find it in DD-WRT's Setup tab], use the same for the VWLAN with the 0 changed to a 1. [I use 10.0.0.1 for my LAN and 10.0.1.1 for my VWLAN.])
 

Sahloknir

Well-Known Member
Newcomer
Joined
Nov 22, 2014
Messages
96
Trophies
0
Age
36
XP
144
Country
New Zealand
Okay so here's where I have trouble with the VWLAN, when I go into the MAC Filter selection, i have wl0, wl1 (the VWLAN is created as an addon to this one, the main one, and only real option as the others are 5GHz) and wl2. I can't seem to set a filter list specifically for the VWLAN.

EDIT: I'm also not sure where to change the IP of the VWLAN.

EDIT 2: Also not sure how to change the MAC of the VWLAN, i only seem to get a 2 options for MAC Cloning; "Clone WAN MAC" and "Clone wireless MAC," each with only one MAC field.
 
Last edited by Sahloknir,

m2pt5

Well-Known Member
Member
Joined
Sep 30, 2005
Messages
337
Trophies
0
Age
47
Location
GMT-5
XP
385
Country
United States
First, for MAC filtering, I have two sections - ath0 (the physical WLAN) and ath0.1 (the VWLAN.)

Second, to change the IP, open advanced options on the VWLAN and then disable bridging.

Third, I also only have one MAC for both WLAN and VWLAN.
 

Sahloknir

Well-Known Member
Newcomer
Joined
Nov 22, 2014
Messages
96
Trophies
0
Age
36
XP
144
Country
New Zealand
Here's a screenshot of my settings, is anything enabled on yours that isn't enabled on mine, or vice versa?
 

Attachments

  • VWLAN settings.png
    VWLAN settings.png
    15.7 KB · Views: 177

m2pt5

Well-Known Member
Member
Joined
Sep 30, 2005
Messages
337
Trophies
0
Age
47
Location
GMT-5
XP
385
Country
United States
The only things I see different/missing shouldn't matter. Here's mine. Are you on the latest version of DD-WRT for your router?
 

Attachments

  • Clipboard01.png
    Clipboard01.png
    9.8 KB · Views: 174

Sahloknir

Well-Known Member
Newcomer
Joined
Nov 22, 2014
Messages
96
Trophies
0
Age
36
XP
144
Country
New Zealand
The only things I see different/missing shouldn't matter. Here's mine. Are you on the latest version of DD-WRT for your router?
It looks like it's on the latest. It's a Dlink-DIR890L running DD-WRT v24-sp2 (04/09/15) std - build 26653.
 

m2pt5

Well-Known Member
Member
Joined
Sep 30, 2005
Messages
337
Trophies
0
Age
47
Location
GMT-5
XP
385
Country
United States
Don't know if it would make a difference, but I dug up the latest beta for mine and installed it yesterday.

Mine's a TP-Link TL-WR841N v9 running DD-WRT v3.0-r29495 std (04/21/16).
 

Sahloknir

Well-Known Member
Newcomer
Joined
Nov 22, 2014
Messages
96
Trophies
0
Age
36
XP
144
Country
New Zealand
I found an updated version, but it doesn't seem to have added the options i'm after. I'm going to try putting a post on the DD-WRT forums, see if that gets me anywhere.
 

MichiS97

"Leftist snowflake milennial"
Member
Joined
Jun 14, 2011
Messages
1,817
Trophies
2
Age
26
Location
Munich
XP
3,609
Country
Germany
Hey guys, I'd be glad if someone could help me. I've used the VMWare Windows method about a year ago with my TL-WN822N. Yesterday, I've tried to do some Homepassing again and I just can't get it to work. I've downloaded the VMWare files again and changed the URL in etc/init.d/nzone to http://nintendozone.dyno.com? and edited the entry for my WiFi Adapter in /etc/udev/rules.d/70-persistent-net.rules to change the name from wlan1 to wlan0. However, I just don't get any streetpasses on my 3DS, my firmware is 10.7. All of my devices detect an open network called NZ@McD1 so I thought that it has to work but it just doesn't.
This is the output I get from the console:
D0oZl7K.png
 
Last edited by MichiS97,

Eilonwy05

New Member
Newbie
Joined
Dec 19, 2008
Messages
4
Trophies
1
Location
Sunny California!
Website
saphikossophia.wordpress.com
XP
218
Country
United States
Entered like this
Code:
wget -O /tmp/nzone.sh http://nintendozone.dynu.net/install
chmod +x /tmp/nzone.sh
/tmp/nzone.sh BASE16,GBATEMP

And i still get the following error
Code:
/bin/sh: eval: line 3: /tmp/nzone.sh: not found
So, the issue you're quite possibly running into (I did, too, until I finally went with a different method) is that the nzone.sh file is a self-extracting installer of a sort; only the first 3 lines are standard shell script, the rest is a gzip'd tarball which the script (in theory) extracts and processes.

Line 3 of the script, which is where your process is failing, says
Code:
tail -n+3 $0 | tar -xzC /tmp; /tmp/nzone-install/install $@; exit
so it's somewhere in one of those commands that it's choking. I'd suspect tar, but that's just a guess... a quick google search found someone having issues compressing to a .tgz with the default-included busybox (rather than extracting from) but that could be the problem. I'm not hands-on familiar with DD-WRT, since the hardware I'm using seems to work great with OpenWrt -- but I've had enough issues with various devices and their specific versions of busybox and the particular commands that were (or weren't) implemented and their quirks (sigh) to figure that's the likely culprit.

Maybe that's at least a starting point for more research?
 
Status
Not open for further replies.

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    Xdqwerty @ Xdqwerty: @The Real Jdbye, there wasnt even a conversation in place