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.

reinhold23

Member
Newcomer
Joined
Dec 28, 2014
Messages
6
Trophies
0
Age
45
XP
41
Country
United States
reinhold23 you should check that nintendo zone app can download a nintendo zone page because icon glowing and internet icon activation does not mean that internet is actually accessible. To do that you must switch to BASE16 address like
nzone.exe reload
nzone.exe start BASE16
just because nintendo zone app will not have enough time to doenaload a page between MAC changes with BASE256.
If app successfully downloaded a page without a 3DS system connection error, you can switch back to BASE256 and check the actual MAC with 2 minutes intervals like
netsh wlan show hostednetwork
BSSID field will indicate the actual access pont MAC which must change in time.
If everything above is like I described you only need to wait for streetpasses.


Thanks again. Though it I didn't receive this last night while running with the BASE256, with BASE16 now I'm getting BSOD, with the screen noting athrx.sys, which seems related to your note: "Atheros-based wireless adapters driver may end up with the BSOD while starting hosted network with changed MAC"


Any workarounds? If not, anything I should do to back out the changes that the script made to my system? Afterwards, I'll try the VMware version you suggested to other users. EDIT: can't try VMware because my adapter isn't USB.
 

reinhold23

Member
Newcomer
Joined
Dec 28, 2014
Messages
6
Trophies
0
Age
45
XP
41
Country
United States
Just so I'm clear.... My 3DS is fully updated (v9.4). I'm on a Windows 7 box with an Atheros-based adapter (non-USB). There is no known way to get Homepass working on this setup, correct?
 

reinhold23

Member
Newcomer
Joined
Dec 28, 2014
Messages
6
Trophies
0
Age
45
XP
41
Country
United States
Would like to try nzone.exe on my laptop, but I cannot run maccheck.cmd. Any ideas?
 

Attachments

  • maccheck.png
    maccheck.png
    6.6 KB · Views: 447

DxEggman

Well-Known Member
Member
Joined
Feb 28, 2008
Messages
302
Trophies
0
XP
269
Country
United States
Windows 7, no USB. LAptop w/etehrnet and wireless
MAcCheck gives a line of 000's

Dual boot into Ubuntu, following guides, keep getting an unsupported driver error

It's been fun, homepass, but looks like this is the end for me

in ubuntu i get the error
modinfo: ERROR: Module b43-pci-bridge not found.
b43-pci-bridge not depends mac80211
when i use method 1

the other methods work fine but my 3ds doesn't get anything; do i need a usb device? my laptop has an ethernet cable and a wifi card, that's it.
 

maclaumo

New Member
Newbie
Joined
Dec 27, 2014
Messages
3
Trophies
0
Age
40
XP
51
Country
United States
maclaumo first, try lsusb to find put what adapted you are using exactly, it will give you the device IDs. I included all available firmwares needed for ralink/mediatek, atheros, Intel, broadcon, realtek and several others (all wireless firmware available for Debian 7 in non-free repo)
So if Debian have a native support for your adapter it will work out of the box. If not, just search for Debian solution and your IDs to get the needed driver. It is no sense to log all checked IDs to search the same adapter, much better to spend your time to find a driver instruction and help me to integrate it into the VM image so others can use it too.

Thank you! I got the ID 0bda:8179 . A quick search let me here, so apparently there is a driver... but I'm Linux-illiterate :blink: so I don't know how to check if it is already included in your Debian image... but I can follow more instructions! Let me know if there's anything I can do/ or if it's already in the image!
usbwifi.png
 

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
AlexTG40 try VMWare method if you have a USB adapter. Or I will need the full output from maccheck.cmd and also outpu from wmin nic list brief to debug your issue.

reinhold23 if you have a faulty Atheros driver there is no workaround for Windows. You can try every driver available for you adapter and if you're lucky you may get the non-faulty one. As for maccheck, looks like you downloaded it to a different folder, check the folder contents with dir command

DxEggman full output from maccheck.cmd please!

maclaumo looks like the distro have only Realtek drivers for 8180, 8187, 8192. You can try to build it by yourself and then I can include in in the image for others, that will be your contribution for a homepass community. Or just wait for someone more experienced will make it. There is really nothing special, you're just need to install a build tools like apt-get install make gcc, Then download, untar and make the driver. The only problem is that image there is extremely low hdd space available and it only can be fixed by partition editing like gparted.
 
  • Like
Reactions: maclaumo

maclaumo

