nerves icon indicating copy to clipboard operation
nerves copied to clipboard

Unable to run `ssh nerves.local` from MacOS with Raspberry Pi 5

Open zteln opened this issue 5 months ago • 1 comments

Environment

elixir -v
Erlang/OTP 27 [erts-15.1] [source] [64-bit] [smp:10:10] [ds:10:10:10] [async-threads:1] [jit]

Elixir 1.17.3 (compiled with Erlang/OTP 27)

uname -a
Darwin <HOSTNAME>.local 24.6.0 Darwin Kernel Version 24.6.0: Mon Jul 14 11:30:29 PDT 2025; root:xnu-11417.140.69~1/RELEASE_ARM64_T6000 arm64

The raspberry pi 5 contains an SD card with firmware burned via mix firmware.burn. The nerves project is a completely new nerves project via mix nerves.new <PROJECT_NAME>.

Current behaviour

Running ssh nerves.local returns nothing and only hangs the shell. Pinging returns:

ping nerves.local
ping: cannot resolve nerves.local: Unknown host

Expectation

To be able to access the IEx shell from the laptop when connected via USB-C to the raspberry pi 5.

Is there some mDNS config that is preventing ssh from connecting to nerves.local that could be added to the docs to make it work?

zteln avatar Sep 30 '25 15:09 zteln

I can reproduce. Sorry about this. I don't think it's an mDNS configuration issue. I don't think anything is getting through.

I hope you're able to connect via wired Ethernet or WiFi in the interim. It will take me a bit to look into this. It's not too common due to RPi5 power requirements.

fhunleth avatar Sep 30 '25 16:09 fhunleth