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.

dicamarques

Definitely not Bruce Wayne.
OP
Member
Joined
Jun 25, 2010
Messages
1,096
Trophies
1
Location
Your computer's Recycle Bin
Website
www.google.com
XP
1,933
Country
Portugal
Sorry for that ^_^
I have deleted them all (tough I wonder if it is really required if all those connections are currently off no matter what...oh well I can always set them up again)

In this case I'm ready to even bite myself and use Ubuntu...

Let's see...
Downloaded new script however now I get this two things (I wonder why...)
Code:
[root@localhost 3DSPass]# ./soft.sh wlan0 ppp0
net.ipv4.ip_forward = 1
dnsmasq: nie znaleziono żadnego procesu
last line means more or less "dnsmasq: not found any process" or something

Code:
[root@localhost 3DSPass]# ./wifi_zone.sh spoof1
SIOCSIFHWADDR: Zły argument
WARNING: The state match is obsolete. Use conntrack instead.
/tmp/tmp.KvnC9NUDIM/nztmp
Starting Nintendo Zone hotspot, using config ''Main MAC (All/Any)''
SSID: attwifi
Country: DE
First line goes as "SIOCSIFHWADDR: bad argument"
Again the Nintendo Zone is being found but no StreetPass stuff
This is fun but getting some results in the end would be nice xD
Ah one more thing
wlan0 is interface which 3DS will be connecting to
ppp0 is GSM modem thing which is connected to the internet
Pfff not sure what else to add...

You just need to delete them because the 3ds FIRST connects to your network and then to nzone if it doesnt find your router
Well it does work with gsm modems (I made one yesterday) and that might be a problem with dnsmasq. Try to install it again "sudo apt-get install dnsmasq"


I'm trying the Ubuntu version with the script. My iphone see's the hotspot, and the 3DS see's the nintendo zone. I get this error on my 3DS when I try to connect to it. 003-2105 (communication error.)
Your configuration is not letting the internet go through. It's probably a problem with dnsmasq. You might also havent made the "sudo ./soft.sh wlanX ethX" Change this according to your configuration
 

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
This is a unified script you only need to make a hompass MAC change for:
- Windows 7 and above
- Ubuntu or Debian Linux (newer Ubuntu 14 still may have a problems?)
- routers with DD-WRT firmware (not supported by Ralink-based routers, and most probably micro builds and build older than 21xxx)
- routers with ASUS WL-5xx and RT-N1x custom firmware

- routers with OpenWrt (in debug phase, testing is appreciated)

Common part:
This script is stand-alone and fully automated once started. The only thing you may wish to change is the MAC address list to cycle through. All MAC lists are stored on a server and script gets an updated data from it periodically. To choose several MAC lists to cycle through you just need to use a comma-separated enumeration as a script parameter (see instructions section), if no MAC list specified BASE 16 is used by default
For now only these lists are available:
BASE1 - the common prime "@SPOOF" address
BASE16 - the common prime 16 addresses range
BASE256 - the prime 256 addresses range
1 to 3 digit number - the Country Code for Nintendo Zone official hot spot MACs wid SSIDs. For now only available:
49 - USA​
GBATEMP - custom addresses from GBATEMP users static MAC adresses (it is updated from the google doc several times a day, )
Because of the driver limitations in Windows script will get only a few compatible MACs from the GBATEMP and Nintendo Zone lists, whereas BASEx lists are not affected. It is highly recommended to use only BASExx lists in Windows for the moment.
The script creates a scheduled task which is launched every minute, but the actual MAC change period is calculated so every MAC address in the MAC lists are randomly selected only once during 8 hours StreetPass cooldown period. For example the MAC change period for BASE16 will be 30 minutes, but for BASE256 it will be 2 minutes, so choose wisely. Anyway you're free to modify a scheduled task parameters.

Windows (VMware) instructions:
Warning: dedicated USB wireless adapter required
- download and install VMware Player
- download and unzip a Homepass preconfigured image (Debian Linux preinstalled)
- plug in wireless adapter
- click on the Homepass.vmx, VMware Player will start virtual machine
- in VMware Player menu select:
Player - Removable Devices - <Your wireless adapter name> - Connect (Disconnect from host)
- most probably you was not so quick to connect wireless adapter before virtual machine starts, so just hit CTRL+ALT+INSERT to reboot a virtual machine with connected wireless adapter.

Virtual machine default console is tty8 with redirected syslog for easy monitoring. For debugging press ALT+F1 and login with homepass/homepass and run:
modinfo | grep mac80211
Virtual machine is preconfigured to use BASE16,GBATEMP and all country lists. For advanced configuration refer to the Linux script version (see below)

