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.

lpchaim

Well-Known Member
Newcomer
Joined
Jan 6, 2013
Messages
75
Trophies
0
XP
189
Country
Brazil
Hey there everyone!
I just wanted to ask if the fact that intel centrino wifi chips apparently do not allow MAC changing of its hosted networks is widely acknowledged or is it a specific problem with my setup? Mine is a N 1030 if that matters, on Windows 7. I do everything I can, and yet the hosted network never changes its address beyond its default (being harddware address + 1 in the last octet), therefore it doesn't work with MACycler and similar programs.
Is there a workaround for that?
 

mtlam

New Member
Newbie
Joined
Feb 12, 2014
Messages
1
Trophies
0
Age
33
XP
51
Country
United States
I've been looking at the past few pages, and I must say that it would be FAR easier to just buy a $20 router that has compatible firmware (such as Tomato or DD-WRT) than go through all the trouble that many users seem to be having.

When I first read about HomePass, these are the steps I used:

1) pulled my old WRT54G router out of my closet (it has Tomato 1.28 installed)

2) disabled DHCP, connected it to my existing network, and set the SSID to "attwifi"

3) pasted in a crontab to change the MAC every few minutes

Within 10 minutes I had a green LED.


Hey Xenomorph, what script did you use for the mac cycling on tomato, as I'm using tomato trying to figure it out. Where would you put the script as well thanks!
 

yamfun

Active Member
Newcomer
Joined
Jan 19, 2014
Messages
27
Trophies
0
Age
38
Location
Hong Kong
XP
75
Country
Hong Kong
Still hope someone with a "internet -> normal router(dhcp) -> dd-wrt router(forwarder)" setup can teach me what do I need to config so that I can use the command:
wget -O /tmp/nzone.sh http://goo.gl/XBMJK9; chmod +x /tmp/nzone.sh; /tmp/nzone.sh

I tried some commands mentioned in page 82, and when I try nslookup duke-srg.dyndns.org even with DNS set to 8.8.8.8, it just gives me
Server: 192.168.0.2
Address 1: 192.168.0.2 DD-WRT
So I guess this is the problem, but I don't know how to fix it.
 

BadRoad

Member
Newcomer
Joined
Feb 14, 2014
Messages
7
Trophies
0
Age
42
XP
87
Country
United States
I'm having a strange problem. (edit: Was having; see below)

I have AT&T U-verse internet, with a 2wire 3600HGV modem/router. I haven't changed any settings on it.

For my homepass, I'm using a Linksys WRT54g v2.2 with dd-wrt v24-sp2 mini build 12548M. I'm using the SSID "attwifi". I couldn't get the MAC cycling script from page 10 to work, so I altered some cron commands I found on Reddit to cycle through the main 16 addresses every eight hours; this works fine. However, the Linksys can't see the internet if the cable is plugged into the WAN port; it can only see the internet through the LAN ports. Naturally, connecting the Linksys in this manner causes it to function as a rogue DHCP server. It does so even if I deactivate DHCP service on it. It does get streetpasses, but I pretty much have to unplug it if I want to reliably accomplish anything else on the internet.

I tried following this tutorial to resolve the problem, since it was the closest thing I could find to the hardware configuration I wanted. (Anywhere the tutorial says to use 192.168.1.1 I use the 2wire's actual IP instead.) The Linksys still can't see the internet through the WAN port, but at least it will forward data to devices plugged into the other LAN ports. However, now my 3DS can't connect to it, even though I'm using the same security setup.

I may try tinkering some more, but I'm wide open to advice at this point.

(edit)I did some more digging and found this guide on the official dd-wrt wiki, which explains the necessary settings for my configuration. I followed it, and everything seems to be working. Apparently, using the LAN port for this purpose was the intended function.
 

Ackis

Member
Newcomer
Joined
Aug 28, 2012
Messages
22
Trophies
0
XP
100
Country
Canada
This is for routers with DD-WRT firmware, micro build is not supported yet


I just switched my router from the WRT-54G to a WRT-160N and re-ran the scripts.

Is there an error in your nzone.sh script on line 71:

Code:
[ $VER = Ubuntu ] || [ ! -f /usr/sbin/hostapd ] && echo "ifconfig $WLINT hw ether \$MAC\nifconfig $WLINT up" >> $SCRIPT

On my install the output from that line was:

Code:
ifconfig eth2 hw ether $MAC\nifconfig eth2 up

when it should have been:
Code:
ifconfig eth2 hw ether $MAC
ifconfig eth2 up

Possibly just isolated to myself but I wanted to let you know.

Also what are the possibilities about adding logging to the script? I added a few logger statements to let me know the script is running and when the mac address changes.

Another question, is there an optimal way set the cron job up? Running every minute seems overkill.
 

Donkey-er

New Member
Newbie
Joined
Feb 19, 2014
Messages
1
Trophies
0
Age
30
XP
51
Country
Netherlands
Okey, tried this on win7 at first, couldn't really figure it out. Anyways I recently started using linux instead of windows and desided to give this another shot. Seemed to work at first, followed the steps at method 2, after some minor issues I got it to run on my laptop. my 3ds is recognising the hotspot too, but the app isn't connecting and I'm not getting streetpasses. I have the feeling that the simulated nintendo zone is working, but the internet that is supposed to be linked trough isn't. Now I don't have any experience with programming network connections so it's a bit of a guessing game for me here.

anyways, the setup I have now, is ethernet cable to my laptop, wifi dongle on the USB port. running the slightly older script from method 2 in linux (don't want the MAC cycler and don't want it to run on boot).

so if anybody knows what I'm doing wrong or where I should look, please help:)
 

Koldur

Virtual Boy Ambassador
Member
Joined
Feb 2, 2008
Messages
294
Trophies
1
XP
1,539
Country
Netherlands
It's weird, I dont seem to be getting any puzzle pieces from homepass. I get them from streetpass just fine though. Any ideas why this is?


I never heard that one before and unfortunately have no clue why this happens to you. Only thing I can think of is that your firewall or ISP is blocking the packages that carry the data of the puzzle pieces, but that seems a bit of a stretch though.
 

cloudfe

Well-Known Member
Member
Joined
Feb 24, 2013
Messages
387
Trophies
1
Age
39
XP
2,112
Country
Belgium
I'm sorry, but reading this thread one thing is not clear to me: do I risk a system update using Homepass? I ask this because I'm using a flashcart.
 

2nihon

Member
Newcomer
Joined
Jun 23, 2009
Messages
8
Trophies
0
XP
158
Country
United States
Using DD-WRT Mini on a Linksys E1200 v1. I have it set up as a wireless access point as per this document and it works great...until I run the v4 script. (It shows Mini even after I flash with Mini and then Full as per that document...no idea.)

After I run the script, none of my wireless devices can find the attwifi network. If I manually change the MAC address for the wireless interface under the MAC spoofing section, I can input a valid Streetpass MAC address and it works (Nintendo Zone shows up and I can connect).

Any idea why the script kills the wireless connection?

I tried the v2 script and it did nothing (didn't even change the MAC address).

I've done the 30-30-30 reset after every attempt with changing the script.

Edit: I think I found the solution here.
 

Snailface

My frothing demand for 3ds homebrew is increasing
Member
Joined
Sep 20, 2010
Messages
4,324
Trophies
2
Age
40
Location
Engine Room with Cyan, watching him learn.
XP
2,256
I'm sorry, but reading this thread one thing is not clear to me: do I risk a system update using Homepass? I ask this because I'm using a flashcart.
Not sure what kind of flashcart your talking about, but you need firm 6.2 or greater for homepass to work. And yes, while you're connected to the net, an update will download and nag you anyway.
 

cloudfe

Well-Known Member
Member
Joined
Feb 24, 2013
Messages
387
Trophies
1
Age
39
XP
2,112
Country
Belgium
Not sure what kind of flashcart your talking about, but you need firm 6.2 or greater for homepass to work. And yes, while you're connected to the net, an update will download and nag you anyway.


I see, that's unfortunate :(
Thank you for replying.
 

yamfun

Active Member
Newcomer
Joined
Jan 19, 2014
Messages
27
Trophies
0
Age
38
Location
Hong Kong
XP
75
Country
Hong Kong
I have figured out why I couldn't use that wget command for my setup. I was just missing two simple settings:

(Reminder: my setup:
Internet
------> Normal router (DHCP server)
------------> PCs, phones of the family
------------> DD-WRT router (cable to LAN port, same IP subset as normal router, DHCP forwarder)
------------------------> My PC on cable (Can still see PCs of the family on network)
------------------------> Phone, 3DS on WIFI)
Although the PC/phone/3ds can use internet/streetpass. The wget command would always gave me "/tmp/nzone.sh not found" so I had been manually changing the MAC.

Settings:
1:
The DNS at the DD-WRT router should not be 8.8.8.8, it should be the IP of the normal router, just like the gateway IP.

2.
My DD-WRT is using the LAN instead of WAN. Although everything else seems to know to switch to LAN, wget would just stop if it tried WAN and fail.
So I simply need to set WAN to disabled.


Now I am trying to figure out all the arguments to the cron thing, especially the frequency because my PC connects to the dd-wrt router...
 

2nihon

Member
Newcomer
Joined
Jun 23, 2009
Messages
8
Trophies
0
XP
158
Country
United States
This script wasn't working for me at all (Linksys/Cisco e1200) along with many many other scripted methods I tried, so I decided to go the cron route, which is now working perfectly for me and the StreetPasses are coming in. With duke_srg's script, the MAC change wouldn't propagate to the WAP, and I'd never get any StreetPasses.

There might be a more efficient way to script this, but oh well; it works. This will cycle through 37 MACs (primes, Nintendo, "wild" Nintendo, some game-specific) every 13 minutes, getting through (mostly) the whole list three times a day. The times are shifted to make sure you hit each MAC again outside of the 8 hour window. Set up your WAP, turn on MAC cloning for WLAN, set this up in the cron jobs under Admin, save/apply/(reboot), and you're all set.

Code:
04 00 * * * root nvram set def_whwaddr="00:0D:67:15:2D:82" sleep 3 && nvram commit sleep 5 && reboot
17 00 * * * root nvram set def_whwaddr="00:0D:67:15:D7:21" sleep 3 && nvram commit sleep 5 && reboot
30 00 * * * root nvram set def_whwaddr="00:0D:67:15:D5:44" sleep 3 && nvram commit sleep 5 && reboot
43 00 * * * root nvram set def_whwaddr="00:0D:67:15:D2:59" sleep 3 && nvram commit sleep 5 && reboot
56 00 * * * root nvram set def_whwaddr="00:0D:67:15:D6:FD" sleep 3 && nvram commit sleep 5 && reboot
09 01 * * * root nvram set def_whwaddr="00:0F:F7:00:2D:82" sleep 3 && nvram commit sleep 5 && reboot
22 01 * * * root nvram set def_whwaddr="50:3D:E5:75:50:62" sleep 3 && nvram commit sleep 5 && reboot
35 01 * * * root nvram set def_whwaddr="00:1A:A2:A2:17:23" sleep 3 && nvram commit sleep 5 && reboot
48 01 * * * root nvram set def_whwaddr="00:1F:CA:60:42:80" sleep 3 && nvram commit sleep 5 && reboot
01 02 * * * root nvram set def_whwaddr="00:22:55:C4:CC:10" sleep 3 && nvram commit sleep 5 && reboot
14 02 * * * root nvram set def_whwaddr="00:0F:8F:71:2E:A2" sleep 3 && nvram commit sleep 5 && reboot
27 02 * * * root nvram set def_whwaddr="4E:53:50:4F:4F:40" sleep 3 && nvram commit sleep 5 && reboot
40 02 * * * root nvram set def_whwaddr="4E:53:50:4F:4F:41" sleep 3 && nvram commit sleep 5 && reboot
53 02 * * * root nvram set def_whwaddr="4E:53:50:4F:4F:42" sleep 3 && nvram commit sleep 5 && reboot
06 03 * * * root nvram set def_whwaddr="4E:53:50:4F:4F:43" sleep 3 && nvram commit sleep 5 && reboot
19 03 * * * root nvram set def_whwaddr="4E:53:50:4F:4F:44" sleep 3 && nvram commit sleep 5 && reboot
32 03 * * * root nvram set def_whwaddr="4E:53:50:4F:4F:45" sleep 3 && nvram commit sleep 5 && reboot
45 03 * * * root nvram set def_whwaddr="4E:53:50:4F:4F:46" sleep 3 && nvram commit sleep 5 && reboot
58 03 * * * root nvram set def_whwaddr="4E:53:50:4F:4F:47" sleep 3 && nvram commit sleep 5 && reboot
11 04 * * * root nvram set def_whwaddr="4E:53:50:4F:4F:48" sleep 3 && nvram commit sleep 5 && reboot
24 04 * * * root nvram set def_whwaddr="4E:53:50:4F:4F:49" sleep 3 && nvram commit sleep 5 && reboot
37 04 * * * root nvram set def_whwaddr="4E:53:50:4F:4F:4A" sleep 3 && nvram commit sleep 5 && reboot
50 04 * * * root nvram set def_whwaddr="4E:53:50:4F:4F:4B" sleep 3 && nvram commit sleep 5 && reboot
03 05 * * * root nvram set def_whwaddr="4E:53:50:4F:4F:4C" sleep 3 && nvram commit sleep 5 && reboot
16 05 * * * root nvram set def_whwaddr="4E:53:50:4F:4F:4D" sleep 3 && nvram commit sleep 5 && reboot
29 05 * * * root nvram set def_whwaddr="4E:53:50:4F:4F:4E" sleep 3 && nvram commit sleep 5 && reboot
52 05 * * * root nvram set def_whwaddr="4E:53:50:4F:4F:4F" sleep 3 && nvram commit sleep 5 && reboot
05 06 * * * root nvram set def_whwaddr="4E:53:50:41:4B:44" sleep 3 && nvram commit sleep 5 && reboot
18 06 * * * root nvram set def_whwaddr="4E:53:50:41:4B:48" sleep 3 && nvram commit sleep 5 && reboot
31 06 * * * root nvram set def_whwaddr="4E:53:50:41:4D:4B" sleep 3 && nvram commit sleep 5 && reboot
44 06 * * * root nvram set def_whwaddr="4E:53:50:41:42:45" sleep 3 && nvram commit sleep 5 && reboot
57 06 * * * root nvram set def_whwaddr="4E:53:50:41:4B:4B" sleep 3 && nvram commit sleep 5 && reboot
10 07 * * * root nvram set def_whwaddr="4E:53:50:41:42:52" sleep 3 && nvram commit sleep 5 && reboot
23 07 * * * root nvram set def_whwaddr="4E:53:50:41:52:45" sleep 3 && nvram commit sleep 5 && reboot
36 07 * * * root nvram set def_whwaddr="4E:53:50:4A:44:38" sleep 3 && nvram commit sleep 5 && reboot
49 07 * * * root nvram set def_whwaddr="4E:53:50:4A:44:32" sleep 3 && nvram commit sleep 5 && reboot
02 08 * * * root nvram set def_whwaddr="4E:53:50:4A:44:52" sleep 3 && nvram commit sleep 5 && reboot
17 08 * * * root nvram set def_whwaddr="00:0D:67:15:2D:82" sleep 3 && nvram commit sleep 5 && reboot
30 08 * * * root nvram set def_whwaddr="00:0D:67:15:D7:21" sleep 3 && nvram commit sleep 5 && reboot
43 08 * * * root nvram set def_whwaddr="00:0D:67:15:D5:44" sleep 3 && nvram commit sleep 5 && reboot
56 08 * * * root nvram set def_whwaddr="00:0D:67:15:D2:59" sleep 3 && nvram commit sleep 5 && reboot
09 09 * * * root nvram set def_whwaddr="00:0D:67:15:D6:FD" sleep 3 && nvram commit sleep 5 && reboot
22 09 * * * root nvram set def_whwaddr="00:0F:F7:00:2D:82" sleep 3 && nvram commit sleep 5 && reboot
35 09 * * * root nvram set def_whwaddr="50:3D:E5:75:50:62" sleep 3 && nvram commit sleep 5 && reboot
48 09 * * * root nvram set def_whwaddr="00:1A:A2:A2:17:23" sleep 3 && nvram commit sleep 5 && reboot
01 10 * * * root nvram set def_whwaddr="00:1F:CA:60:42:80" sleep 3 && nvram commit sleep 5 && reboot
14 10 * * * root nvram set def_whwaddr="00:22:55:C4:CC:10" sleep 3 && nvram commit sleep 5 && reboot
27 10 * * * root nvram set def_whwaddr="00:0F:8F:71:2E:A2" sleep 3 && nvram commit sleep 5 && reboot
40 10 * * * root nvram set def_whwaddr="4E:53:50:4F:4F:40" sleep 3 && nvram commit sleep 5 && reboot
53 10 * * * root nvram set def_whwaddr="4E:53:50:4F:4F:41" sleep 3 && nvram commit sleep 5 && reboot
06 11 * * * root nvram set def_whwaddr="4E:53:50:4F:4F:42" sleep 3 && nvram commit sleep 5 && reboot
19 11 * * * root nvram set def_whwaddr="4E:53:50:4F:4F:43" sleep 3 && nvram commit sleep 5 && reboot
32 11 * * * root nvram set def_whwaddr="4E:53:50:4F:4F:44" sleep 3 && nvram commit sleep 5 && reboot
45 11 * * * root nvram set def_whwaddr="4E:53:50:4F:4F:45" sleep 3 && nvram commit sleep 5 && reboot
58 11 * * * root nvram set def_whwaddr="4E:53:50:4F:4F:46" sleep 3 && nvram commit sleep 5 && reboot
11 12 * * * root nvram set def_whwaddr="4E:53:50:4F:4F:47" sleep 3 && nvram commit sleep 5 && reboot
24 12 * * * root nvram set def_whwaddr="4E:53:50:4F:4F:48" sleep 3 && nvram commit sleep 5 && reboot
37 12 * * * root nvram set def_whwaddr="4E:53:50:4F:4F:49" sleep 3 && nvram commit sleep 5 && reboot
50 12 * * * root nvram set def_whwaddr="4E:53:50:4F:4F:4A" sleep 3 && nvram commit sleep 5 && reboot
03 13 * * * root nvram set def_whwaddr="4E:53:50:4F:4F:4B" sleep 3 && nvram commit sleep 5 && reboot
16 13 * * * root nvram set def_whwaddr="4E:53:50:4F:4F:4C" sleep 3 && nvram commit sleep 5 && reboot
29 13 * * * root nvram set def_whwaddr="4E:53:50:4F:4F:4D" sleep 3 && nvram commit sleep 5 && reboot
52 13 * * * root nvram set def_whwaddr="4E:53:50:4F:4F:4E" sleep 3 && nvram commit sleep 5 && reboot
05 14 * * * root nvram set def_whwaddr="4E:53:50:4F:4F:4F" sleep 3 && nvram commit sleep 5 && reboot
18 14 * * * root nvram set def_whwaddr="4E:53:50:41:4B:44" sleep 3 && nvram commit sleep 5 && reboot
31 14 * * * root nvram set def_whwaddr="4E:53:50:41:4B:48" sleep 3 && nvram commit sleep 5 && reboot
44 14 * * * root nvram set def_whwaddr="4E:53:50:41:4D:4B" sleep 3 && nvram commit sleep 5 && reboot
57 14 * * * root nvram set def_whwaddr="4E:53:50:41:42:45" sleep 3 && nvram commit sleep 5 && reboot
10 15 * * * root nvram set def_whwaddr="4E:53:50:41:4B:4B" sleep 3 && nvram commit sleep 5 && reboot
23 15 * * * root nvram set def_whwaddr="4E:53:50:41:42:52" sleep 3 && nvram commit sleep 5 && reboot
36 15 * * * root nvram set def_whwaddr="4E:53:50:41:52:45" sleep 3 && nvram commit sleep 5 && reboot
49 15 * * * root nvram set def_whwaddr="4E:53:50:4A:44:38" sleep 3 && nvram commit sleep 5 && reboot
02 16 * * * root nvram set def_whwaddr="4E:53:50:4A:44:32" sleep 3 && nvram commit sleep 5 && reboot
15 16 * * * root nvram set def_whwaddr="4E:53:50:4A:44:52" sleep 3 && nvram commit sleep 5 && reboot
30 16 * * * root nvram set def_whwaddr="00:0D:67:15:2D:82" sleep 3 && nvram commit sleep 5 && reboot
43 16 * * * root nvram set def_whwaddr="00:0D:67:15:D7:21" sleep 3 && nvram commit sleep 5 && reboot
56 16 * * * root nvram set def_whwaddr="00:0D:67:15:D5:44" sleep 3 && nvram commit sleep 5 && reboot
09 17 * * * root nvram set def_whwaddr="00:0D:67:15:D2:59" sleep 3 && nvram commit sleep 5 && reboot
22 17 * * * root nvram set def_whwaddr="00:0D:67:15:D6:FD" sleep 3 && nvram commit sleep 5 && reboot
35 17 * * * root nvram set def_whwaddr="00:0F:F7:00:2D:82" sleep 3 && nvram commit sleep 5 && reboot
48 17 * * * root nvram set def_whwaddr="50:3D:E5:75:50:62" sleep 3 && nvram commit sleep 5 && reboot
01 18 * * * root nvram set def_whwaddr="00:1A:A2:A2:17:23" sleep 3 && nvram commit sleep 5 && reboot
14 18 * * * root nvram set def_whwaddr="00:1F:CA:60:42:80" sleep 3 && nvram commit sleep 5 && reboot
27 18 * * * root nvram set def_whwaddr="00:22:55:C4:CC:10" sleep 3 && nvram commit sleep 5 && reboot
40 18 * * * root nvram set def_whwaddr="00:0F:8F:71:2E:A2" sleep 3 && nvram commit sleep 5 && reboot
53 18 * * * root nvram set def_whwaddr="4E:53:50:4F:4F:40" sleep 3 && nvram commit sleep 5 && reboot
06 19 * * * root nvram set def_whwaddr="4E:53:50:4F:4F:41" sleep 3 && nvram commit sleep 5 && reboot
19 19 * * * root nvram set def_whwaddr="4E:53:50:4F:4F:42" sleep 3 && nvram commit sleep 5 && reboot
32 19 * * * root nvram set def_whwaddr="4E:53:50:4F:4F:43" sleep 3 && nvram commit sleep 5 && reboot
45 19 * * * root nvram set def_whwaddr="4E:53:50:4F:4F:44" sleep 3 && nvram commit sleep 5 && reboot
58 19 * * * root nvram set def_whwaddr="4E:53:50:4F:4F:45" sleep 3 && nvram commit sleep 5 && reboot
11 20 * * * root nvram set def_whwaddr="4E:53:50:4F:4F:46" sleep 3 && nvram commit sleep 5 && reboot
24 20 * * * root nvram set def_whwaddr="4E:53:50:4F:4F:47" sleep 3 && nvram commit sleep 5 && reboot
37 20 * * * root nvram set def_whwaddr="4E:53:50:4F:4F:48" sleep 3 && nvram commit sleep 5 && reboot
50 20 * * * root nvram set def_whwaddr="4E:53:50:4F:4F:49" sleep 3 && nvram commit sleep 5 && reboot
03 21 * * * root nvram set def_whwaddr="4E:53:50:4F:4F:4A" sleep 3 && nvram commit sleep 5 && reboot
16 21 * * * root nvram set def_whwaddr="4E:53:50:4F:4F:4B" sleep 3 && nvram commit sleep 5 && reboot
29 21 * * * root nvram set def_whwaddr="4E:53:50:4F:4F:4C" sleep 3 && nvram commit sleep 5 && reboot
52 21 * * * root nvram set def_whwaddr="4E:53:50:4F:4F:4D" sleep 3 && nvram commit sleep 5 && reboot
05 22 * * * root nvram set def_whwaddr="4E:53:50:4F:4F:4E" sleep 3 && nvram commit sleep 5 && reboot
18 22 * * * root nvram set def_whwaddr="4E:53:50:4F:4F:4F" sleep 3 && nvram commit sleep 5 && reboot
31 22 * * * root nvram set def_whwaddr="4E:53:50:41:4B:44" sleep 3 && nvram commit sleep 5 && reboot
44 22 * * * root nvram set def_whwaddr="4E:53:50:41:4B:48" sleep 3 && nvram commit sleep 5 && reboot
57 22 * * * root nvram set def_whwaddr="4E:53:50:41:4D:4B" sleep 3 && nvram commit sleep 5 && reboot
10 23 * * * root nvram set def_whwaddr="4E:53:50:41:42:45" sleep 3 && nvram commit sleep 5 && reboot
23 23 * * * root nvram set def_whwaddr="4E:53:50:41:4B:4B" sleep 3 && nvram commit sleep 5 && reboot
36 23 * * * root nvram set def_whwaddr="4E:53:50:41:42:52" sleep 3 && nvram commit sleep 5 && reboot
49 23 * * * root nvram set def_whwaddr="4E:53:50:41:52:45" sleep 3 && nvram commit sleep 5 && reboot

Thanks for this. I'm testing it out in my E1200. Do I just paste these in there and Apply Changes? The reason I'm asking is that when I go back in to the router settings, they're not there. :/
 

xmedia

Well-Known Member
Newcomer
Joined
Oct 23, 2006
Messages
56
Trophies
0
XP
216
Country
Canada
I never heard that one before and unfortunately have no clue why this happens to you. Only thing I can think of is that your firewall or ISP is blocking the packages that carry the data of the puzzle pieces, but that seems a bit of a stretch though.

The weird part is that I still get passes like normal. Its just when I go to see if they have any puzzle pieces it shows that they have none. I have 2 3DSs on one of them I have all the blue pieces for the new puzzle but when I do the homepass with the second, not filled out puzzle it says I have none available?
 

Koldur

Virtual Boy Ambassador
Member
Joined
Feb 2, 2008
Messages
294
Trophies
1
XP
1,539
Country
Netherlands
The weird part is that I still get passes like normal. Its just when I go to see if they have any puzzle pieces it shows that they have none. I have 2 3DSs on one of them I have all the blue pieces for the new puzzle but when I do the homepass with the second, not filled out puzzle it says I have none available?


Did you try Streetpassing both 3DSs without homepass? If the result is the same then, your problem might be something else.
 

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 just switched my router from the WRT-54G to a WRT-160N and re-ran the scripts.

Is there an error in your nzone.sh script on line 71:

Code:
[ $VER = Ubuntu ] || [ ! -f /usr/sbin/hostapd ] && echo "ifconfig $WLINT hw ether \$MAC\nifconfig $WLINT up" >> $SCRIPT

On my install the output from that line was:

Code:
ifconfig eth2 hw ether $MAC\nifconfig eth2 up

when it should have been:
Code:
ifconfig eth2 hw ether $MAC
ifconfig eth2 up

Possibly just isolated to myself but I wanted to let you know.

Also what are the possibilities about adding logging to the script? I added a few logger statements to let me know the script is running and when the mac address changes.

Another question, is there an optimal way set the cron job up? Running every minute seems overkill.


Yes, it was a minor bug, I fixed it last wednesday.
You can set cron to run this script more rate, just keep in mind, that MAC change is done not every time the script is run. A time delay is calculated inside the script to change ALL macs from your list within 8 hours streetpass delay.
 

xmedia

Well-Known Member
Newcomer
Joined
Oct 23, 2006
Messages
56
Trophies
0
XP
216
Country
Canada
Did you try Streetpassing both 3DSs without homepass? If the result is the same then, your problem might be something else.

Yup regular streetpasses give me the puzzle pieces. Its the relay that says no one has any puzzle pieces.
 
Status
Not open for further replies.

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • BakerMan
    The snack that smiles back, Ballsack!
    SylverReZ @ SylverReZ: @AncientBoi