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.

digipokemaster

Innocent Uke
Member
Joined
Aug 20, 2009
Messages
1,610
Trophies
0
Age
40
Location
USA
XP
457
Country
United States
ok is the program still working it still somewhat works for me i can get some streetpass on some games but not ones i would like to get on my jpn n3ds like monster hunter stories and is there a way to get the nbahomepass to use lan my wifi seem to be acting weird on me hopefuuly we hear something new soon on the new method
 
Last edited by digipokemaster,

ibigfire

Active Member
Newcomer
Joined
Sep 18, 2009
Messages
37
Trophies
0
XP
188
Country
Canada

buttoms

New Member
Newbie
Joined
Sep 23, 2016
Messages
3
Trophies
0
Age
57
XP
54
Country
Gambia, The
Hi,
I tested none.exe with Windows8 on my Acer 9303. The programm starts and 3DS connects, but there was no Macycle (same problem with Windows 7). After looking at Taskscheduler I found maybe a mistake: Nzone.exe uses Taskscheduler with "cscript c:\nzone.exe BASE256". I start a new Scheduler with "c:\nzone.exe BASE256" every 5 Mins an now it runs... But not many Miis...
Better results with "Nintendo_Zone1", openkey on my old fritzboxes (allways 6 Miis), thanks to nookville.
Gamestop in BS uses NintendoZone2 with key (i don´t know the key).
 

Zatos

Member
Newcomer
Joined
Oct 23, 2016
Messages
5
Trophies
0
Age
44
XP
56
Country
United States
So, for all Windows users who can't use native Windows method (nzone.exe/nzone.vbs) but have a separate USB wireless adapter for homepass:
1. Download and install VMWare Player
2. Download and decompress a Debian image with hompass preconfigured (nzone linux script)
3. Plug your USB wireless adapter
4. Click on the Homepass.vmx to run virtual machine
5. In VMWare player menu select Player - Removeble Devices - <Your wireless adapter name> - Connect (Disconnect from host)
6. If you was not quick (most probably) then virtual machine is already booted without wireless interface properly initialized, so just click Player - Power - Reset
Guest
You should not preconfigure any of access points as only open SSIDs are used and WPA security is not enabled

Hey guys, thanks for the guides. I'm going to use the VMWare method. I just wanted to know if the recommended TP-LINK TL-WN722N works with this method via Windows 10? I came across a comment regarding it not working with one of the methods, but I don't know if that applies in this case. All I need to know. Thank you!
 

Xenosaiga

Time to switch it up
Member
Joined
Oct 9, 2015
Messages
1,501
Trophies
0
Age
33
Location
The Shadows
XP
1,070
Country
United States
@duke_srg I use the DDWRT router with Mac spoofing to streetpass. It uses a micro build so I can't make it switch macs like I would want. Is it possible to use a command from the computer that would enable it to switch it's spoofed Mac? I usually leave my computer off and just have the router on but if there is a way to make the computer switch the Mac for me I would gladly do so.

Any help would be appreciated.
 

Zatos

Member
Newcomer
Joined
Oct 23, 2016
Messages
5
Trophies
0
Age
44
XP
56
Country
United States
@duke_srg
Sorry if you are the wrong person, but from what I can tell you created the VMWare homepass method? I am having an issue... perhaps I should have gotten a different usb wifi adapter. These are the errors I get, although I believe they are the same thing:

[Date/Time] homepass kernel: [ 21.949957] usb 1-1: config 1 interface 0 altsetting 0 bulk endpoint 0x4 has invalid maxpacket 64
...and later...
[ 22.213076] usb 1-1: ath9k_htc: Firmware - htc_9271.fw download failed
[Date/Time] homepass kernel: [ 22.213198] ath9k_htc: probe of 1-1:1.0 failed with error -22

I also get an error from VMWare that "the connection for the usb device was unsuccessful for atheros usb2.0". I've tried numerous things to fix it, but nothing has worked. Most people with the error reported that it was because they were using USB3.0 and switching to USB2.0 worked, but I already was on USB2.0. Using other ports made no difference.