Windows (native) instructions:
Warning: if you have several wireless adapters, disable all but one
- check your wireless adapter actually support MAC change, navigate to http://nintendozone.dynu.net/maccheck.cmd (If you can't download, check your browser/antivirus security) and save maccheck.cmd script to the desired location (I'll use C:\ here and further for simplification)
- open Start -> Accessories -> Command Prompt <Right-click> -> Run as administrator
- in a Command prompt window execute:
C:\maccheck.cmd
- in 2-3 minutes the script will perform a check with several wireless adapter disconnections, depending on the result you can proceed further on this instruction. In case the script reported all zeroes in a row below the wireless adapter info, your adapter can't change MAC. Anyway you may PM me the complete result, as we need more statistics to improve your possible homepass quality.
Warning: Atheros-based wireless adapters driver may end up with the BSOD while starting hosted network with changed MAC
Warning: only BASE1,BASE16,BASE256 lists can be used with Windows script version

- navigate to http://nintendozone.dynu.net/install and save nzone.exe file to the desired location
- execute downloaded nzone.exe and follow directions from the appeared dialog box
Warning: Web Browser service is not accessible with this Nintendo Zone access point
- wait for the Homepass
Warning: if you have several wireless adapters, disable all but one
- check your wireless adapter actually support MAC change, navigate to http://nintendozone.dynu.net/maccheck.cmd (If you can't download, check your browser/antivirus security) and save maccheck.cmd script to the desired location (I'll use C:\ here and further for simplification)
- open Start -> Accessories -> Command Prompt <Right-click> -> Run as administrator
- in a Command prompt window execute:
C:\maccheck.cmd
- in 2-3 minutes the script will perform a check with several wireless adapter disconnections, depending on the result you can proceed further on this instruction. In case the script reported all zeroes in a row below the wireless adapter info, your adapter can't change MAC. Anyway you may PM me the complete result, as we need more statistics to improve your possible homepass quality.
Warning: Atheros-based wireless adapters driver may end up with the BSOD while starting hosted network with changed MAC
Warning: only BASE1,BASE16,BASE256 lists can be used with Windows script version

- navigate to http://nintendozone.dynu.net/install and save nzone.exe file to the desired location (you can use a direct link http://nintendozone.dynu.net/nzone.exe to get the file in case your OS version not detected properly)
- open Start -> Accessories -> Command Prompt <Right-click> -> Run as administrator
- in a Command prompt window execute:
C:\nzone.exe start BASE256
Warning: Web Browser service is not accessible with this Nintendo Zone access point
- wait for the Homepass
Warning: only BASE1,BASE16,BASE256 lists can be used with Windows script version
- navigate to http://nintendozone.dynu.net/nzone.vbs and save nzone.vbs script to the desired location
- open Start -> Accessories -> Command Prompt <Right-click> -> Run as administrator
- in a Command prompt window execute:
C:\nzone.vbs start BASE256
- in your 3DS connection settings find a new access points with SSID "NZ@McD1" and register it with the password "nintendozone" (access point test must succeed, Internet access test may fail)
Warning: eShop and Web Browser services are not accessible with SSID "NZ@McD1"
- check the Internet access by launching Nintendo Zone application, it must load Nintendo Zone web page (as for now it is the Pokemon ORAS demo download page with error in German)
- wait for the Homepass
The scheduled task will restore the AP after reboot or wakeup from sleep/hibernate, so you only need to do all of the above just once.

Linux instructions:

Warning: for 3DS firmware version 11.1.0+ set SSID to attwifi and stay away of using BASE1,BASE16,BASE256 - you won't able to get streetpasses from Windows users anymore!
- for BASE1,BASE16,BASE256,GBATEMP lists SSID must be changed manually to NZ@McD1
- for 3DS firmware version 9.0.0-9.2.0 only BASE1,BASE16,BASE256,GBATEMP,78 lists can be used if wireless security is enabled
- for 3DS firmware version 9.3.0+ wireless security must be disabled
- open a Telnet/SSH client, login and change to system user with
su (for Debian)
or
sudo su (for Ubuntu)
- execute
wget -O /tmp/nzone.sh http://nintendozone.dynu.net/install; chmod +x /tmp/nzone.sh; /tmp/nzone.sh BASE16,GBATEMP

- exit system user with
exit
- wait for the Homepass

You can start/stop the AP respectively by command
sudo /usr/local/sbin/nzone start
or
sudo /usr/local/sbin/nzone stop
MAC lists can be altered by crontab, as well as a MAC change time period.

