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.

fenor

Active Member
Newcomer
Joined
Jun 29, 2007
Messages
26
Trophies
0
XP
200
Country
Italy
Also to be clear, I don't think you can receive intnernet with it while you're using it for hostapd, you'll need an ethernet cable plugged in, and either bridged or manually connected to your wlan interface (i.e.: follow http://learn.adafruit.com/setting-up-a-raspberry-pi-as-a-wifi-access-point/install-software or find one that mentions making a bridge between eth0 and wlan0... and ignore the part about replacing hostapd)
for internet i'm connected with the cable i'm not using android to do it. btw with the mobile phone when using the dongle connection i could go on the web without a problem. don't know. I will try to see if a local shop have one of these cards if i'm not wrong the script should already do a bridge between the first device and the second (wich is why $2 is always the wireless card and $3 is the real connection to the internet)
 

KaleoOmega

I just don't know what to do with myself...
Member
Joined
Apr 17, 2013
Messages
386
Trophies
0
XP
282
Country
Brazil
Anyone could try this MAC Address, just to see if generate StreetPass? From a wireless router... 00:14:78:52:F5:7E

Thanks in advance!
 

WWWild

New Member
Newbie
Joined
Apr 20, 2007
Messages
3
Trophies
0
XP
138
Country
Switzerland
Hello.
I have a NetGear WNR2000v3 with DD-WRT 03/19/12 firmware, but the script doesn't work on it.
I tried both v3.3 (with v2's Cron message) and v2 script but the Wireless MAC had never been changed.
I checked it with "ifconfig" command, the dialog responsed that the Wireless MAC was still the router's original MAC.
Now I can only use the MAC address clone to change it manually.

Is the script not working properly with a few router like my WNR2000v3?


Edit:
I also tried restoring the DD-WRT's factory default. Nothing has been solved.
I use DD-WRT's PPPoE dial-up to make an Internet connection. Does it interrupt the script's working?
 

Schaapje82

Well-Known Member
Member
Joined
Jun 9, 2007
Messages
115
Trophies
0
XP
169
Country
Netherlands
I tried this how-to for my Xperia S with android 4.1.2.
The setup works, though I had to change the device profile to something else, because it did not gave me the wifi-driver reload options when it was on auto.
My 3ds recognises the hotspot and came up with the Nintendo Zone icon (I didn't have that before because I've never been to one). So far, so good.
Now except for the creation of the Nzone, nothing happens. So what to do now?
 

Koldur

Virtual Boy Ambassador
Member
Joined
Feb 2, 2008
Messages
294
Trophies
1
XP
1,547
Country
Netherlands
Hello.
I have a NetGear WNR2000v3 with DD-WRT 03/19/12 firmware, but the script doesn't work on it.
I tried both v3.3 (with v2's Cron message) and v2 script but the Wireless MAC had never been changed.
I checked it with "ifconfig" command, the dialog responsed that the Wireless MAC was still the router's original MAC.
Now I can only use the MAC address clone to change it manually.

Is the script not working properly with a few router like my WNR2000v3?


Edit:
I also tried restoring the DD-WRT's factory default. Nothing has been solved.
I use DD-WRT's PPPoE dial-up to make an Internet connection. Does it interrupt the script's working?

It should work with DD-WRT, your router and the way you have it set up, maybe try a different version of DD-WRT? The PPPoE should have nothing to do with a simple cron script. Try a different script:

Code:
0-59/6 * * * * root ifconfig eth1 down && ifconfig eth1 hw ether 40:53:50:4F:4F:`/bin/cat /proc/interrupts | /usr/bin/md5sum | /usr/bin/cut -b 1``/bin/cat /proc/interrupts | /usr/bin/md5sum | /usr/bin/cut -b 1` && ifconfig eth1 up
3-59/6 * * * * root ifconfig eth1 down && ifconfig eth1 hw ether 4E:53:50:4F:4F:`/bin/cat /proc/interrupts | /usr/bin/md5sum | /usr/bin/cut -b 1``/bin/cat /proc/interrupts | /usr/bin/md5sum | /usr/bin/cut -b 1` && ifconfig eth1 up
 

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
Hello.
I have a NetGear WNR2000v3 with DD-WRT 03/19/12 firmware, but the script doesn't work on it.
...
Is the script not working properly with a few router like my WNR2000v3?

First, try to update to build 21061, it is available on DD-WRT site to download. It should work fine, as several AR72xx based routers were already tested

2ALL: slightly modified the CTR-based MAC on the server side (i.e. no need to update script). Now for several game titles the number of MACs returned is equal to the maximum number of streetpass data it can receive in one time. You can refer to https://docs.google.com/spreadsheet/ccc?key=0Ajsweg1Cjr5_dGhlaDNfd2Fid0ZpNTBYQ2pwVUlLT3c#gid=0 to check for which titles this feature is supported (SP Slots column). This will add more diversity to streetpasses got for the most popular games. You can report the maximum number of streetpasses for the games you have if you're feeling that you've got streetpass data from the same persons several days in a row.
 

RupeeClock

Colors 3D Snivy!
Member
Joined
May 15, 2008
Messages
6,497
Trophies
1
Age
34
Website
Visit site
XP
2,976
Country
Drat, looks like my old router doesn't support DD-WRT at all.
This is a pretty good excuse to get a new router anyway, this thing is maybe seven years old and gives up when you try to download anything over the wireless.
 

WWWild

New Member
Newbie
Joined
Apr 20, 2007
Messages
3
Trophies
0
XP
138
Country
Switzerland
First, try to update to build 21061, it is available on DD-WRT site to download. It should work fine, as several AR72xx based routers were already tested
Upgrade failed with 21061, 21286, 21676, 22118.
I found that my NetGear WNR2000v3's CPU is AR7241 rev 1.1, but DD-WRT's webpage said it's AR7240.
Maybe my WNR2000v3 is different from DD-WRT programmer's so that could be the reason which made the later firmwares incompatible to my router.

It should work with DD-WRT, your router and the way you have it set up, maybe try a different version of DD-WRT? The PPPoE should have nothing to do with a simple cron script. Try a different script:

Code:
0-59/6 * * * * root ifconfig eth1 down && ifconfig eth1 hw ether 40:53:50:4F:4F:`/bin/cat /proc/interrupts | /usr/bin/md5sum | /usr/bin/cut -b 1``/bin/cat /proc/interrupts | /usr/bin/md5sum | /usr/bin/cut -b 1` && ifconfig eth1 up
3-59/6 * * * * root ifconfig eth1 down && ifconfig eth1 hw ether 4E:53:50:4F:4F:`/bin/cat /proc/interrupts | /usr/bin/md5sum | /usr/bin/cut -b 1``/bin/cat /proc/interrupts | /usr/bin/md5sum | /usr/bin/cut -b 1` && ifconfig eth1 up

Thanks. But after applying the code in Cron, my wired LAN connection become unstable in 2 minutes.....:sad:
After cleared the code, the problem disappeared.

-------------------------------------------------------------------

I cleared all the commands and crons, retyped v3.3 script and executed it (instead of saving it startup), then left it unedited.
And now the automatic MAC changing seems to be working properly. The green LED blinked 4 times when I was replying here. Ifconfig also shows the MAC has been successfully changed.
 

WarriorKalia

Member
Newcomer
Joined
Oct 5, 2008
Messages
7
Trophies
0
XP
168
Country
United States
Sorry to bother you all, but I'm rather lost as to what I'm doing wrong. I'm on the low end of handy with computers, but routers themselves kinda stump me. That being said, I followed the instructions for setting up a connection via Windows 7... I have a connection to the network, and it is identified as a Nintendozone one, I believe. [Can't go on the internet with the 3DS but...] And yet, I have yet to receive a single Streetpass.

There's a secondary problem in using the MAC switching utilities, in that once my adapter gets reset the virtual network stops and I have to manually restart it.

Anyone have any ideas?
 

Koldur

Virtual Boy Ambassador
Member
Joined
Feb 2, 2008
Messages
294
Trophies
1
XP
1,547
Country
Netherlands
Upgrade failed with 21061, 21286, 21676, 22118.
I found that my NetGear WNR2000v3's CPU is AR7241 rev 1.1, but DD-WRT's webpage said it's AR7240.
Maybe my WNR2000v3 is different from DD-WRT programmer's so that could be the reason which made the later firmwares incompatible to my router.



Thanks. But after applying the code in Cron, my wired LAN connection become unstable in 2 minutes.....:sad:
After cleared the code, the problem disappeared.

-------------------------------------------------------------------

I cleared all the commands and crons, retyped v3.3 script and executed it (instead of saving it startup), then left it unedited.
And now the automatic MAC changing seems to be working properly. The green LED blinked 4 times when I was replying here. Ifconfig also shows the MAC has been successfully changed.


Good to hear you got it working! Weird about the instability of your wired LAN, I would think the build you are using it not completely stable, shouldn't have impact on the stability, especially not the wired LAN part! I would think you will get into other problems in the near future, but until then, keep it as it is of course! If you run in problems, try a different build.
 

justln

Well-Known Member
Member
Joined
Aug 16, 2013
Messages
718
Trophies
0
XP
604
Country
I'm really confused on whether the script is working for me or not.

I have a WRT54GL with DD-WRT set up and I can streetpass normally if I manually change the MAC Address.
I paste the script into Administration > Commands, then press Run Command, Save Startup and reboot router.

Still did not get any streetpass even after hours. Should I be doing anything else? I have Cron Enabled but no commands under Additional Cron Jobs.

I'm using Windows 7 if that helps.
 

fenor

Active Member
Newcomer
Joined
Jun 29, 2007
Messages
26
Trophies
0
XP
200
Country
Italy
as of now i changed the wlan i'm using.
i can now access the nintendo zone. how much time does it take for you to homepass someone in the main room? i'm in from 30 minute and still no streetpass
 

The Mystical One

Well-Known Member
Newcomer
Joined
Aug 13, 2013
Messages
52
Trophies
0
Age
42
XP
86
Country
United States
So after a bit of using this, I found that a) everyone cycling through the prime MACs means that the 'game-specific' ones are no longer game-specific. b) sometimes it'd be nice to just grab a specific color mii.

I would like to propose some ranges for game-specific and color-specific tags. Something like...

4E:53:50:4F:43:XX for Colors - Must have specific Mii color (change shirt, go into mii plaza to ensure it takes your color)
4E:53:50:4F:47:XX for specific games. Must have the specific game to use them.

Obviously this'd be on the honor system.

More specifically...

4E:53:50:4F:43:00-0F = Red
4E:53:50:4F:43:10-1F = Orange
4E:53:50:4F:43:20-2F = Yellow
4E:53:50:4F:43:30-3F = Light Green
4E:53:50:4F:43:40-4F = Green
4E:53:50:4F:43:50-5F = Blue
4E:53:50:4F:43:60-6F = Light Blue
4E:53:50:4F:43:70-7F = Pink
4E:53:50:4F:43:80-8F = Purple
4E:53:50:4F:43:90-9F = Brown
4E:53:50:4F:43:A0-AF = White
4E:53:50:4F:43:B0-BF = Black
4E:53:50:4F:47:00-0F = Animal Crossing New Leaf
4E:53:50:4F:47:10-1F = Shin Megami Tensei IV/Etrian Odyssey IV/SMT SoulHackers
4E:53:50:4F:47:20-2F = Fire Emblem
4E:53:50:4F:47:30-3F = Monster Hunter 3
4E:53:50:4F:47:40-4F = FF Theatrhythm
4E:53:50:4F:47:50-5F = Kid Icarus
4E:53:50:4F:47:60-6F = ???
4E:53:50:4F:47:70-7F = ???
4E:53:50:4F:47:80-8F = ???
4E:53:50:4F:47:90-9F = ???

