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
i don't think that the official intendo dongle allow for his mac address to be changed.

the chipset should be a Ralink RT257.

on the plus side only changing the SSID and mac address should be enought since that dongle is already in master mode and not in slave.
 

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
IMO Mac change is a feature of windows driver model. Though driver may not support this feature, it can be easily checked by just one registry key.
 

k3eleven

New Member
Newbie
Joined
Jul 30, 2014
Messages
1
Trophies
0
Age
39
XP
41
Country
United States
Upd: Ок, everyone can try the release version at http://nintendozone.no-ip.org/install
I ran the script on my router (DD-WRT v24-sp2 (08/12/10) std - build 14929) using these commands exactly like this:

wget -O /tmp/nzone.sh http://nintendozone.no-ip.org/install;
chmod +x /tmp/nzone.sh;
/tmp/nzone.sh;

But when I go to Admin/Management/Cron, there's nothing there. I've tried all combinations of rebooting the router with empty script, etc. but nothing seems to make a difference.
 

Remiscan

Active Member
Newcomer
Joined
Jul 30, 2014
Messages
35
Trophies
0
Age
30
XP
56
Country
France
Hi! I'm using MACycle on Windows 8.

I have an Intel wireless card so I thought I couldn't change the MAC. But I still tried MACycle and I checked with ipconfig and on my Android phone, and the MAC changes according to both. I can go on the Internet with the phone or the 3DS while they are connected to attwifi.

But I don't get any streetpass. I got one a some point (I got 6 Miis), but since that moment I didn't get anything else. I cycled through all the prime MACs and I get nothing :/

So, is there something I can do? If it couldn't work because of my Intel card, then it wouldn't have worked the first time and the MAC wouldn't change when I check with my phone, right?

Thaks for this guide, even if I can't get it to work :)
 

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 ran the script on my router (DD-WRT v24-sp2 (08/12/10) std - build 14929) using these commands exactly like this:
Build 14929 may be too old to run the script. However, are you running these commands in a terminal session or directly from the Web GUI? If the latter, please try using telnet/SSH client. You also can check the output of the following commands to ensure the script ran successfully:
Code:
nvram get cron_jobs

I have an Intel wireless card so I thought I couldn't change the MAC. But I still tried MACycle and I checked with ipconfig and on my Android phone, and the MAC changes according to both. I can go on the Internet with the phone or the 3DS while they are connected to attwifi

Would you be so kind to check my script with your Intel card available at http://nintendozone.no-ip.org/install. You don't need any additional software or OS settings to be made with this script, just start it from the administrator command line session with
Code:
nzone.vbs start BASE16

and check whether MAC is changing?
 

Remiscan

Active Member
Newcomer
Joined
Jul 30, 2014
Messages
35
Trophies
0
Age
30
XP
56
Country
France
Would you be so kind to check my script with your Intel card available at http://nintendozone.no-ip.org/install. You don't need any additional software or OS settings to be made with this script, just start it from the administrator command line session with
Code:
nzone.vbs start BASE16

and check whether MAC is changing?

It gives me this message: "No hosted network compatible wireless interfaces found"...
 

Remiscan

Active Member
Newcomer
Joined
Jul 30, 2014
Messages
35
Trophies
0
Age
30
XP
56
Country
France
No, it says it is supported. And the hosted network is enabled, named attwifi, and I can connect to it with any device.

EDIT: It seems to be working now, I think the 3Ds had trouble getting an IP address when it tried to connect after the MAC changed. I set a static IP and it works, not every time, but about half the time, so... yay!
 

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
No, it says it is supported. And the hosted network is enabled, named attwifi, and I can connect to it with any device.
EDIT: It seems to be working now, I think the 3Ds had trouble getting an IP address when it tried to connect after the MAC changed. I set a static IP and it works, not every time, but about half the time, so... yay!

Is it working with my script or with whatever you have used?
BTW script should create a hosted network by itself and enables ICS aswell, which ensures your 3DS will automatically get an IP. I just made a more quick workaround to detect if hostednetwork mode is supported by the wireless adapter which seemes did not work in your case. If so I just need to investigate this issue with your help if you don't mind. The benefits of using my script is that you don't need to update MAC address lists from googledocs as the script periodically updates these MACs from the server and it can be easily installed just by running it an then it starts just as your computer starts.
 

Remiscan

Active Member
Newcomer
Joined
Jul 30, 2014
Messages
35
Trophies
0
Age
30
XP
56
Country
France
Is it working with my script or with whatever you have used?
BTW script should create a hosted network by itself and enables ICS aswell, which ensures your 3DS will automatically get an IP. I just made a more quick workaround to detect if hostednetwork mode is supported by the wireless adapter which seemes did not work in your case. If so I just need to investigate this issue with your help if you don't mind. The benefits of using my script is that you don't need to update MAC address lists from googledocs as the script periodically updates these MACs from the server and it can be easily installed just by running it an then it starts just as your computer starts.


It's working with MACycle (but when I reboot my computer, I don't have internet with my ethernet connection anymore. I had to set a static IP to my computer as well to get internet back, which seems strange since it happened twice after using MACycle...).

Anyway, your script keeps telling me the same message. But I'm willing to help you :)

EDIT: well now my 3DS can't connect to the hosted network but everything is set up correctly... I think I give 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
It's working with MACycle (but when I reboot my computer, I don't have internet with my ethernet connection anymore. I had to set a static IP to my computer as well to get internet back, which seems strange since it happened twice after using MACycle...).
Anyway, your script keeps telling me the same message. But I'm willing to help you :)