Router instructions:
Warning: for 3DS firmware version 11.1.0+ set SSID to attwifi and stay away of using BASE1,BASE16,BASE256 - you won't able to get streetpasses from Windows users anymore!
- for BASE1,BASE16,BASE256,GBATEMP lists SSID must be changed manually to NZ@McD1
- for 3DS firmware version 9.0.0-9.2.0 only BASE1,BASE16,BASE256,GBATEMP,78 lists can be used if wireless security is enabled
- for 3DS firmware version 9.3.0+ wireless security must be disabled
- open a Telnet/SSH client and execute
wget -O /tmp/nzone.sh http://nintendozone.dynu.net/install; chmod +x /tmp/nzone.sh; /tmp/nzone.sh BASE16,GBATEMP
(alternatively you can do this in a DD-WRT WEB GUI Administration - Commands or WL500G WEB GUI Setup - System Command)
- wait for the Homepass

If your WRT router have a WPS/SES/EZ-Setup button it will toggle cron job on and off every button press, this is also helpful if cron daemon falls asleep on several DD-WRT builds.

MAC lists can be altered by crontab, as well as a MAC change time period (alternatively you can use the DD-WRT WEB GUI at Administration - Management - Cron)

You can also start/stop the AP respectively by command
/tmp/nzone start
or
/tmp/nzone stop
(/usr/local/sbin/nzone for WL500G, /usr/sbin/nzone for OpenWrt)
the latter will also revert access point MAC and SSID to the selected in the WEB GUI settings.



18 - Canada
77 - France
78 - Germany
94 - Netherlands
3 character game CTR code - to have a desired game title streetpass data. See example below or use my compilation of StreetPass CTR codes. Use only CTR codes for the games you have enabled streetpass!
StarWars III have a CRT code "ALG", it is displayed on a sticker in the middle of a character string below, and printed at the beggining of the string at the back of a gamecard:
Gamecard.jpg
Insert script in Administration - Commands
Code:
echo -e "#!/bin/sh\nMACS=/tmp/nzone.macs\n[ -f \$MACS ] || wget -q -O \$MACS \"http://nintendozone.dynu.net?\$1\"\nMACNUM=\$(cat \$MACS | wc -l)\n[ \$MACNUM != 0 ] || exit\nRANDOM=\$(head /dev/urandom | hexdump -d | head -n 1 | cut -c 11-15)\nMACNUM=\$((\$RANDOM%\${MACNUM}+1))\nMAC=\$(head -n \$MACNUM \$MACS | tail -n 1)\nWLINT=\$(nvram get wl0_ifname)\nAPDCNF=/tmp/\${WLINT}_hostap.conf\nAPDPID=/var/run/\${WLINT}_hostapd.pid\nif [ -e \$APDCNF ]; then\nkill \$(cat \$APDPID)\nsleep 3\nsed -ri s/bssid=.*/bssid=\$MAC/ \$APDCNF\nhostapd -B -P \$APDPID \$APDCNF\nelse\nifconfig \$WLINT down\nifconfig \$WLINT hw ether \$MAC\nifconfig \$WLINT up\nfi" >/tmp/nzone; chmod 555 /tmp/nzone
hit Save Startup
Code:
#!/bin/sh
MACS=/tmp/nzone.macs
[ -f $MACS ] || wget -q -O $MACS "http://duke-srg.dyndns.org/3ds/nzone?$1"
MACNUM=$(cat $MACS | wc -l)
[ $MACNUM != 0 ] || exit
RANDOM=$(head /dev/urandom | hexdump -d | head -n 1 | cut -c 11-15)
MACNUM=$(($RANDOM%${MACNUM}+1))
MAC=$(head -n $MACNUM $MACS | tail -n 1)
WLINT=$(nvram get wl0_ifname)
APDCNF=/tmp/${WLINT}_hostap.conf
APDPID=/var/run/${WLINT}_hostapd.pid
if [ -e $APDCNF ]; then
kill $(cat $APDPID)
sleep 3
sed -ri s/bssid=.*/bssid=$MAC/ $APDCNF
hostapd -B -P $APDPID $APDCNF
else
ifconfig $WLINT down
ifconfig $WLINT hw ether $MAC
ifconfig $WLINT up
fi
In Administration - Management - Cron insert:
Code:
*/15 * * * * root /tmp/nzone 49,BASE16
[/COLOR]
and change script parameter. The script parameter (in example above is 49,BASE16) is a comma-separated address-list identifiers. This script will connect to my server and get your selected lists. For now only these lists are available:
BASE1 - the common prime "@SPOOF" address
BASE16 - the common prime 16 addresses range
BASE256 - the prime 256 addresses range
1 to 3 digit number - the Country Code for Nintendo Zone official hot spot MACS. For now only "49" for USA is available.
3 character game CTR code - to have a desired game title streetpass data. See example below or use my compilation of StreetPass CTR codes. Use only CTR codes for the games you have enabled streetpass!
GBATEMP - custom addresses from GBATEMP users static MAC adresses.
hit Apply Settings. Now your router will change to a random MAC from a selected list every 10 minutes starting from 1:00 to 7:50
Code:
#!/bin/sh
TITLES="OO@OOAOOBOOCOODOOEOOFOOGOOHOOIOOJOOKOOLOOMOONOOO"
BASE="NSP"
RANDOM=$(head /dev/urandom | hexdump -d | head -n 1 | cut -c 11-15)
CTR=$(($RANDOM%$(($(expr length $TITLES)/3))))
MAC=$(echo -e $BASE$TITLES | cut -c 1-3,$(($CTR*3+4))-$(($CTR*3+6)) | hexdump -e '6/1 "%02X:"' | cut -c 1-17)
WLINT=$(nvram get wl0_ifname)
APDCNF=/tmp/${WLINT}_hostap.conf
APDPID=/var/run/${WLINT}_hostapd.pid
if [ -e $APDCNF ]; then
kill $(cat $APDPID)
sleep 3
sed -ri s/bssid=.*/bssid=$MAC/ $APDCNF
hostapd -B -P $APDPID $APDCNF
else
ifconfig $WLINT down
ifconfig $WLINT hw ether $MAC
ifconfig $WLINT up
fi
Code:
*/10 1-7 * * * root /tmp/nzone
16.09.2016 new nzone.exe version with fw 11.1 compatible SSID used and Windows 8.1/10 compatibility issues fixed
15.09.2016 removed obsolete country codes for fw 11.1 update
24.04.2014 4.0 script is the main now. Stability fixes and more
05.09.2013 v3.4 beta with Ubuntu support, SES/WPS buton cron job toggle and stability fixes for DD-WRT
27.08.2013 compatibility with old DD-WRT builds improved
23.08.2013 v.3. script updated - compatibility with WL500G custom firmware checked and fixed
22.08.2013 v.3. script updated, MAC time change bug fixed
20.08.2013 v3.1 script is the main now
16.08.2013 v2 script is the main one
15.08.2013 (edit 2) Fixed probable arithmetic error bug
15.08.2013 improved compatibility with DD-WRT mini builds
14.08.2013 added sleep to wait hostapd stop, greatly reduce time to stop-start AP on Atheros routers
Q: Why do we need a title-specific MACS? I feel comfortable with common 16 MACS
A: There are over 130 StreetPass-enabled games now. If you're using less common games, you may pass hundreds of streetpasses to get a StreetPass data for them. The dedicated MAC for a title will guarantee you will get data for that title, as soon as somebody else is using it.

