Is there a way that I can use my Nintendo Wi-Fi USB Connector on a Windows Vista computer? I don't have XP.
Is there a way that I can use my Nintendo Wi-Fi USB Connector on a Windows Vista computer? I don't have XP.
Is there a method of getting the Streetpass Relay with the Nintendo Wi-Fi USB Connector on a Windows Vista computer? Hopefully this will clear things up.Is there a way that I can use my Nintendo Wi-Fi USB Connector on a Windows Vista computer? I don't have XP.
This is for routers with DD-WRT firmware, micro build is not supported yet
The v3.3 script is the main now!
This script also can be used with ASUS WL-5xx and RT-N1x custom firmware
Insert script in Administration - Commands (for WL500G custom firmware just use Telnet/SSH client or use three commands one-by-one in System Setup - System Command ):and push hit Apply Settings. This script will install the MAC changing script to your router, set up cron to run the script and reboot router to apply changes. After reboot you can change the MAC lists to get and time period to run the MAC change, just go to Administration - Management - Cron and edit the line. You can change the second asterisk with the working hours of the script, e.x. "* 1-7 * * *..." will run MAC change from 1:00 to 07:59 (am). Do not change the first asterisk, this script designed to run every minute and calculate if it is time to change MAC based on the MAC quantity and cooldown time. The script parameter (by default 49,BASE16,GBATEMP) 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:Code:wget -O /tmp/nzone.sh http://duke-srg.dyndns.org/3ds/nzone/nzone.sh; chmod +x /tmp/nzone.sh; /tmp/nzone.sh
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.
This script will cycle randomly through all MACs in list, one time per each MAC, and try to update list from the server.
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:
Insert script in Administration - Commandshit Save StartupCode:echo -e "#!/bin/sh\nMACS=/tmp/nzone.macs\n[ -f \$MACS ] || wget -q -O \$MACS \"http://duke-srg.dyndns.org/3ds/nzone?\$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
In Administration - Management - Cron insert: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
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:Code:*/15 * * * * root /tmp/nzone 49,BASE16
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:5023.08 v.3. script updated - compatibility with WL500G custom firmware checked and fixed
22.08 v.3. script updated, MAC time change bug fixed
20.08 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 routersCode:#!/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
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 thisA2: If you have a DD-WRT micro build, it is not supported, at least yet.Code:ifconfig $(nvram get wl0_ifname)
A3: You should try to manually run scriptIf MAC is not changed please PM me the output, if any.Code:/tmp/nzone
If MAC is changed, try to restart cron daemonas it seems to be a bug with cron deamon goes to sleep and prevent running scheduled jobs at several DD-WRT buildsCode:stopservice cron; startservice cron
A4: 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 commandsCode:cat /proc/cpuinfo nvram get wl0_ifname ifconfig iwconfig ps
- support multi-ssid configuration
- check script with Realtek-baset routers
- DD-WRT micro support
This can be caused hostapd not stopping in 3 second timeot. Have you troed to wait, usially it auto restarts in 2 minutes or at yhe next scheduled mac change. Try to increase sleep time between hostapd kill/start cycle.Thanks a lot! After hours of testing, the code works very well, but when I have the script enabled the wireless signal turns off randomly and I can only turn it on by power cycling the router or applying the wireless settings again on the control panel using wired connection. Do I have to keep enabled the Mac Address Clone option on the router? I don't know why this is happening. My router is a TP-Link WR741ND, with dd-wrt build 22118. If it were for me, I wouldn't ask, but my family also need to use the network. Thanks in advance.