New Member
Newbie
Joined
Dec 27, 2014
Messages
3
Trophies
0
Age
40
XP
51
Country
United States
Well, I guess this is as far as I can go :cry: gonna try searching for a different usb adapter meanwhile.
If anyone that has this working could suggest me an amazon link, it would be very much appreciated!
Thanks duke for your time! :wub:
 

TheCocoCici

Member
Newcomer
Joined
Dec 17, 2014
Messages
20
Trophies
0
Age
34
XP
1
Country
Belgium
reinhold23 if you have a faulty Atheros driver there is no workaround for Windows. You can try every driver available for you adapter and if you're lucky you may get the non-faulty one. As for maccheck, looks like you downloaded it to a different folder, check the folder contents with dir command

I'm creating a program which does the same thing as the nzone script but it should work with Atheros-based wireless adapter drivers.
 

DarkSynopsis

Well-Known Member
Member
Joined
Oct 15, 2014
Messages
483
Trophies
0
Age
33
Location
New Zealand
Website
ninjasfate.com
XP
2,603
Country
New Zealand
I've been toying around with the latest Windows Script and for the life of me I can't get it working! when running the "maccheck.cmd" I get the error "Invalid XSL format (or) file name." but since I've used MACycle in the past I decided it did not really matter what output that gave me since I know my Wireless USB can cycle MACs.

I went onto running the "nzone.exe" and all it outputs is "msxml3.dll"

Using a "Linksys AE1000" on Windows 7.
 

CrescentLeaf

Member
Newcomer
Joined
Dec 21, 2014
Messages
13
Trophies
0
Age
33
XP
44
Country
I've been toying around with the latest Windows Script and for the life of me I can't get it working! when running the "maccheck.cmd" I get the error "Invalid XSL format (or) file name." but since I've used MACycle in the past I decided it did not really matter what output that gave me since I know my Wireless USB can cycle MACs.

I went onto running the "nzone.exe" and all it outputs is "msxml3.dll"

Using a "Linksys AE1000" on Windows 7.
DarkSynopsis
You had the same problem as me - Not living in America

Switch your system's language to "English (United States)" by going into...
Control Panel -> Clock, Language and Region -> Region and Language.
Set Format to: English (United States)
 
  • Like
Reactions: duke_srg

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
TheCocoCici You'd better help fixing it for nzone.vbs method. Anyway the mac spoofing sequence will be the same: write registry key; restart adapter; start hosted ap. Anyway any other method than nzone.exe won't work on firmware 9.4+

Avalarion First, I need the output for
cat /usr/sbin/nzone; cat /proc/cpuinfo

DarkSynopsis Please google for "wmic Invalid XSL format" or just switch the system locale to English/US before running maccheck.cmd. After getting a maccheck.cmd result we well proceed further with your issues (well both errors are of the same nature of regional windows settings with XML libraries and may be fixed easily)

Team Fail SSIDs are the same, on fw 9.3+ 3DS do not use the SSID with the different security mode (and/or predefined connections?) for a streetpass relay i.e. no passwords anymore.
 

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
Team Fail yes it always worked with no password.
Looks like in 9.0 attwifi lost isZone flag, so default attwifi preset settings was enforced for streetpass relay, while NZ@McD1
And in 9.3 looks like any custom connection profile is not used for a streetpass relay, so even having a configured attwifi on NZ@McD1
 
  • Like
Reactions: loco365

Avalarion

Member
Newcomer
Joined
Dec 29, 2014
Messages
19
Trophies
0
Age
33
XP
135
Country
Gambia, The
duke_srg
The output from "cat /usr/sbin/nzone; cat /proc/cpuinfo":

Code:
#!/bin/sh
WLIDX=0
WLINT=wlan$WLIDX
WLMAC=$(uci -q get wireless.@wifi-iface[$WLIDX].macaddr)
WLSSID=$(uci -q get wireless.@wifi-iface[$WLIDX].ssid)
CRON="crontab"
JOBS=$($CRON -l)
HOSTAPDCONF=/var/run/hostapd-phy${WLIDX}.conf
HOSTAPDPID=/var/run/wifi-phy${WLIDX}.pid
PS="ps"
URL=http://nintendozone.no-ip.org?
MACS=/tmp/${0##*/}.macs
SPDELAY=480
MACNUM=0
setwl (){
        ifconfig $WLINT down hw ether $1 up
        sed -ri "s/^bssid=.*/bssid=$1/;s/^ssid=.*/ssid=$2/" $HOSTAPDCONF
        while ! hostapd -B -P $HOSTAPDPID $HOSTAPDCONF; do
                PID=$($PS | grep $HOSTAPDPID | grep -v grep | sed 's/^ *//' | cut -d ' ' -f 1)
                : ${PID:+$(kill $PID)}
                sleep 1
        done
}
case "$1" in
start)
        echo starting ${0##*/}>&2
        uci set wireless.@wifi-iface[$WLIDX].macaddr=$(ifconfig $WLINT | grep HWaddr | sed -r "s/.*HWaddr +(.?*) */\1/")
        if [ -z $2 ]; then
                echo "$JOBS" | sed -r "s:#*(.*$0.*):\1:" | $CRON -
        else
                echo "$JOBS" | grep -v $0 | sed "\$a* * * * * $0 $2" | $CRON -
        fi
;;
stop)
        echo stopping ${0##*/}>&2
        setwl $WLMAC $WLSSID
        echo "$JOBS" | sed -r "s:#*(.*$0.*):#\1:" | $CRON -
        uci -q delete wireless.@wifi-iface[$WLIDX].macaddr
;;
toggle)
        if $($0 status); then
                $0 stop
        else
                $0 start
        fi