Q: Why not to use a siple cycle through all common MACs
A: In case it is not randomized, you have a big probability to get a StreetPass data from the same partner several times in a row

Q: Can a change MAC more often to get more streetpasses?
A: Since you can only get one StreetPass from a unique MAC per 8 hours, switching MAC too often will at least do nothing for you and at worst spam all used MACs with your data. I suggest you shold change MAC not more than (Number_of_MACS / 8)*2 times per hour

Q: Your script is not working as it should
A1: You should not check for a MAC change at the DD-WRT interface, here only the permanent MAC used at the router startup is displayed. You can check your mac have changed like this
Code:
ifconfig $(nvram get wl0_ifname)
A2: You should check DNS settings of your router. In case your router is in a Wireless Gateway mode, DNS settings may not be configured as it is not needed for the router in that mode, but DNS is still needed for the script to work properly.
A3: If you have a DD-WRT micro build, it is not supported, at least yet. If you have big/mega you should try mini build, it might work instead.
A4: If you're running your router in Access Point mode, you must have a properly configured DNS and Default gateway settings.
A5: You should try to manually run script
Code:
/tmp/nzone
If MAC is not changed please PM me the output, if any.
If MAC is changed, try to restart cron daemon
Code:
stopservice cron; startservice cron
as it seems to be a bug with cron deamon goes to sleep and prevent running scheduled jobs at several DD-WRT builds
A5: Though this script was tested on DD-WRT v24 preSP2 (Build 21061) and WL500gP (1.9.2.7-d-r2624), it may not run properly on your device because of the DD-WRT build differences for a variety of hardware. If this is the case, please make sure you have the latest DD-WRT available for your router and PM me output for this commands
Code:
cat /proc/cpuinfo
nvram get wl0_ifname
ifconfig
iwconfig
ps
- support multi-ssid configuration
- check script with Realtek-baset routers
- DD-WRT micro support
 
Last edited by duke_srg,

Geomancer

New Member
Newbie
Joined
Aug 12, 2013
Messages
3
Trophies
0
Age
37
XP
54
Country
Argentina
Mind sharing how to do this without virtual router? My driver details shows it's supported... Thank you in advance!


I did the following, I hope to not miss any step:

netsh wlan set hostednetwork mode=allow ssid=attwifi key=12345678