Why 43?: 43 is hex for C in ascii (Color)
Why 47?: 47 is hex for G in ascii (Game)

This would allow people to rack up a bunch of tags for specific games or colors, as needed.
 
  • Like
Reactions: armagn12

Tane

Well-Known Member
Member
Joined
Aug 8, 2013
Messages
111
Trophies
0
Age
40
XP
177
Country
United States
So after a bit of using this, I found that a) everyone cycling through the prime MACs means that the 'game-specific' ones are no longer game-specific. b) sometimes it'd be nice to just grab a specific color mii.

I would like to propose some ranges for game-specific and color-specific tags. Something like...

4E:53:50:4F:43:XX for Colors - Must have specific Mii color (change shirt, go into mii plaza to ensure it takes your color)
4E:53:50:4F:47:XX for specific games. Must have the specific game to use them.

Obviously this'd be on the honor system.

More specifically...

4E:53:50:4F:43:00-0F = Red
4E:53:50:4F:43:10-1F = Orange
4E:53:50:4F:43:20-2F = Yellow
4E:53:50:4F:43:30-3F = Light Green
4E:53:50:4F:43:40-4F = Green
4E:53:50:4F:43:50-5F = Blue
4E:53:50:4F:43:60-6F = Light Blue
4E:53:50:4F:43:70-7F = Pink
4E:53:50:4F:43:80-8F = Purple
4E:53:50:4F:43:90-9F = Brown
4E:53:50:4F:43:A0-AF = White
4E:53:50:4F:43:B0-BF = Black
4E:53:50:4F:47:00-0F = Animal Crossing New Leaf
4E:53:50:4F:47:10-1F = Shin Megami Tensei IV/Etrian Odyssey IV/SMT SoulHackers
4E:53:50:4F:47:20-2F = Fire Emblem
4E:53:50:4F:47:30-3F = Monster Hunter 3
4E:53:50:4F:47:40-4F = FF Theatrhythm
4E:53:50:4F:47:50-5F = Kid Icarus
4E:53:50:4F:47:60-6F = ???
4E:53:50:4F:47:70-7F = ???
4E:53:50:4F:47:80-8F = ???
4E:53:50:4F:47:90-9F = ???

Why 43?: 43 is hex for C in ascii (Color)
Why 47?: 47 is hex for G in ascii (Game)

This would allow people to rack up a bunch of tags for specific games or colors, as needed.


The OP who started this thread has this same conversation with me privately before he created this thread. And I told him it is not a good idea to try and create such a list. Here's why -- it's the internet. The internet has a really really hard time following the honor system due to anonymity. If you put these Hexes out there in the wild, i.e. On my spreadsheet - people will just throw them into their MAC cyclers, and off they go. Nobody would care or pay attention to the fact that these are color MACs, or even Game Specific MACs. They will just cycle them for the streetpass data.

But lets pretend the world is perfect - and everyone would honor the system. The problem then resides with the "one-in-one-out" StreetPass on these MACs. These MAC's would never stay as "one shirt color" because someone who NEEDS a "White Shirt" would end up trading their current non-white color shirt into that address, until someone with another white shirt came along to remove that "non-white shirt". It would be hard to police and enforce.

This would end up being utterly frustrating for the person who's trying to manage this.
 
  • Like
Reactions: [Truth]
Status
Not open for further replies.

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • K3Nv2 @ K3Nv2:
    Thanks for signing up at LinusTechTips
  • QuarterCut @ QuarterCut:
    holey shmoley!
  • BigOnYa @ BigOnYa:
    Your credit card has been charged. Thank you.
  • K3Nv2 @ K3Nv2:
    Your screwdriverPlus will arrive in three weeks
    +1
  • QuarterCut @ QuarterCut:
    K64_Waddle_Dee_Artwork_1.jpg

    my reaction to such information
    +2
  • BigOnYa @ BigOnYa:
    Press 1 for English. Press 2 for Pig Latin. Or press 3 to speak to a representative.
  • BakerMan @ BakerMan:
    guys, i need help, i got into an argument about what genre radioactive is, and i forgot who made it
  • Sicklyboy @ Sicklyboy:
    @BakerMan, Imagine Dragons
  • Sicklyboy @ Sicklyboy:
    Dragon deez nuts across yo face GOTEEM
  • Sicklyboy @ Sicklyboy:
    lmao now I realize that was probably the joke in the first place
    +1
  • BakerMan @ BakerMan:
    IMAGINE DRAGON DEEZ NUTS ACROSS YO- FUCK HE BEAT ME TO IT
  • BigOnYa @ BigOnYa:
    You have selected 4 - Death by Snu Snu, please stand by...
    +1
  • BakerMan @ BakerMan:
    lucky bastard
    +1
  • Sicklyboy @ Sicklyboy:
    hahahaha I'm half way through a bag off my Volcano and my tolerance is way down because I haven't been smoking much lately, so I was a little slow to catch that that was what your angle was 🤣🤣
    +1
  • Sicklyboy @ Sicklyboy:
    Also I was just excited to know a music reference for once (I am the LAST person in the world that you want on your trivia team)
    +2
  • K3Nv2 @ K3Nv2:
    Bummer webos 7.4 isnt working with dejavuln-autoroot
  • Sicklyboy @ Sicklyboy:
    PS4 right? I think that's what mine's on. Or 5.6, maybe.
  • K3Nv2 @ K3Nv2:
    [!] Installation failed (devmode_enabled not recognized)
  • K3Nv2 @ K3Nv2:
    0.5 seemed to work whatever lol i wont bitch
  • Alysh_Graham @ Alysh_Graham:
    Hehehe
    Alysh_Graham @ Alysh_Graham: Hehehe