Are you using the same wireless adapter to connect to the internet and to cycle MACs or MACCycle affecte your wired connection? If the latter, the most probably something just changed the MAC address for wired connection and your router/ISP DHCP just do not authenticate this new mac.
Please run in an administrator cmd shell:
wmic nic > c:\nics.txt
wmic nicconfig >> c:\nics.txt
and post the contents here or PM to me. It contain information used in my script to detect hostednetwork compatibility as well as indexes of a network interfaces to distinguish the right registry path to check and fix the custom MAC configured for interfaces.
 

Remiscan

Active Member
Newcomer
Joined
Jul 30, 2014
Messages
35
Trophies
0
Age
30
XP
56
Country
France
MACycle changed the MAC address for my wireless Intel card and the virtual hosted network card (same MAc for those two), but the MAC address of my wired connection didn't change according to ipconfig /all. My router was already configured to give a static IP to my computer, but I had to set the same static IP from my computer for my connection to work. And as I said when I edited my message just before you posted, now my 3DS can't connect to the hosted network... and I have no idea why.

Here's the nics.txt: https://mega.co.nz/#!y4xzBRqK!eaTTC1vhY1zgIkQ9sqbojQF14WuOBjfWVDs_tibFnzE
 

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
MACycle changed the MAC address for my wireless Intel card and the virtual hosted network card (same MAc for those two), but the MAC address of my wired connection didn't change according to ipconfig /all. My router was already configured to give a static IP to my computer, but I had to set the same static IP from my computer for my connection to work. And as I said when I edited my message just before you posted, now my 3DS can't connect to the hosted network... and I have no idea why.

Here's the nics.txt: https://mega.co.nz/#!y4xzBRqK!eaTTC1vhY1zgIkQ9sqbojQF14WuOBjfWVDs_tibFnzE

Seems like I've got it, my script searches by name and your system returns MS drivers in french.
Now, as soon as you gave up with MACCycle you can just uninstall it fully.
Then, I can see two adapters:
Carte virtuelle de réseau hébergé Microsoft
Carte virtuelle directe Wi-Fi Microsoft
Is the first one a hostednetwork adapter? Then what is the second one?
 

Remiscan

Active Member
Newcomer
Joined
Jul 30, 2014
Messages
35
Trophies
0
Age
30
XP
56
Country
France
The first one is the hosted network adapter. The second one... well that's a good question. In English they are:
- Microsoft Hosted Network virtual adapter
- Microsoft Virtual WiFi miniport adapter

I don't know why the second one is there or what it's used for.
 

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
Well, the second the only virtual WiFi in my PC with broadcom interface.
Have you checked by external device which address the virtual AP really have?
If you're sure it is the same as Intel's physical MAC, then you can check my updated version. It should detect your virtual AP now and it will change mac on a physical WiFi interface. But there is a possibility that to change the real AP MAC we should change mac on the virtual one. Anyway just start the script and check the mac with

netsh wlan show hostednetwork

if you do not have any android phone with wifi analyzer nearby
 

Remiscan

Active Member
Newcomer
Joined
Jul 30, 2014
Messages
35
Trophies
0
Age
30
XP
56
Country
France
I started your scirpt and checked the mac, it changed for both the physical wi-fi card and the hosted network one. It also changed for te virtual wifi miniport one, but it's slightly different (it ends with 71 instead of 70 for the two other ones).

Actually after running your script while the hosted network was running, the hosted network adapter got disabled in my device manager and I couldn't start the hosted network again. I enabled the device again and the hosted network started.

I have an android phone, but I can't check the MAC with it today (it worked yesterday): like my 3DS, it can't connect to the hosted network. My phone says "Authentication problem", and my 3DS just gives me a red cross between the console and the access point. When it did this yesterday, I just had to set a static IP to get it to work. But now that it already has a static IP, I don't know what to do...

(EDIT: woops, I can see the MAC without connecting to the network. It show the same MAC that netsh wlan show hostednetwork showed, so your script really changed it I guess)

Maybe I should try resetting the hosted network, deleting and recreating the connection on both my 3DS and my phone... But if I really have to set everything up again after trying to find out what's gone wrong every day, I don't think I'm going to be using this homemade streetpass thingy ever again x)
 

Remiscan

Active Member
Newcomer
Joined
Jul 30, 2014
Messages
35
Trophies
0
Age
30
XP
56
Country
France
I just edited my post, the MAC really changed.

Your script is doing everything in the background and I can't know what it's doing right ? (I can't see when it's disabling, enabling the device, changing the MAc, etc ?)
 

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
If you see MAC changed in WiFi analyzer then the script is rally working as it supposed and the second wifi interfase have nothing to be done with, and that's great because there was a rumors about problematic Intel drivers ;)
Yes, the script runs completely in the backround, you just will see network interface toggling off and on when MAC is changed. Script will run every minute by the scheduled task, by MAC change is rare depending on mac lists in the script run parameters. You can check Internet Connection Sharing for the internet inerface, it should be shared with the hosted network. Or jou can just setup 3DS network setting (dont forget about a password=nintendozone) and start trying try to get a streetpass.
 

Remiscan

Active Member
Newcomer
Joined
Jul 30, 2014
Messages
35
Trophies
0
Age
30
XP
56
Country
France
Your script created a nzone.macs file, which I guess is the list of MACs it's supposed to go through. I think there's a mistake in that list (one of the MACs starts with x4E instead of 4E).

I managed to connect my phone and my 3DS to the hosted network somehow.

Then I tried restarting your script, but I got an error. Then the script didn't appear in the list of scheduled tasks, and the hosted network adapter device stayed disabled. Here's a screenshot of the error: https://mega.co.nz/#!qwZzEI6D!5yKaQ7qCoc4O3LhdfZ5U7SX89j8lfUnKGA1Dj8opyu0
 
Status
Not open for further replies.

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    Xdqwerty @ Xdqwerty: and normal grapes