changed the mac address of my only wifi card with: http://www.technitium.com/tmac/index.html, this is the same adapter I use to connect to my router/internet. The address I set was the Prime Mac, but starting with a 3, 3E:53:50:4F:4F:46, this makes the virtual access point created by windows to get the correct prime mac 4E:53:50:4F:4F:46, then I did:

netsh wlan start hostednetwork

and got a StreetPass.. you have to configure the connection in the 3DS settings, because the security is not OPEN, and this won't connect to Nintendo Zone, but StreetPass works as a charm.

If you want to get another StreetPass, you only disconnect:

netsh wlan stop hostednetwork

change the last digit of the mac of your physical wifi adapter, and connect again. If you want to streamline this proccess, and not use a command line, there is a software called Virtual Router Manager which I suppose does the same thing but with a really nice gui.

If you have any problem with this steps tell me and I will try to help you, I hit a couple of bumps in the road but nothing difficult.
 
  • Like
Reactions: Sev501

iSubaru

Kitsune
Member
Joined
Apr 14, 2009
Messages
387
Trophies
1
Location
Gensokyo
Website
clash-of-gods.netau.net
XP
362
Country
Poland
You just need to delete them because the 3ds FIRST connects to your network and then to nzone if it doesnt find your router
Well it does work with gsm modems (I made one yesterday) and that might be a problem with dnsmasq. Try to install it again "sudo apt-get install dnsmasq"
Oh~ <suspense>
I have them deleted for now, as said it's not a problem to set them up when it will be necessary (tough if I understand texts correctly, 3DS can go into internet mode through that Nintendo Zone, so I don't have to set stuff up for now)
BTW I'm using Fedora so no "sudo apt-get" stuff :P I have "Yum install" stuff (tough sudo/su part is essentially the same)

iSubaru i found out what SIOCSIFHWADDR: Zły argument is. It means the script cant change the mac of your wlan card. (appened the same to me while recording a how to video) And it probably your card cant really change the mac must be a limitations of the driver
Yeah found that too but it goes far longer than that :P
- I could not change Mac adress with ifconfig commands to main Mac from the list (Linux)
- I could change Mac adress with ifconfig commands to slightly diffrent adress from original (last octet by one number) (Linux)
- I could change Mac adress with macshift program mentioned by elridge (thank You!) (Windows 7)
My question now is, does macshift changes Mac adress permanently? (or at least for long enough so I can switch to Linux and continue from there because Virtual Router Manager crashes =_= sigh...Windows...)
 

Dragoon709

Well-Known Member
Member
Joined
May 24, 2008
Messages
196
Trophies
0
Age
47
Location
Anywhere there are games
Website
Visit site
XP
302
Country
Canada
This is really starting to piss me off. I've tried several different configurations and programs in Windows7 and nothing is working. My girlfriends laptop has a wired and wireless connection and I enabled the Microsoft Virtual wireless adapter thing, but as soon as I change/spoof the MAC on her wireless connection the MS virtual wireless adapter disappears and I cannot do anything with it. It's starting to drive me insane..... please help to save my sanity.
 

RedHero

Well-Known Member
Member
Joined
Dec 27, 2008
Messages
208
Trophies
0
XP
239
Country
Netherlands
Hi there!

Since there there is still no tutorial for setting up the Street Pass Relay on Windows 7, and i just recently managed to do it (with a lot of help from the info already posted on the thread), here is a quick explanation. I already sent this to the OP so he can put it on the first posts and complete the [HOW TO]. Feel free to delete this post when you do it, for clearness sake.



Street Pass Relay on Windows 7:

Requirements:
A wired connection
A Wifi card (i tested this on an old 1390 WLAN card, so i guess most should work).
Mac Shift
Virtual Router Manager
Connect your computer through your wired connection and disconnect from any wireless one.

The Setup:

Just install Virtual Router, unzip Mac Shift on an accesible folder (or just the root of your C: drive) and run the following from a command line with administrator privileges (Type "cmd" without quotes on the search box of your start menu, when the "cmd.exe" file appears, just shift-click it and select "Run as Administrator"):

Code:
netsh wlan set hostednetwork mode=allow
This will set up a Virtual Wifi Miniport on your network connections.

Then, still on command line, go to the folder where you unzipped Mac Shift (If you unzipped it on C:\, you may want to type "Cd \" without quotes) and type:
Code:
macshift -i "YOUR WIFI CONNECTION NAME"* macaddress**
*Your wifi name should be the name of your Wireless Network Adapter typed just as it appears on your "Network Connections" folder, for example, for me it was "Wireless Network Connection". Please take in mind that this should be your Wireless Network adapter name, and NOT the one of your just-created "virtual network", nor the name of your wired adapter.
** Mac Address should be typed without ":", for example, 4E53504F4F46
So, this line should look something like:
Code:
macshift -i "Wireless Network Connection" 4E53504F4F46

Run Virtual Router Manager.
Complete the network name (Should be "attwifi")
Put any password you like (remember to set up your connection on your 3DS later!).
As "shared connection", select your Wired Adapter.
Click on "Start Virtual Router", wait a few seconds, and you should get your street pass!

To cycle between MACs:
Just don't close your command line window!
Press the UP arrow to bring back your last typed command, and change the last numbers of the mac address. This will restart your network connections (I stopped the Virtual Router every time before changing my MAC and restarted ir after doing so, but i don't believe this is necessary).


Remember that, when you stop the Virtual Router, you should stop seeing the "attwifi" network, so no problem from neighbors stealing your internet (which was secured anyway). If you want to remove the Virtual Wifi Miniport, just type the following in an administrator privileged command line:

Code:
netsh wlan set hostednetwork mode=disallow

And, to return your Wifi Adapter to it's original MAC address:

Code:
macshift -i "Wireless Network Connection" -r


Enjoy!

(I hope i didn't miss anything! Please post your feedback!)


I followed your instructions (using Windows 8 instead) and I think I didn't encounter any problems. The 3DS was able to connect to the network just fine and confirm that there's an internet connection through that network. It won't connect to Nintendo Zone properly though. The Nintendo Zone does light up, but it says it cannot connect to it. Also restarted the 3DS after that and put it into sleep mode. Haven't gotten a Streetpass yet, and I'm using the most-used MAC (4E:53:50:4F:4F:46).

*some time later*

Been fooling around a bit. Once the 3DS wouldnt connect to the virtual router anymore. Had erased it from the 3DS after that and tried again. Now works fine. Same as before though, still doesn't connect to the Nintendo Zone network. It's pretty much always connected to the laptop's network as long as it's open. When it closes it connects to it every now and then (I guess that's just how the 3DS works), usually doesn't take long if I do it right after startup.

When I try to connect to Nintendo Zone, it loses the connection entirely. The Nintendo Zone icon still lights up regularly, but for the rest it just seems to treat it like a regular connection instead of a Nintendo Zone.

Any ideas on what I can do to fix this?

EDIT: And yes, I'm connected with an ethernet cable (Laptop --> Router). The wireless connection is turned off. It would probably work perfectly if there was some virtual router manager that has the option of not using a password, but google searches aren't exactly positive.

EDIT2: Seems that the connection is very unstable/irregular. Without changing any settings, it can sometimes take quite a few attempts before my 3DS connects to both the access point and the internet. Sometimes it only connects to the access point and it says no interwebs, but I have interwebs on my laptop just fine.
 

dicamarques

Definitely not Bruce Wayne.
OP
Member
Joined
Jun 25, 2010
Messages
1,096
Trophies
1
Location
Your computer's Recycle Bin
Website
www.google.com
XP
1,933
Country
Portugal
Oh~ <suspense>
I have them deleted for now, as said it's not a problem to set them up when it will be necessary (tough if I understand texts correctly, 3DS can go into internet mode through that Nintendo Zone, so I don't have to set stuff up for now)
BTW I'm using Fedora so no "sudo apt-get" stuff :P I have "Yum install" stuff (tough sudo/su part is essentially the same)


Yeah found that too but it goes far longer than that :P
- I could not change Mac adress with ifconfig commands to main Mac from the list (Linux)
- I could change Mac adress with ifconfig commands to slightly diffrent adress from original (last octet by one number) (Linux)
- I could change Mac adress with macshift program mentioned by elridge (thank You!) (Windows 7)
My question now is, does macshift changes Mac adress permanently? (or at least for long enough so I can switch to Linux and continue from there because Virtual Router Manager crashes =_= sigh...Windows...)

It's temporary. But do the hostapd part and (change the ssid to attwifi) but before do the ifconfig to a mac from the list. And you should see the your green light in no time.
 

Rynelan

Member
Newcomer
Joined
Aug 9, 2013
Messages
6
Trophies
0
Age
36
Location
Den Helder, Netherlands
XP
42
Country
Netherlands
Got a PM from Rynelan on Reddit saying he's got this to work with Windows 8 (assuming using elridge's instructions). He's reporting when he sets a MAC the final Octet is always 1 higher.

"Since the last update and some info on gbatemp I finally got it working.
What I noticed is the following.
If I change my MAC address with macshift. If I enter 4E50534F4F46 my MAC will end with 47.. If I end with 47 it will be 48 and so on
I don't know if its only me but this might be important for people to know to be sure the MAC addresses will be used the correct way for the street passes you want.
Hopefully I help you with this info!"

Hey anyone else noticed this? Could it just be a Windows 8 thing?

Rynelan here!

I tried several things, all came up with the same thing, if I want to use a certain MAC address I need to do -1 on the address :P
Only problem I have with that is that I can't get it to end with 0, If I use a MAC that ends with 49, and do macshift then 49 becomes 4A and 50 becomes 51.

If it's only a problem I have, it's not a big issue, I'm already happy it works.

What I'm using is the following:
Windows 8
Sitecom WL344 WLAN USB adapter
macshift script for changing MAC
Virtual Router to set up a hotspot

I also made a little .bat script for easy mac changing, if anyone is interressed I can put it online, it does require to change some things yourself like the name of the network device (macshift -i <<this part>> 123456789) and the location of macshift.exe must be in root C:, I also kept in mind that my MAC is always +1 with the one I enter but I can make a universal one.

It helps to easy switch between MAC addressess you would like to use instead of typing it again and again and again :P
 
  • Like
Reactions: Jimbolicious

DetachableMonkey

New Member
Newbie
Joined
Aug 9, 2013
Messages
3
Trophies
0
Age
54
XP
51
Country
United States
Rynelan here!

I tried several things, all came up with the same thing, if I want to use a certain MAC address I need to do -1 on the address :P

I'm using Windows 7 Home Premium and getting different results. Any MAC address I type in with "macshift", I need to +1 the address to get it to work.
I verify the mac address of the virtual wifi hotspot using inSSIDer on my android device. If I type in a MAC address as seen in the spreadsheet,
inSSIDer reports that the actual address is one less than what I typed in.

Maybe something is up with this macshift program?
 

Semajer

Member
Newcomer
Joined
Aug 12, 2013
Messages
11
Trophies
0
Age
32
XP
68
Country
Street Pass Relay on Windows 7:

Then, still on command line, go to the folder where you unzipped Mac Shift (If you unzipped it on C:\, you may want to type "Cd \" without quotes) and type:
Code:
macshift -i "YOUR WIFI CONNECTION NAME"* macaddress**
*Your wifi name should be the name of your Wireless Network Adapter typed just as it appears on your "Network Connections" folder, for example, for me it was "Wireless Network Connection". Please take in mind that this should be your Wireless Network adapter name, and NOT the one of your just-created "virtual network", nor the name of your wired adapter.
** Mac Address should be typed without ":", for example, 4E53504F4F46
So, this line should look something like:
Code:
macshift -i "Wireless Network Connection" 4E53504F4F46

Hello, I've been following this thread for the past few days, and have tried a number of things suggested here but with no luck. I'm running Windows 7.

The method I've quoted is the closest I've come to getting it to work. I've set up a Virtual WiFi under Wireless Network Connection 2, called attwifi, that both my 3DS, and another laptop can connect to with internet access.

When it comes to changing the MAC address is where I seem to have the most trouble. I've tried Technitium MAC Address Changer v6, and MAC Shift, but neither seem to work. When I try to change the MAC address of Wireless Network Connection 2 using MAC Address Changer it always fails no matter what I try to change it to.

When I used the instructions for MAC Shift in Command Prompt it says it has reset the adapter, and ends with done. However when I check the MAC address after this it hasn't changed.

I did notice when I tried MAC Address Changer a second time that the MAC address I want to change to is listed under Wireless Network Connection 2, but that it is inactive.

Does anyone have any ideas for how to get this working? I'm pretty shit at working my way around computers, but I'm willing to try, as I feel I'm missing something simple.
 

Rynelan

Member
Newcomer
Joined
Aug 9, 2013
Messages
6
Trophies
0
Age
36
Location
Den Helder, Netherlands
XP
42
Country
Netherlands
I'm using Windows 7 Home Premium and getting different results. Any MAC address I type in with "macshift", I need to +1 the address to get it to work.
I verify the mac address of the virtual wifi hotspot using inSSIDer on my android device. If I type in a MAC address as seen in the spreadsheet,
inSSIDer reports that the actual address is one less than what I typed in.

Maybe something is up with this macshift program?

So what you are saying is that if you for example use 4E:50:53:4F:4F:46 in macshift, your actual MAC will end up with 45? While if I do it i'll end up with 47

Maybe it depends on what hardware you use or there is some kind of little error in macshift. Oh well, if we are able to set this up, then +1 or -1 on each MAC shouldn't be a big problem :P
 

DetachableMonkey

New Member
Newbie
Joined
Aug 9, 2013
Messages
3
Trophies
0
Age
54
XP
51
Country
United States
So what you are saying is that if you for example use 4E:50:53:4F:4F:46 in macshift, your actual MAC will end up with 45? While if I do it i'll end up with 47

That's exactly what is happening on my end. I've been reading other threads and seen some indication that downgrading your wireless adapter's driver to a windows XP compatible driver fixes the situation. Haven't been able to test that yet.
 

OliverReed

Well-Known Member
Member
Joined
Apr 4, 2012
Messages
106
Trophies
0
XP
154
Country
I had that problem at first: You probably are trying to connect to the internet and share the connection with the same Network card. Remember that you need to be connected to the internet with a wired connection and your wireless adapter must be free, that is, not connected to any network.


Had that error shown to me too: That's because you don't have the Virtual Network activated. Use the command-line commands i posted, you probably missed the

netsh wlan set hostednetwork mode=allow

Oh so i need to have my computer actually connected to my router first?
 

elridge

Well-Known Member
Newcomer
Joined
May 19, 2012
Messages
63
Trophies
0
Age
42
Location
2793 - 1243 - 3445
XP
1,204
Country
Argentina
I did notice when I tried MAC Address Changer a second time that the MAC address I want to change to is listed under Wireless Network Connection 2, but that it is inactive.
Does anyone have any ideas for how to get this working? I'm pretty shit at working my way around computers, but I'm willing to try, as I feel I'm missing something simple.

Remember that you have to change the MAC adress of your actual Wireless Adapter and not the one of the "virtual" one (the virtual adapter takes the IP from your network card).
What's the name of your wireless network adapter? What's the name of your virtual adapter?

Oh so i need to have my computer actually connected to my router first?

Yes, the way i got this to work was while connected to the internet with a WIRED connection and disconnecting my Wireless adapter from any wireless connections.


Also, if anyone finds this useful:
I tried to do this without a wired connection a ago, and without the use of Virtual Router (just netsh and macshift), but I didn't get it to work. I think it should work fine wired, though, eliminating the need of the Virtual Router Manager program. The commands should be:

Code:
Macshift -i "Your Wireless connection name" 4E53504F4F46
netsh wlan set hostednetwork mode=allow ssid=attwifi  key=SomeNetworkPassword
netsh wlan start hostednetwork

If anyone wants to try it and post feedback so i can update the tutorial, please do so; i won't be able to keep testing 'till i get back home, in a few hours.
 

OliverReed

Well-Known Member
Member
Joined
Apr 4, 2012
Messages
106
Trophies
0
XP
154
Country
Remember that you have to change the MAC adress of your actual Wireless Adapter and not the one of the "virtual" one (the virtual adapter takes the IP from your network card).
What's the name of your wireless network adapter? What's the name of your virtual adapter?



Yes, the way i got this to work was while connected to the internet with a WIRED connection and disconnecting my Wireless adapter from any wireless connections.


Also, if anyone finds this useful:
I tried to do this without a wired connection a minute ago, and without the use of Virtual Router (just netsh and macshift), but I didn't get it to work. I think it should work fine wired, though, eliminating the need of the Virtual Router Manager program. The commands should be:

Code:
Macshift -i "Your Wireless connection name" 4E53504F4F46
netsh wlan set hostednetwork mode=allow ssid=attwifi  key=SomeNetworkPassword
netsh wlan start hostednetwork

If anyone wants to try it and post feedback so i can update the tutorial, please do so; i can't do it 'till i get back home, in a few hours.

Edit: still carnt get it to work if i connect my laptop to the router virtual router application only lets me do local area connection. The application only lets me do the one connected to the internet also when i do the cmd that says macshift it doesnt work unless i put macshift.cpp and then it sort of works but it says it doesnt know what program can use the application
 

Rynelan

Member
Newcomer
Joined
Aug 9, 2013
Messages
6
Trophies
0
Age
36
Location
Den Helder, Netherlands
XP
42
Country
Netherlands
Oh so i need to have my computer actually connected to my router first?

Your computer must be connected to a wired connection, after executing that command your wireless adapter/computer gets permission to use your wired connection to create a hotspot

That's exactly what is happening on my end. I've been reading other threads and seen some indication that downgrading your wireless adapter's driver to a windows XP compatible driver fixes the situation. Haven't been able to test that yet.

I don't even know if my wireless adapter can be downgraded, it doesn't disturb me though. I'm already happy it works
 

Semajer

Member
Newcomer
Joined
Aug 12, 2013
Messages
11
Trophies
0
Age
32
XP
68
Country
Remember that you have to change the MAC adress of your actual Wireless Adapter and not the one of the "virtual" one (the virtual adapter takes the IP from your network card).
What's the name of your wireless network adapter? What's the name of your virtual adapter?

My adapter is shown as this on the Network Connections screen:

Wireless Network Connection 2
attwifi
Microsoft Virtual WiFi Miniport Adapter


When I was following the instructions I typed:

"macshift -i "Wireless Network Connection 2" 4E53504F4F46"
 
Status
Not open for further replies.

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    K3Nv2 @ K3Nv2: Right onto uremums 3d printed dildo