I don't know much about linux or kernels, but I've found what looks like an ongoing issue that may have been fixed:
https://www.virtualbox.org/ticket/9511?cnum_hist=2&cversion=0

The AR9271 works with newer Linux guest kernels, starting around 3.13 or so. It indeed fails with older Linux kernels when using EHCI emulation due to a VirtualBox bug.

The AR9271 also fails with older Linux guest kernels when using xHCI emulation. Again newer guest kernels work starting around 3.5. This can't be fixed in VirtualBox.

The ath9k_htc driver is poorly written and schedules bulk transfers on interrupt endpoints. That causes both the EHCI and xHCI problems. The EHCI one we should be able to work around, the xHCI one not so.

There are separate problems with Windows guests.

Is the kernel something that is added into to the homepass vm that you can update?


I found some more information on the other error:
https://ubuntuforums.org/showthread.php?t=1615548

I had the same issue as you. The ar9271.fw downloads a 0 byte file for whatever reason. I got the firmware elsewhere and it works great. http://www.2shared.com/file/D3dVFI9N/ar9271.html

This is older, and the fw file has a different filename, so possibly not a related issue to the current problem. I also saw once a message regarding it downloading the htc_9271.fw at around 50000 bytes I believe, so this could be completely unrelated to the information I found.


The other method I've been trying, and this isn't related to your vmware work, is the macshift and virtual router method. http://www.ign.com/wikis/nintendo-3ds/Set_Up_Your_Own_StreetPass_Relay
Everything seemed to work fine, so I was scratching my head trying to figure out why it didn't work. And what I found makes me wonder how it is even possible it could work. Basically, even though the mac address is changed on the adapter that's being used in the virtual router, the Virtual Router program creates another adapter and needs to change that mac address so as not to conflict. So it changes the first number and therefore isn't recognized as the correct mac address it needs to be. So I don't understand how anyone got that to work. I can't macshift the created adapter from Virtual Router as it resets the adapter and then needs to be restarted.


I've also tried the nzone.exe Home Pass method and I get the "msxml3.dll" error. The only solution people have mentioned is changing the language settings to English (United States). Doesn't work for me. Could be that it's because I'm using Windows 10 x64 Enterprise, but I really have no clue. Thought I could download the dll manually and see if that worked, but it doesn't.


I'm pretty technical so I can figure this stuff out, but all methods lead me into dead ends I can't resolve. Man, I'd really hate to have to buy the preconfigured Raspberry Pi just to get this to work.


Thanks anyone who can help.
 
Last edited by Zatos,

Osmosis

Accidents Happen. Don't be one of them.
Member
Joined
Dec 20, 2014
Messages
823
Trophies
0
XP
387
Country
United States
So if we're using Router method stop using BASEx and just use GBATEMP + Regions and make sure it is set to attwifi?

Router Method making me sad... want RasberryPi now.
 

Symph

New Member
Newbie
Joined
Oct 29, 2016
Messages
1
Trophies
0
Age
30
XP
51
Country
Canada
ALRIGHT SOOOOOOOOOOOOOOOOOOOOOO, I'm probably not really helping anyone by posting this here now, but better late than never I suppose! For people having trouble with NBAHomepass 2.1.0 I'm gonna do a step by step. Although I'm not sure how far I can get you since I'm running into an issue myself ^^;;;;;

Make sure you have the router/internet connection that you want to use set up for sharing, to do so go into network settings, change adapter options, then right click the router and go to properties, change tab to sharing, click the box so that sharing of this network is turned on.



1. Download the mac list and the updated homepass from here if you don't already have version 2.1.0 from this wonderful person http://mrnbayoh.tumblr.com/downloads
2. Place both in the same folder and take note of the folder's directory (C:/downloads/homepass for example)
3. Grab command prompt and shove it into the folder with the other things for easy access
4. Right click command prompt and then choose run as admin
5. Go to the directory where the folder from earlier was located (in this case it's C:/downloads/NBAhomepass so you could just do C: enter cd downloads/NBAhomepass enter which brings you to the file)
6. Next is using the files in the folder with NBAhomepass.exe BASE256.txt true 300 30. ( This just means [Filename.exe] [Fileread.txt] [shuffle true/false] [openlength in seconds] [delay seconds]. Your command line should look C:/downloads/NBAhomepass>NBAhomepass.exe BASE256.txt true 300 30)
P.S. Capitals aren't important since the computer will fill them in for you.
7. Now there will be a prompt asking which of your routers you will want to use and you input the appropriate number and then hit enter (shows up as a list, but since I only have the one it shows 0.Wi-Fi so for me its just 0 enter)
8. Now there's another list numbering from 0 to 4, and you select the appropriate number from the list again and then hit enter (I dont have it infront of me right now because I'm super tired, also my only use is option 0)
9. It should give you two conformation lines at this point, where you hit enter at each line and then you're good to go. Although you should double check on your router's settings to be sure that you are sharing with the actual program and not something else.



Here is my issue and its probably all just because of my computer with my luck. Consolenintendo3ds is detectable by my n3ds xl, it definitely exists as a conection on my computer, and it sends out packets, BUT I'm not receiving any packets. Any help I can get is appreciated and I hope my steps are able to help those who are struggling with the running of homepass
 

Zatos

Member
Newcomer
Joined
Oct 23, 2016
Messages
5
Trophies
0
Age
44
XP
56
Country
United States
ALRIGHT SOOOOOOOOOOOOOOOOOOOOOO, I'm probably not really helping anyone by posting this here now, but better late than never I suppose! For people having trouble with NBAHomepass 2.1.0 I'm gonna do a step by step. Although I'm not sure how far I can get you since I'm running into an issue myself ^^;;;;;

Make sure you have the router/internet connection that you want to use set up for sharing, to do so go into network settings, change adapter options, then right click the router and go to properties, change tab to sharing, click the box so that sharing of this network is turned on.

Here is my issue and its probably all just because of my computer with my luck. Consolenintendo3ds is detectable by my n3ds xl, it definitely exists as a conection on my computer, and it sends out packets, BUT I'm not receiving any packets. Any help I can get is appreciated and I hope my steps are able to help those who are struggling with the running of homepass

In addition to my previous post detailing 3 methods I've tried that have failed, I've also tried the NBAHomePass method and have gotten where you have. Everything seems to work, but not receiving any packets, just like you. During my research I came across some info that supposedly the NBAHomePass method no longer works after a recent update (not sure if this is the firmware of the 3ds, or some other update), although I don't know where I saw that so I can't provide a link. Frustrating as this is the first thing that actually seemed to work for me!

I also tried the router method, as I specifically purchased my router because I could flash DD-WRT to it. Simple and easy to set up that way... I just had previously avoided it due to the fact other people use the router in the household, so don't want everyone to be disconnected. But, despite having everything configured correctly... well, it did NOT work either!!! It was configured properly as it was supposed to be, but wasn't getting any streetpass hits.

I've tried everything except mac, linux or a raspberry pi, and I'm starting to think this whole thing is a complete bust. I don't know if something has changed recently, but I'd like to know if people using the Raspberry Pi are still having this work also. I'd really hate to spend the money on it. But I'd like to at least know if the whole spoofing business is still, well, in business.

Can anyone comment on whether or not they have linux or Raspberry Pi working? I would at least consider installing a linux distro on a dual boot if I knew it would work.
 

iepuras

Well-Known Member
Member
Joined
Mar 23, 2015
Messages
344
Trophies
0
Location
the moon
XP
2,369
Country
Norway
In addition to my previous post detailing 3 methods I've tried that have failed, I've also tried the NBAHomePass method and have gotten where you have. Everything seems to work, but not receiving any packets, just like you. During my research I came across some info that supposedly the NBAHomePass method no longer works after a recent update (not sure if this is the firmware of the 3ds, or some other update), although I don't know where I saw that so I can't provide a link. Frustrating as this is the first thing that actually seemed to work for me!

I also tried the router method, as I specifically purchased my router because I could flash DD-WRT to it. Simple and easy to set up that way... I just had previously avoided it due to the fact other people use the router in the household, so don't want everyone to be disconnected. But, despite having everything configured correctly... well, it did NOT work either!!! It was configured properly as it was supposed to be, but wasn't getting any streetpass hits.

