Hacking Network install failed to open client socket code 9

EmulateLife

Well-Known Member
OP
Member
Joined
May 30, 2016
Messages
3,979
Trophies
0
Age
42
XP
1,889
Country
United States
Ok so I'm trying to network install because I don't have enough space on my sd card for the nsp file and for it to be installed. I'm following a guide on reddit it says "make sure you put the nsp file in the tools folder" I don't understand what tools folder? I have remote_install_pc.py and I installed python. Where should I have a tools folder?

Edit: I just made one, but I'm getting (on tinfoil) OnSelected:192: Failed to open client socket with code 9.

Cmd acts like it's starting the process of transfering but then closes.
 

mdmachine

Well-Known Member
Member
Joined
Jun 15, 2009
Messages
189
Trophies
0
XP
882
Country
United States
If your using tinfoil, close then restart tinfoil. Run the install over network option. It should show your IP address. Then run the python script (I don't think location matters). It'll ask for the IP address of the switch .Then it'll ask for the location of the nsp. Once that's done, back on the switch, it'll ask for confirmation of install location. Then all should be well. I usually get connection errors after a transfer, and I have to exit and restart tinfoil.
 

EmulateLife

Well-Known Member
OP
Member
Joined
May 30, 2016
Messages
3,979
Trophies
0
Age
42
XP
1,889
Country
United States
Oh so in cmd instead of pasting the nsp (like 01007f200b0c0000.nsp) I need to paste the location of the folder of the nsp? (like C:\Users\Downloads\tools)

Still get the same error. Failed to perform remote install OnSelected:192: Failed to open client socker with code 9

I run remote_install_pc.py asks for IP I put 1.0.0.127 asks for nsp I tried both pasting the nsp itself and the location of the nsp. Either same error. Not sure what's wrong.
 
Last edited by ,

EmulateLife

Well-Known Member
OP
Member
Joined
May 30, 2016
Messages
3,979
Trophies
0
Age
42
XP
1,889
Country
United States
Switch just shows
Switch IP is 1.0.0.127
Waiting for connection
Press B to cancel

When I run py it doesn't change, then when I go back by hitting b and go back into network install it shows that error. Is there anything I Need other than tinfoil on my sd card? Other than the obvious homebrew files to get into RCM which is not the issue.
 

EmulateLife

Well-Known Member
OP
Member
Joined
May 30, 2016
Messages
3,979
Trophies
0
Age
42
XP
1,889
Country
United States
Just tried Boop which is GUI for tinfoil network install, it says failed to connect to console. It's something with my client socket on my computer but I have no idea how to fix that.
 

Taorn

Well-Known Member
Member
Joined
May 27, 2017
Messages
257
Trophies
0
Age
53
XP
1,838
Country
United States
The IP of your Switch seems quite odd. Are you sure that your PC and your Switch are on the same network? Maybe your Switch is in airplane mode?
 

EmulateLife

Well-Known Member
OP
Member
Joined
May 30, 2016
Messages
3,979
Trophies
0
Age
42
XP
1,889
Country
United States
The IP of your Switch seems quite odd. Are you sure that your PC and your Switch are on the same network? Maybe your Switch is in airplane mode?

Just checked, airplane mode is set to off.

Does the Switch need to be connected to Wifi while doing this? I assumed it didn't.
 
Last edited by ,

Taorn

Well-Known Member
Member
Joined
May 27, 2017
Messages
257
Trophies
0
Age
53
XP
1,838
Country
United States
Just checked, airplane mode is set to off.

Does the Switch need to be connected to Wifi while doing this? I assumed it didn't.

Yes, the Switch needs to be connected to your Wifi. Network install transfers the nsp over network to your Switch. The network being your Wifi, in this case.

If you don't want to connect your Switch to your Wifi, then you could take a look at usb install. Be warned that this way needs some setup in form of installing drivers on your pc.

The other alternative would be use one of the many DNS servers to block your Switch from connecting to Nintendos servers. That way you could connect your Switch to your Wifi without the associated risk of it calling home.
 
Last edited by Taorn,
  • Like
Reactions: EmulateLife

EmulateLife

Well-Known Member
OP
Member
Joined
May 30, 2016
Messages
3,979
Trophies
0
Age
42
XP
1,889
Country
United States
Thanks I'm dumb when it comes to this kind of stuff. Thought it could be done locally.

So I'll probably get banned using network install?

--------------------- MERGED ---------------------------

Well now I connected to wifi my IP is 192.168.88.170.. Still can't connect to console (on Boop GUI) and on remote_install_pc.py it still gives me an error and closes. It does it too fast for me to read the error.
 

Taorn

Well-Known Member
Member
Joined
May 27, 2017
Messages
257
Trophies
0
Age
53
XP
1,838
Country
United States
Thanks I'm dumb when it comes to this kind of stuff. Thought it could be done locally.

So I'll probably get banned using network install?

Yes, connecting your Switch to the internet could potentially get you banned, as your Switch will start to transfer telemetry to Nintendo.
If you want to avoid that, then take a look at 90DNS.

Well now I connected to wifi my IP is 192.168.88.170.. Still can't connect to console (on Boop GUI) and on remote_install_pc.py it still gives me an error and closes. It does it too fast for me to read the error.

Please try the following: (I'm assuming you are using Windows 10)
1. Open the folder where remote_install_pc.py is located in your Explorer
2. Hold SHIFT and right click on an empty space inside the window
3. Find the option "Open Powershell here"
4. In the resulting window type "cmd" (without the ") and press ENTER
5. Now type "python remote_install_pc.py" (without the ") and press ENTER

You should now see the complete output of the script. Post it here.
 

EmulateLife

Well-Known Member
OP
Member
Joined
May 30, 2016
Messages
3,979
Trophies
0
Age
42
XP
1,889
Country
United States
When I type python remote_install_pc.py it says 'python' is not recognized as an internal or external command,
operable program or batch file.

I did install python 3.7 32 bit. Do I need the 64 bit because I'm on a 64 bit computer?
 

Taorn

Well-Known Member
Member
Joined
May 27, 2017
Messages
257
Trophies
0
Age
53
XP
1,838
Country
United States
When I type python remote_install_pc.py it says 'python' is not recognized as an internal or external command,
operable program or batch file.

I did install python 3.7 32 bit. Do I need the 64 bit because I'm on a 64 bit computer?

Not necessarily. 32 bit software does work as well. The problem is that Python isn't on your PATH.
So basically Windows has no idea what it should use to execute the script.
We could now manually edit your PATH. But that would be cumbersome.
So I would suggest the following:

Deinstall your current 32-bit Python and install 64-bit Python from here.
While installating it, the installation should have a checkbox somewhere that asks you, if Python should be added to your PATH.
Should look somewhat like this:
win_installer.png

It's the "Add Python 3.5 to PATH" checkbox. If you see something like that during installation, then check it.

Don't be confused by the Version shown on the screenshot. It's just an example to make it easier to locate.

IMPORTANT:
Please close the powershell window we opened during the previous steps. It needs to be reopened after the new Python version is installed.
 
Last edited by Taorn,

EmulateLife

Well-Known Member
OP
Member
Joined
May 30, 2016
Messages
3,979
Trophies
0
Age
42
XP
1,889
Country
United States
Working on it, but it takes awhile and I need to leave for a short while will update when I get back. Thanks for your help.
 

EmulateLife

Well-Known Member
OP
Member
Joined
May 30, 2016
Messages
3,979
Trophies
0
Age
42
XP
1,889
Country
United States
I did click add to path this time still says 'python' is not recognized as an internal or external command,
operable program or batch file.

--------------------- MERGED ---------------------------

How do I do usb install?
 

EmulateLife

Well-Known Member
OP
Member
Joined
May 30, 2016
Messages
3,979
Trophies
0
Age
42
XP
1,889
Country
United States
Ok I moved remote_install_pc.py to the directory where python.exe is and I get

>>> python remote_install_pc.py
File "<stdin>", line 1
python remote_install_pc.py
^
SyntaxError: invalid syntax
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    BakerMan @ BakerMan: