Hi everyone!
Long time that I don’t ask a question here, I hope to not being rusted
But yes, there is a long time that I don’t install Nerves inside a Raspberry, so maybe my issue is related with some step or something that I am not remembering.
The case is that I am trying to use nerves_system_rpi0
in Raspberry Pi Zero (V1.3) but after do all the initial steps, I am not being able to access its iex
with ssh nerves.local
. ping nerves.local
don’t return results too.
The steps I am done, from the initial one, are:
mix nerves.new project_name
export MIX_TARGET=rpi0
mix deps.get
mix firmware
mix burn
(ask me correctly thesudo
password and apparently it finishes correctly).
Then I insert the SD card into the Raspberry Pi Zero, connect it with an USB (that I confirm it works as data transfer, not only load), and try:
ping nerves.local
, returns “ping: nerves.local: Nombre o servicio desconocido”.ssh nerves.local
, returns “ssh: Could not resolve hostname nerves.local: Name or service not known”.
Then I checked if it may be because I am connecting the USB to a USB hub connected to my laptop, but it doesn’t works connected to the laptop too. If I run lsusb
, connected to any of two options, and in any USB port of my laptop, I get:
Bus 001 Device 052: ID 0525:a4a2 Netchip Technology, Inc. Linux-USB Ethernet/RNDIS Gadget
This bus entry is the correct one (appears when connected, disappears when disconnected). I also can confirm I am connecting the USB in the data
port of the Raspberry (the one in the middle between the micro-HDMI and the power port).
I doesn’t touch nothing of the configuration, because as I remember, this feature works without any extra configuration. I recheck several times the Nerves’s Getting Started and nerves_system_rpi0
documentation, but I don’t see something related to any extra step. I also checked if there is some issue related opened in the repository of the system, but there aren’t any one related with this issue I am having.
If there is any more I can do to try to debug this issue, I will do whatever to get more information. But at this moment I can’t think of what else to do . And of course, if you think it may be an issue with the system, I can open one in the repository to try to help to solve it.
There is also the possibility that this Raspberry is broken or the USB port of it is broken or something else. There is a lot of time without use, but I think the last time I use it works .
Of course, thank you very much in advance for reading this long text!
Regards
Update (2024-10-01 22:03)
I finally achieve to access to the RPi0 without doing nothing. It seems something was “broken” inside and it wasn’t fixed until some hours. Maybe a clock issue? Because it is unsynchronized:
Uptime : 3 hours, 7 minutes and 0 seconds
Clock : 2024-08-30 23:33:42 UTC (unsynchronized)
Maybe related with some residual file of the previous Nerves it was in the SD card?
I get the dmesg
and RingLogger
logs once I accessed and I saw strange things. But it is too late so I will review it tomorrow and I will share with you the interesting parts or maybe everything hehe.