Tutorial [HOW-TO] Have a homemade Streetpass Relay

  • Thread starter Thread starter dicamarques
  • Start date Start date
  • Views Views 2,193,994
  • Replies Replies 7,502
  • Likes Likes 27

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.
If I understand correctly, this can be done by using my phone as a portable hotspot right?
I'm working on rooting my phone now, as I read it needs to be rooted to spoof the mac address on it.
Yes, I still havent made the guide to android because it varies from device to dvice
 
  • Like
Reactions: nxwing
Well then, I have a working solution for DD-WRT to random cycle through sixteen consecutive addresses. The only disadvantage that it uses NVRAM, which is actually a part of a system flash chip, overwriting it too often will wear that flash and can render router inoperable.
There is a way to avoid this, but need to dig deep into the DD-WRT firmware. Moreover, for Broadcom-based routers there can be a simplier solution, but I only have an Atheros-based. If someone ready to run several commands to check it on Broadcom-based router, please PM. You can check which one you have at Status page of DD-WRT
 
I have tried to set this up on my OpenWRT Netgear router, but for some reason it is a lot harder to change the MAC address on it than with DD-WRT. Anyone can help me out with this? And I can't leave OpenWRT since it is my torrent client and NAS.
 
Now let's cycle through addresses.
add the following line to Administration - Management - Cron

for DD-WRT Broadrom-based routers :
Code:
0,30 1-7 * * * root WLINT=`/usr/sbin/nvram get wl0_ifname`; /sbin/ifconfig $WLINT down; /sbin/ifconfig $WLINT hw ether 40:53:50:4F:4F:4`/bin/cat /proc/interrupts | /usr/bin/md5sum | /usr/bin/cut -b 1`; ifconfig $WLINT up
for DD-WRT Atheros-based routers :
Code:
0,30 1-7 * * * root WLINT=`/usr/sbin/nvram get wl0_ifname`; /bin/kill `/bin/cat /var/run/${WLINT}_hostapd.pid`; /bin/sed -ri s!bssid=.*!bssid=40:53:50:4F:4F:4`/bin/cat /proc/interrupts | /usr/bin/md5sum | /usr/bin/cut -b 1`! /tmp/ath0_hostap.conf; /usr/sbin/hostapd -B -P /var/run/${WLINT}_hostapd.pid /tmp/${WLINT}_hostap.conf

If you still can not change MAC address by the methods above, you can try this one
This is for Atheros, but please be warned, this is slow, because it is almost equal to a complete reboot, and this can result in wearing out your router's flash so in several numerous cycles your router can be bricked, though normal flash should survive several thousands of rewrites.

0,30 1-7 * * * root /usr/sbin/nvram set def_whwaddr=40:53:50:4F:4F:4`/bin/cat /proc/interrupts | /usr/bin/md5sum | /usr/bin/cut -b 1` && /sbin/rc restart

Thanks to dapaua for quick testing!
 
Is there any solution for Atheros based routers, as that is what I have.

I'm still looking for a more convinient way for Atheros.

UPD: I was using an old DD-WRT from 2010, the new one seems to be better, maybe even the broadcom solution will work, stay in touch...
 
How do I multi quote without using copy and paste?

Yes thats it, but we are using "made up" mac's so we dont interfer with the original one (check the spreadsheet)


There doesn't seem to be a multi-quote button so when I multi-quote I just copy/paste too.

Why does it matter if we interfere with the real NZone MACs? If anything I think having a MAC that doesn't match any OUI and spells something in ASCII would be more suspicious than random hits coming from different external IP addresses for their NZones.
But I could be wrong I suppose, I'll just keep the NZone MACs that I'm grabbing today to myself for now then...
 
Ok, I got it to work with ubuntu without problems. It seems like I needed to stop and restart hostapd before running the softap again.

I'm using I script I made myself but I think it's not really different from the one on the first post.

However, before running the softap I start another terminal window and used this two lines:

sudo /etc/init.d/hostapd stop
sudo /etc/init.d/hostapd restart

I was able to get the NZone notification but won't receive internet connection, but those commands did the trick. I saw another themper having the same problems so, maybe this will help people not getting internet connection in their 3DS.
 
I think I got this set up using the basic settings for a Linksys E1000. I can access the content on the NintendoZone channel, but streetpasses are not arriving. Any ideas?
 
"signz")
# from the gbatemp forums
# couldn't get it working yet!
mac=40:53:50:4f:4f:46
#country=DE # doesn't work!
#country=US # doesn't work!
name="Provided by SignZ; couldn't make it work yet"
;;
That MAC is the first prime one, mine is 00:02:72:7D:96:0C :P
 
I see you can use a android phone to do this. So would you be able to do it with a jailbroken iphone?
 
Once again I'm having trouble.

On this part:

Code:
sudo ./soft.sh wifi_card_interface interface_with_internet

I keep hitting a "command not found" message.
 
Once again I'm having trouble.

On this part:

Code:
sudo ./soft.sh [b]wifi_card_interface[/b] [b] interface_with_internet[/b]

I keep hitting a "command not found" message.
I have a example right below that on the guide
sudo ./soft.sh wlan0 eth0 (FOR EXAMPLE!)
 
  • Like
Reactions: nxwing
Status
Not open for further replies.

Site & Scene News

Popular threads in this forum