Tutorial [HOW-TO] Have a homemade Streetpass Relay

  • Thread starter Thread starter dicamarques
  • Start date Start date
  • Views Views 2,193,988
  • 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.
Looks nice. Now if only we could do the same on windows... Hmm. Anyone good at batch scripting or something ? :X

as has been said, after WinXP MS decided that you should only be able to set your MAC to ones starting with certain hex values. Getting this to completely work on newer versions of windows is almost impossible.
Even someone good at batch scripting wouldn't be able to fix this. Our best bet is finding where the restriciton is in windows and disabling it, but seeing as there're options for linux, android, mac, and routers (linux routers :) there doesn't seem to be much motivation to try to figure out windows.
 
as has been said, after WinXP MS decided that you should only be able to set your MAC to ones starting with certain hex values. Getting this to completely work on newer versions of windows is almost impossible.
Even someone good at batch scripting wouldn't be able to fix this. Our best bet is finding where the restriciton is in windows and disabling it, but seeing as there're options for linux, android, mac, and routers (linux routers :) there doesn't seem to be much motivation to try to figure out windows.

You won't be able to take the restriction off in windows newer than 7 without rebuilding its core due to the way it handles wireless.
XP works though... but since I'm the only one doing this on XP I guess i'm on my own for this. :|
 
You won't be able to take the restriction off in windows newer than 7 without rebuilding its core due to the way it handles wireless.
XP works though... but since I'm the only one doing this on XP I guess i'm on my own for this. :|
Me and somebunny are thinking of making a live cd ready to run so its just make a vm and pop the iso there or maybe boot it diretly in to your computer.
 
XP works though... but since I'm the only one doing this on XP I guess i'm on my own for this. :|
You are not the only one, I'm doing it on XP as well (without any problem).
€dit: That is, if you mean the whole Streetpass Relay online thingie.
 
Guys, from today please all migrate to
SSID attwifi
MAC 4E:53:50:4F:4F:46 or "NSPOOF" ASCII (:40-:4F at last octet for group addresses)
I will start using this values from tonight 01:00am UTC+4

attwifi have no restrictions on some APs and 4E at the first octet have no restriction on Windows 7/Vista, so we all will have more diversity with StreetPass.

Next week I'll update script for DD-WRT and we will have a title-dependent ASCII-readable addresses for each StreetPass-compatible games.
 
I don't know if someone else have tried this Mac's, they have worked for me ;D

sudo ifconfig en1 ether 40:53:50:4F:4F:57-Working
sudo ifconfig en1 ether 40:53:50:4F:4F:58-Working
sudo ifconfig en1 ether 40:53:50:4F:4F:59-Working
sudo ifconfig en1 ether 40:53:50:4F:4F:60-Working
 
I'm giving up on linux for this. Too many headaches and homicidal urges. Where is the guide for XP? Still have a very old laptop running this, or at least it did the last time I fired that one up (plus several XP keys for the aforementioned netbooks)
 
I dug out my old WRT54G (v2.2) router and reinstalled DDWRT on it. I am able to see Nintendo Zone and connect, but I can't get any passes. I installed InSSIDer and I can see its broadcasting the right MAC address. Could my version of the WRT54G be the problem?
 
Code:
:start
 
macshift -i "ralink" 4e53504f4f46
ping 10.1.1.1 -n 1 -w 60000
 
macshift -i "ralink" 4e53504f4f47
ping 10.1.1.1 -n 1 -w 60000
 
(and a whole list of others i won't paste here atm to keep this post small)
 
pause  //pauses here, at this point you can kill it or press anything to start again.)
GOTO start

Couldn't recompile macshift to my needs nor find a different solution so I made a batch script as seen above. Is going through each of the MAC's in sequence an option that any of you would be interested? Or is it bad and I should keep my evil devices to myself?
 
I dug out my old WRT54G (v2.2) router and reinstalled DDWRT on it. I am able to see Nintendo Zone and connect, but I can't get any passes. I installed InSSIDer and I can see its broadcasting the right MAC address. Could my version of the WRT54G be the problem?
Strange there are a lot of people having problems with dd-wrt?!?
 
Since I'm a masochist, I gave it another shot.

Upon entering this:
Code:
sudo ./wifi_zone.sh

I was greeted with the following message:

Unspecified error, shutting down all support processes!

I can see the attwifi network on my phone. 3DS is not picking it up. Also, it is not picking up the Nintendo Zone. I shut off the wireless on the other 7 units.

Realized I may not have edited dnsmasq.conf

Did that, now seeing a bad option at line 121, which is
Code:
dhcp-range=10.0.0.3,10.0.0.20,12h
 
Since I'm a masochist, I gave it another shot.

Upon entering this:
Code:
sudo ./wifi_zone.sh

I was greeted with the following message:

Unspecified error, shutting down all support processes!

I can see the attwifi network on my phone. 3DS is not picking it up. Also, it is not picking up the Nintendo Zone. I shut off the wireless on the other 7 units.

Realized I may not have edited dnsmasq.conf

Did that, now seeing a bad option at line 121, which is
Code:
dhcp-range=10.0.0.3,10.0.0.20,12h
Damn i would have grabbed that hammer ages ago xD.
Well if you donwloaded my version of the script ((and didnt renamed it) it should be sudo ./wifi_zone

Bad option at line 121 that must be because you havent edited the file correctly, make sure you are at the top of the file and paste the code thats on the guide
 
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/[/COLOR][/FONT][/SIZE][FONT=arial][SIZE=13px][COLOR=#222222]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!

There is some BBCode still in the Broadcom Cron script. Can it be cleaned up? I'd do it, but I'm completely lost when it comes to unix scripts.
 
Damn i would have grabbed that hammer ages ago xD.
Well if you donwloaded my version of the script ((and didnt renamed it) it should be sudo ./wifi_zone

Bad option at line 121 that must be because you havent edited the file correctly, make sure you are at the top of the file and paste the code thats on the guide


sudo ./wifi_zone gives me a command not found error. It's in the home folder, too.

I must have had momentary dyslexia. Wrote dhcp as dchp. Anyway, new error time.

dnsmasq: failed to create listening socket for 127.0.0.1: Address already in use. Unspecified Error, shutting down all support processes.

However, it appears to be broadcasting. Nothing is connecting.
 
There is some BBCode still in the Broadcom Cron script. Can it be cleaned up? I'd do it, but I'm completely lost when it comes to unix scripts.



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
 
sudo ./wifi_zone gives me a command not found error. It's in the home folder, too.

I must have had momentary dyslexia. Wrote dhcp as dchp. Anyway, new error time.

dnsmasq: failed to create listening socket for 127.0.0.1: Address already in use. Unspecified Error, shutting down all support processes.

However, it appears to be broadcasting. Nothing is connecting.
Are you hand typing or copying and pasting?
Also try rebooting your computer, it may some times solve it
 
Are you hand typing or copying and pasting?
Also try rebooting your computer, it may some times solve it
Hand typing for the edits. I c&p-ed the scripts between computers.


And I think I restarted it like 10 times in the last few hours.

A google search suggested I add a line in dnsmasq.conf, so I did and restarted again. Now getting this error

dnsmasq: failed to bind dhcp server socket: Address already in use.

What's baffling me is that it is broadcasting the attwifi signal. It's just not connecting.
 
Status
Not open for further replies.

Site & Scene News

Popular threads in this forum