简体   繁体   中英

Raspberry pi zero ssh over usb in manjaro

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM