RPI Zero W using USB ethernet via my PC

February 12, 2024, 17:13

sillycatsarecool

Hello, My RPI Zero W I had setup by adding a new line in config.txt and adding the stuff I needed to and also in cmdline.txt and created a file just called ssh, no extensions. I plugged my RPI into my pc via a micro usb cable to connect and I used the data port. My PC shows the ethernet and it connecting but whenever I do ping raspberrypi.local or try ssh to it, it says it doesn't recognise it, I'm using a 64gb micro sd card formatted for FAT32, the green light is showing on the RPI but I'm not sure what to do. Thank you

sillycatsarecool

When I try wireless it won't let me connect, I try go into my router page and it doesn't show it as connected and I don't have a mini HDMI.

badboygod

which software did u use to flash pi zero

sillycatsarecool

The raspberry pi imager

sillycatsarecool


k9t33n

do you have a display?

sillycatsarecool

No

sillycatsarecool

I don't have a Mini HDMI to hdmi.

k9t33n

ok

k9t33n

the only thing I can think of is your firewall

sillycatsarecool

I tried connecting it to my hotspot on my phone and still shows 0 devices connected

k9t33n

what is the green light like?

oops.se

Buy an HDMI mini adapter or cable and connect a display.

k9t33n

yes, perfect solution

sillycatsarecool

flashes for about 5 secs then is stable

k9t33n

good

badboygod

did u get a prompt like this ?

badboygod


badboygod

if u get this go to edit settings

badboygod


badboygod

and u will see this and this will set up the ssh correctly

sillycatsarecool

yeah i did all that

sillycatsarecool

like 10 times

badboygod

u using 5ghz or 2.4 ?

sillycatsarecool

2.4