I've tried everything except mac, linux or a raspberry pi, and I'm starting to think this whole thing is a complete bust. I don't know if something has changed recently, but I'd like to know if people using the Raspberry Pi are still having this work also. I'd really hate to spend the money on it. But I'd like to at least know if the whole spoofing business is still, well, in business.

Can anyone comment on whether or not they have linux or Raspberry Pi working? I would at least consider installing a linux distro on a dual boot if I knew it would work.

I can't say if Linux or Raspberry PI works, but I'm on a MacBook Pro and spoofing MAC-addresses works for me
 

SergioSnchez

Member
Newcomer
Joined
Feb 27, 2012
Messages
17
Trophies
0
XP
98
StreetPass for the latest updates after you must change the ssid to NintendoSpotPass2 or NintendoSpotPass1 depends on the router that has every one in Europe.
 

xBleedingSoulx

Well-Known Member
Member
Joined
Sep 20, 2007
Messages
565
Trophies
1
Age
36
Location
Barnsley, England
XP
2,613
Country
United Kingdom
Has something changed in the past few days? NBAHomePass just isn't working for me anymore, which is strange because it was working perfectly last week. Everything seems to be fine, Nintendo Zone lights up and the 3DS has internet access but there's no packets being received at all.
 

Geremias Bristot

Member
Newcomer
Joined
May 10, 2016
Messages
6
Trophies
0
Age
37
XP
47
Country
Brazil
Has something changed in the past few days? NBAHomePass just isn't working for me anymore, which is strange because it was working perfectly last week. Everything seems to be fine, Nintendo Zone lights up and the 3DS has internet access but there's no packets being received at all.
I think something changed, I guess it has something to do with the name, my 3DS show his name as "Nintendo" only, and the name of the virtual router is usually ConsoleNintendo3DS or something, maybe they changed the name the consoles are called now, can anyone confirm this?
 

Geremias Bristot

Member
Newcomer
Joined
May 10, 2016
Messages
6
Trophies
0
Age
37
XP
47
Country
Brazil
But the NbaHomePass 2.1 has the Pokémon zone, spain zone and another one that is working, but doesn't have so many people as the ConsoleNintendo3DS
 

jordguitar

Member
Newcomer
Joined
Oct 2, 2013
Messages
9
Trophies
0
Age
33
XP
125
Country
United States
Trying to install on a ASUS RT-AC56U with DD-WRT on it's latest firmware and the script is not working. I am looking in the .sh file and this is all that is in it:

Code:
root@DD-WRT:~# wget -O /tmp/nzone.sh http://nintendozone.dynu.net/install
Connecting to nintendozone.dynu.net (213.141.148.11:80)
nzone.sh             100% |*******************************|  4449   0:00:00 ETA
root@DD-WRT:~# vi /tmp/nzone.sh
#!/bin/sh
tail -n+3 $0 | tar -xzC /tmp; /tmp/nzone-install/install $@; exit
^_▒^H^@^@^@^@^@^B^C▒^]▒{▒82▒▒B5n^KI▒▒fK>▒GC▒▒m^[▒<.{▒4▒^H6▒[c{m^S▒M▒▒▒▒^G$▒▒▒b
%▒^_^N\)▒Ydf▒ؿ▒pmn▒L▒3▒▒▒▒q▒?▒1▒.▒▒▒▒U▒▒▒▒^XjS▒M^S▒▒0L▒▒▒"▒d▒Ci^X▒^<8▒▒͒ѿk▒?
▒▒"▒▒^H^\▒▒^_▒▒ ▒Ka▒▒Z▒▒W▒▒S▒5^M▒▒Ւ▒^K▒▒o▒8BBw▒▒u▒▒?Xk▒E▒>!▒.▒▒oѣG▒^^▒}▒qC{
▒M▒▒lA▒▒f▒▒▒^[▒▒J▒▒_6^T3▒▒▒M^Y▒▒7.▒▒o!▒▒^P▒a▒▒▒^]▒V▒9}▒
▒^G▒^H▒8jH▒܁'3▒Q▒m^YZː[▒^K▒▒Ll▒A^\▒^\▒^ST^X▒▒x,▒^[▒xO▒▒^Y▒▒ֹ^E▒)▒^D^Pk▒▒▒q▒id
▒▒▒b▒^_X▒▒T^]▒"}HpMPD^X+^W▒W▒(▒m^Q▒▒    ▒▒▒▒n^R▒^X▒▒▒j▒P▒V▒▒6z|V}\▒7^K▒^V▒^Hy~▒
▒▒2o^L▒_▒      ,'c▒    X▒I▒▒^K^F6^U▒ZbF▒}`ş▒l▒E&▒▒d▒^H▒ZM▒Y▒▒F[^O▒▒▒>▒▒J▒▒uɔ
^Q*▒^Lv4^XrU▒▒▒▒^?▒▒*▒▒▒g▒x▒▒4.▒▒▒▒^_▒▒▒▒▒|8^Z^L▒6g▒Υ^]▒=▒^GYU^Tn8^^x▒▒^U▒l
▒▒}:▒:H▒:▒▒OKR▒▒l▒▒▒"▒v▒/▒▒c^Kщ▒H▒"▒-r▒^@▒▒"^M^B▒g▒▒K^Z▒▒▒▒▒&▒y▒▒9C▒C▒▒^F▒Iﺻ
^VT▒L▒UX=▒R▒'▒^H▒^\P)▒a▒r▒Q~▒0O▒^[▒Z▒F▒▒^T▒^Z!▒Q^A▒)▒^B▒rL^T▒_▒▒x▒▒^[▒^E-▒ث▒▒<
R▒6ё▒LƤ       ▒▒^M^VqU ▒▒U^H▒^F▒r]^U▒H▒5O^@,▒KhN▒qٌ▒▒/▒U▒▒▒
A▒#▒^X▒y6J▒▒▒h▒▒▒)▒▒7▒!▒▒ k^O1^\6,D▒▒▒▒ӧx▒X▒,~^M▒.   ▒!X1▒▒n▒▒▒▒▒J¶B▒^@▒▒
▒▒#▒4h▒t!a▒S^▒FOI@%mr^[-Q^Z▒(▒^RU^N▒^Dj^[▒&▒Oh▒C▒^?Vȧ▒^L▒▒^D^G/▒▒▒▒▒In(F▒ ^Z▒
^Cﶶ^Dv[^\▒^L^N_▒^R▒6ԡ▒@▒R▒^?▒▒g▒*f▒▒▒^T▒▒^?^M.▒▒▒^K▒^D▒▒_@▒▒▒pt▒Ug▒h▒▒^?MB▒
~
~
~
~
~
~
~
- /tmp/nzone.sh 1/15 6%


Attempting to run the command just says starting nzone but the process itself never starts and it never cycles the MAC.

Code:
root@DD-WRT:~# wget -O /tmp/nzone.sh http://nintendozone.dynu.net/install
Connecting to nintendozone.dynu.net (213.141.148.11:80)
nzone.sh             100% |*******************************|  4449   0:00:00 ETA
root@DD-WRT:~# chmod +x /tmp/nzone.sh
root@DD-WRT:~# /tmp/nzone.sh BASE16,GBATEMP
starting nzone
root@DD-WRT:~# cat /proc/cpuinfo
model name      : ARMv7 Processor rev 0 (v7l)
processor       : 0
BogoMIPS        : 1594.16
Features        : swp half thumb fastmult edsp tls
CPU implementer : 0x41
CPU architecture: 7
CPU variant     : 0x3
CPU part        : 0xc09
CPU revision    : 0

model name      : ARMv7 Processor rev 0 (v7l)
processor       : 1
BogoMIPS        : 1594.16
Features        : swp half thumb fastmult edsp tls
CPU implementer : 0x41
CPU architecture: 7
CPU variant     : 0x3
CPU part        : 0xc09
CPU revision    : 0

Hardware        : Northstar Prototype
Revision        : 0000
Serial          : 0000000000000000
root@DD-WRT:~# nvram get wl0_ifname
eth1
root@DD-WRT:~# ifconfig
br0       Link encap:Ethernet  HWaddr BC:EE:7B:8E:1B:E2
          inet addr:192.168.1.1  Bcast:192.168.1.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:154540 errors:0 dropped:289 overruns:0 frame:0
          TX packets:107537 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:160142888 (152.7 MiB)  TX bytes:56979134 (54.3 MiB)

br0:0     Link encap:Ethernet  HWaddr BC:EE:7B:8E:1B:E2
          inet addr:169.254.255.1  Bcast:169.254.255.255  Mask:255.255.0.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1

eth0      Link encap:Ethernet  HWaddr BC:EE:7B:8E:1B:E0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:246129 errors:0 dropped:0 overruns:0 frame:0
          TX packets:245980 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:196292157 (187.1 MiB)  TX bytes:218594695 (208.4 MiB)
          Interrupt:179 Base address:0x4000

eth1      Link encap:Ethernet  HWaddr BC:EE:7B:8E:1B:E2
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:421 errors:0 dropped:0 overruns:0 frame:133627
          TX packets:1204 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:100235 (97.8 KiB)  TX bytes:247739 (241.9 KiB)
          Interrupt:163

eth2      Link encap:Ethernet  HWaddr BC:EE:7B:8E:1B:E4
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:22448
          TX packets:266 errors:1 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:51305 (50.1 KiB)
          Interrupt:169

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING MULTICAST  MTU:65536  Metric:1
          RX packets:15 errors:0 dropped:0 overruns:0 frame:0
          TX packets:15 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:1202 (1.1 KiB)  TX bytes:1202 (1.1 KiB)

vlan1     Link encap:Ethernet  HWaddr BC:EE:7B:8E:1B:E0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:154276 errors:0 dropped:0 overruns:0 frame:0
          TX packets:107200 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:160121205 (152.7 MiB)  TX bytes:56890981 (54.2 MiB)

vlan2     Link encap:Ethernet  HWaddr BC:EE:7B:8E:1B:E1
          inet addr:100.64.0.59  Bcast:100.64.0.63  Mask:255.255.255.192
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:91843 errors:0 dropped:567 overruns:0 frame:0
          TX packets:138780 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:30755322 (29.3 MiB)  TX bytes:160719794 (153.2 MiB)

root@DD-WRT:~# iwconfig
-sh: iwconfig: not found
root@DD-WRT:~# ps
  PID USER       VSZ STAT COMMAND
    1 root      1260 S    /sbin/init
    2 root         0 SW   [kthreadd]
    3 root         0 SW   [ksoftirqd/0]
    4 root         0 SW   [kworker/0:0]
    5 root         0 SW<  [kworker/0:0H]
    6 root         0 SW   [kworker/u4:0]
    7 root         0 SW   [migration/0]
    8 root         0 SW   [rcu_bh]
    9 root         0 SW   [rcu_sched]
   10 root         0 SW   [migration/1]
   11 root         0 SW   [ksoftirqd/1]
   12 root         0 SW   [kworker/1:0]
   13 root         0 SW<  [kworker/1:0H]
   14 root         0 SW<  [khelper]
   15 root         0 SW   [kworker/u4:1]
  104 root         0 SW<  [writeback]
  106 root         0 SW<  [bioset]
  108 root         0 SW<  [kblockd]
  134 root         0 SW   [kworker/1:1]
  173 root         0 SW   [kswapd0]
  174 root         0 SW   [fsnotify_mark]
  175 root         0 SW<  [crypto]
  290 root         0 SW<  [deferwq]
  291 root         0 SW   [kworker/0:1]
  520 root       656 S    /sbin/hotplug2 --set-rules-file /etc/hotplug2.rules
  523 root       696 S    /sbin/mstpd
  551 root      1344 S    watchdog
  899 root         0 SW<  [kworker/1:1H]
  942 root         0 SW<  [kworker/0:1H]
5864 root      1084 S    telnetd
5887 root       640 S    cron
5900 root       740 S    dnsmasq --conf-file=/tmp/dnsmasq.conf
5946 root      1256 S    ttraff
5977 root      1388 S    nas -P /tmp/nas.wl1lan.pid -H 34954 -l br0 -i eth2 -
6377 root      3452 S    httpd -p 80
6381 root      1256 S    process_monitor
6387 root      1300 S    resetbutton
6482 root         0 SWN  [jffs2_gcd_mtd4]
6764 root      1300 S    wland
6765 root      1096 S    udhcpc -i vlan2 -p /var/run/udhcpc.pid -s /tmp/udhcp
6919 root      1092 S    /bin/login
6923 root      1092 S    -sh
7115 root      1084 R    ps

crontab is completely empty.

If I run the command from the webui, I get this output as startup:

Code:
echo -e "#!/bin/sh\nURL=http://nintendozone.dynu.net?\nMACS=/tmp/\${0##*/}.macs\nSPDELAY=480\nMACNUM=0\nsetwl (){\n    ifconfig \$WLINT down hw ether \$1 up\n}\ncase \"\$1\" in\nstart)\n    echo starting \${0##*/}>&2\n;;\nstop)\n    echo stopping \${0##*/}>&2\n    setwl \$WLMAC \$WLSSID\n;;\ntoggle)\n    if \$(\$0 status); then\n        \$0 stop\n    else\n        \$0 start\n    fi\n;;\nrestart)\n    \$0 stop\n    \$0 start\n;;\nreload|force-reload)\n    echo \${0##*/} MAC lists reloaded>&2\n    rm -f \$MACS\n;;\nstatus)\n    if \$(echo \"\$JOBS\" | grep \$0 | grep -qe '^#'); then\n        echo \${0##*/} is not running>&2\n        exit 1\n    else\n        echo \${0##*/} is running>&2\n        exit 0\n    fi\n;;\n*)\n    [ -f \$MACS ] && MACNUM=\$(grep -v ^x \$MACS | wc -l) && DELAY=\$(((\$(date +%s)-\$(date -r \$MACS +%s))/60))\n    [ \$MACNUM = 0 ] && NEWMACS=\$(wget -q -O - \$URL\$1)\n    [ \$(echo -n \"\$NEWMACS\" | wc -c) != 0 ] && echo \"\$NEWMACS\" > \$MACS && MACNUM=\$(cat \$MACS | wc -l)\n    [ \$MACNUM = 0 ] && sed -ri \"s/^x//\" \$MACS && MACNUM=\$(grep -v ^x \$MACS | wc -l)\n    MACTOTAL=\$(cat \$MACS | wc -l)\n    [ \$MACNUM = 0 ] || ([ \$MACTOTAL -lt \$SPDELAY ] && [ \${DELAY:-\$SPDELAY} -lt \$((\$SPDELAY/\$MACTOTAL)) ]) && exit\n    RANDOM=\$(head /dev/urandom | hexdump -d | head -n 1 | sed -r \"s/^([0-9]+ +0{0,4})+//\")\n    MAC=\$(grep -v ^x \$MACS | head -n \$((\$RANDOM%\${MACNUM}+1)) | tail -n 1)\n    sed -ri \"s/^\$MAC/x&/\" \$MACS\n    SSID=\$(echo \$MAC | cut -d , -f 2 -s)\n    MAC=\$(echo \$MAC | cut -d , -f 1)\n    : \${SSID:=\$WLSSID}\n    setwl \$MAC \$SSID\n;;\nesac\n" > /tmp/nzone; mkdir -p /tmp/etc/config; echo -e "#!/bin/sh\n/tmp/nzone toggle\n" > /tmp/etc/config/nzone.sesbutton; chmod +x /tmp/nzone /tmp/etc/config/nzone.sesbutton

And the same result.

I know that is the actual script so I am just wondering why it is not working.

E: Edited the nzone file to be the one that is not garbage and I am now getting this:
Code:
ifconfig: SIOCSIFHWADDR: No such device

E2:

Hell if I know anymore:

Code:
/$ /tmp/nzone stop
stopping nzone
ifconfig: invalid hw-addr up
/$ /tmp/nzone status
nzone is running
/$ /tmp/nzone toggle
nzone is running
stopping nzone
ifconfig: invalid hw-addr up
/$ /tmp/nzone status
nzone is running
 
Last edited by jordguitar,
Status
Not open for further replies.

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    Xdqwerty @ Xdqwerty: aeiou