Ping RasPi through Windows PowerShell

May 28, 2024, 00:02

nemonobody11

Hello I'm working through an introductory tutorial to RasPi and I'm unable to complete the remote access step as described here: https://docs.sunfounder.com/projects/raphael-kit/en/latest/install_setup_os/remote_windows.html I have enabled the SSH radio button on the RasPi and I believe it's host name is "raspberrypi" but when I run the "ping -4 raspberrypi.local" command in PowerShell I receive this message: "Ping request could not find host raspberrypi.local. Please check the name and try again." Any help is appreciated. Thanks!

e_xie

vibroplex

Your network is most likely not ".local" but something else, that your router will provide. So you should check that. I never had a system, that named the local domain .local actually, but there seem to be routers out there, that are setup like that. First check your IP with the RPi. Then ping that IP directly. Then check how your RPi is named by your network. cat /etc/resolv.conf There it should show. And that's the name. In my system # Generated by resolvconf domain fritz.box nameserver 127.0.0.1 So the domain is fritz.box If I call my rpi "colossus" then it would be colossus.fritz.box it would never react to colossus.local. Never.

vibroplex

https://www.youtube.com/watch?v=3TzcuJvR6YM Hope you get the pop culture reference. If not: watch the movie.

vibroplex

The computer portrayed there was, by the way, AN-FSQ-7, there is a book about that thing and this computer was a house. (Bernd Ulmann) AN/FSQ-7: the computer that shaped the Cold War. The RPi1 is about a 1440 times faster and more powerful than that. At least, I'm just comparing MIPS here, without the true power of the GPU. And the rest even above that. With anything less than coordinating the next thermonuclear war or landing a city on the moon with a fleet of Atlas rockets, the RPi is utterly bored.

oops.se

Have you tried to ping from a cmd shell? And try to remove local and just ping raspberrypi

nemonobody11

Thank you! This looks like it worked.

e_xie

yeah lol i just noticed that ur ping command looked weird