Cj-tech

Admirable
Jan 27, 2021
534
67
8,940
I'm having a bit of a problem with my new Pi Zero. I'm trying to set it up so that Windows 10 can share it's internet connection through USB (so I can connect through SSH without a monitor). After following this guide (and a couple others), I insert the microSD card and plug the micro USB to USB-A cable into computer. After a couple minutes I try to SSH to raspberrypi.local from Putty. It doesn't connect.

I looked at Device Manager and the Pi doesn't appear under Network Adapters. As well, there isn't anything new under Control Panel > Network and Sharing Center > Change Adapter Settings.

Any tips would be appreciated.
 
I've found that having keyboard and monitor connected while setting up RPi is always helpful..
  • When you plg the USB cable - does Windows register a new device ?
  • Open command prompt, and execute "IPConfig" before and after plugging the cable. Is there a difference? You can redirect ipconfig' result to a file with "IPConfig >result1.txt", "IPConfig >result2.txt", and compare these files.
 

Cj-tech

Admirable
Jan 27, 2021
534
67
8,940
I've found that having keyboard and monitor connected while setting up RPi is always helpful..
  • When you plg the USB cable - does Windows register a new device ?
  • Open command prompt, and execute "IPConfig" before and after plugging the cable. Is there a difference? You can redirect ipconfig' result to a file with "IPConfig >result1.txt", "IPConfig >result2.txt", and compare these files.
No, Windows doesn't register a new device. There is also no difference between the two files. I'm going to test it on a monitor to make sure it is functioning.

Edit: I don't have a way to connect a keyboard to the Pi Zero.
 

Cj-tech

Admirable
Jan 27, 2021
534
67
8,940
No, Windows doesn't register a new device. There is also no difference between the two files. I'm going to test it on a monitor to make sure it is functioning.

Edit: I don't have a way to connect a keyboard to the Pi Zero.
Okay.... Now I feel stupid. I switched to a longer USB cable and it recognizes the Pi. I guess that the cable I was using doesn't support data transfer.... For other users with this issue, use a USB cable with data transfer capabilities. That issue is resolved. Thanks @Alabalcho for the ideas!

Edit: See below for continued discussion.
 
Last edited:
  • Like
Reactions: Alabalcho

Cj-tech

Admirable
Jan 27, 2021
534
67
8,940
I probably should start a new thread for this question... In Windows 10, I now have the Pi Zero v1.3 showing up in Device Manager. However, I can't SSH into it. It tells me "The host does not exist" when trying raspberrypi.local. It seems that Windows registers the device but doesn't share internet or assign an IP address.

Edit: Here are some pictures to help explain my issue....
Control Panel
Device Manager
Putty Error
 
Last edited:
I probably should start a new thread for this question... In Windows 10, I now have the Pi Zero v1.3 showing up in Device Manager. However, I can't SSH into it. It tells me "The host does not exist" when trying raspberrypi.local. It seems that Windows registers the device but doesn't share internet or assign an IP address.

Edit: Here are some pictures to help explain my issue....
Control Panel
Device Manager
Putty Error
Try logging-in over COM3 using Putty. Once you're in, check IP configuration with "ifconfig", you should see at least two entries (localhost, USB connection to Windows, and probably wireless). Try connecting using the IP address.
 

Cj-tech

Admirable
Jan 27, 2021
534
67
8,940
Try logging-in over COM3 using Putty. Once you're in, check IP configuration with "ifconfig", you should see at least two entries (localhost, USB connection to Windows, and probably wireless). Try connecting using the IP address.

Okay, I tried using the 'Serial' option and set it to COM3 and left it at speed 9600 (the settings in Device Manager). Here is a photo of the attempt: View: https://imgur.com/z3eiWJK


After pressing 'Open' I get the error in this photo: View: https://imgur.com/isGMfWE
 

Cj-tech

Admirable
Jan 27, 2021
534
67
8,940
Okay, I tried using the 'Serial' option and set it to COM3 and left it at speed 9600 (the settings in Device Manager). Here is a photo of the attempt: View: https://imgur.com/z3eiWJK


After pressing 'Open' I get the error in this photo: View: https://imgur.com/isGMfWE
I decided to check out my Windows 10 drivers because that seemed like the most likely issue. So, I started by installing Driver Booster from this list of recommendations for driver updating tools. It has a limit of one update per day, so I only did the Ports (COM & LTP) driver. Now the device appears in Network and Sharing Center and Device Manager:
View: https://imgur.com/cERc8AD

View: https://imgur.com/dhDAYvm


The problem is... It is disabled in Network and Sharing Center. In Device Manager it is not disabled. If I right-click the adapter and click Enable, a pop-up appears and says Enabling - then the pop-up switches to Enabled. However, Ethernet 3 is still disabled after this! My Wi-Fi adapter is able to share with the Ethernet 3 adapter, but it is disabled.... Any suggestions? Since the driver installer only allows one installation per day, do you know of any that allow more and are free?

Aside from being disabled, after a few minutes, the driver forced a blue screen and an error. This forced me to restore my system.

Edit: I am marking this thread as answered and starting a separate thread about Windows 10 internet sharing over USB.
 
Last edited: