Unable to SSH into rpi 0 WH via. USB

June 19, 2024, 02:11

combustiblel3m0n

While attempting to SSH into rpi 0 wh on my Windows device, i noticed that my pi is showing "Network Cable Unplugged" in "Control Panel\Network and Internet\Network Connections", and when i try pinging raspberrypi.local, it says that the host is not found. i am following the guide hosted here: https://notenoughtech.com/featured/raspberry-pi-zero-ssh-usb/

e_xie

it should be pi@raspberry.local

justaccsolol

your usb cable needs to have the data pins too

justaccsolol

and

justaccsolol

connect it to the second micro usb port

justaccsolol

with label 'usb

combustiblel3m0n

i did that

combustiblel3m0n

it is reading the pi, but instead of looking like this

combustiblel3m0n


combustiblel3m0n

it looks like this

combustiblel3m0n


combustiblel3m0n

ssh: Could not resolve hostname raspberry.local: No such host is known.

combustiblel3m0n

???

idevourchildrenn

raspberrypi.local

combustiblel3m0n

Same result

idevourchildrenn

set the ip adress and stuff

idevourchildrenn

then ssh into it

combustiblel3m0n

I did

combustiblel3m0n

It says it timed out

idevourchildrenn

not supposed to come with an x btw

idevourchildrenn

which os

combustiblel3m0n

Windows

idevourchildrenn

on the pi

idevourchildrenn

i know its windows

combustiblel3m0n

Gimme 1 min

idevourchildrenn

alr

combustiblel3m0n

<@573947143639793673> it's RPI OS (32 Bit)

oops.se

Try ping raspberrypi without the "local"

combustiblel3m0n

Ping request could not find host raspberrypi. Please check the name and try again.

combustiblel3m0n

do u know if a premade iso of rpi with ssh working exists?

thunder07337

When installing the OS, did you give the Pi the name Raspberry as the host or did you enter a different name?

combustiblel3m0n

I made no os customization

oops.se

If you can't reach it over USB gadget, it can be any of the following: Raspberry Pi 1. No IP, check by logging in to the Raspberry Pi and type ip a to validate that it has a IP on the correct interface 2. SSH wasn't enabled when creating the SD card. 3. Cable is unconnected or broken. 4. USB Gadgets isn't installed correctly. PC (Windows) 1. RNDIS drivers isn't installed. 2. SSH client isn't installed?

idevourchildrenn

can i get a link for the drivers btw

justaccsolol

its for windows although outdated, some of them works for no reason at all

oops.se

The reason for that they are outdated is that there is no need to update the RNDIS driver, it is a quite simple driver.

combustiblel3m0n

How would I install ssh during sd creation?

combustiblel3m0n

All the other problems are not there

combustiblel3m0n

I have gotten ssh to work on this pi before

justaccsolol

put a blank file without file extension called 'ssh'

justaccsolol

in the root of the micro sd

justaccsolol

aka boot partition

combustiblel3m0n

I did that

combustiblel3m0n

Then I did nothing wrong, but it failed?

combustiblel3m0n

???

oops.se

Check out https://discord.com/channels/818384379197784084/1193923435789824050 and you see a tab named "Services" there you check the SSH box and it is enabled during the SD creation.

oops.se

And you did this before the first boot with the SD-card? The second time and thereafter it will NOT check for a ssh file that enables the SSH service.

combustiblel3m0n

i have retried formatting using all of your guy's advice, but to no avail

combustiblel3m0n

same error

oops.se

Connect a keyboard and display to the Raspberry Pi and can you login that way? And then do a ip a and post the result