;;
restart)
        $0 stop
        $0 start
;;
reload|force-reload)
        echo ${0##*/} MAC lists reloaded>&2
        rm -f $MACS
;;
status)
        if $(echo "$JOBS" | grep $0 | grep -qe '^#'); then
                echo ${0##*/} is not running>&2
                exit 1
        else
                echo ${0##*/} is running>&2
                exit 0
        fi
;;
*)
        [ -f $MACS ] && MACNUM=$(grep -v ^x $MACS | wc -l) && DELAY=$((($(date +%s)-$(date -r $MACS +%s))/60))
        [ $MACNUM = 0 ] && NEWMACS=$(wget -q -O - $URL$1)
        [ $(echo -n "$NEWMACS" | wc -c) != 0 ] && echo "$NEWMACS" > $MACS && MACNUM=$(cat $MACS | wc -l)
        [ $MACNUM = 0 ] && sed -ri "s/^x//" $MACS && MACNUM=$(grep -v ^x $MACS | wc -l)
        MACTOTAL=$(cat $MACS | wc -l)
        [ $MACNUM = 0 ] || ([ $MACTOTAL -lt $SPDELAY ] && [ ${DELAY:-$SPDELAY} -lt $(($SPDELAY/$MACTOTAL)) ]) && exit
        RANDOM=$(head /dev/urandom | hexdump -d | head -n 1 | sed -r "s/^([0-9]+ +0{0,4})+//")
        MAC=$(grep -v ^x $MACS | head -n $(($RANDOM%${MACNUM}+1)) | tail -n 1)
        sed -ri "s/^$MAC/x&/" $MACS
        SSID=$(echo $MAC | cut -d , -f 2 -s)
        MAC=$(echo $MAC | cut -d , -f 1)
        : ${SSID:=$WLSSID}
        setwl $MAC $SSID
;;
esac
system type            : Qualcomm Atheros QCA9533 rev 1
machine                : TP-LINK TL-WR841N/ND v9
processor              : 0
cpu model              : MIPS 24Kc V7.4
BogoMIPS                : 366.18
wait instruction        : yes
microsecond timers      : yes
tlb_entries            : 16
extra interrupt vector  : yes
hardware watchpoint    : yes, count: 4, address/irw mask: [0x0000, 0x0ff8, 0x0ff8, 0x0ff8]
isa                    : mips1 mips2 mips32r1 mips32r2
ASEs implemented        : mips16
shadow register sets    : 1
kscratch registers      : 0
core                    : 0
VCED exceptions        : not available
VCEI exceptions        : not available
 

Avalarion

Member
Newcomer
Joined
Dec 29, 2014
Messages
19
Trophies
0
Age
33
XP
135
Country
Gambia, The
duke_srg
Here are the outputs:

ifconfig wlan0
Code:
wlan0    Link encap:Ethernet  HWaddr 00:18:01:C7:3C:41
          inet addr:192.168.179.1  Bcast:192.168.179.255  Mask:255.255.255.0
          inet6 addr: fe80::218:1ff:fec7:3c41/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:704 errors:0 dropped:0 overruns:0 frame:0
          TX packets:775 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:122478 (119.6 KiB)  TX bytes:399705 (390.3 KiB)

crontab -l
Code:
* * * * * /usr/sbin/nzone BASE16,GBATEMP

wc -l /tmp/nzone.macs
Code:
wc: /tmp/nzone.macs: No such file or directory
 
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.
    Psionic Roshambo @ Psionic Roshambo: This parrot is no more it has ceased to be!