I want to connect to a raspberry pi zero (running raspbian lite) over ssh by using the ethernet over usb option. I've modified the config.txt
and cmdline.txt
, and create the ssh
-file as described here, then connected the pi to my laptop using a mirco-usb-cable. The usb0-interface shows up as soon as the pi is plugged in, gets an Ipv6 and Ipv4 address, and I have configured the Ipv4-Method to Link-Local-Only.
However, I can't find the pi in the network. I did
ping raspberrypi.local
which returns an error Name or service not found
.
I am running Manjaro Linux (the GNOME variant) as OS.
If anyone else is running into the same problem, it works now for me after I found this incredible helpful solution.
As some additional note: I got an error message after step 4: avahi-resolve -n raspberrypi.local
saying that the daemon is not running. I solved this by starting the corresponding daemon
$ sudo systemctl start avahi-resolve.service