0

I have one raspberry pi zero connected to my windows pc via usb. It is connected as an RNDIS Gadget. I use VNC to operate it headless. I would like to connect a second pi zero in the same way. Is this possible? If so, how do I do it?

To be specific the problem I'm having is how to identify the second pi. VNC only sees the one "raspberrypi.local"

1
  • Unsure, but test if this is because they both have the same default name. Connect one, run sudo raspi-config and choose 1 (System Options), then S4 (Hostname) and try renaming one so they no longer have the same name. Jan 24, 2021 at 20:54

2 Answers 2

0

If you want to use multiple Pi (using ANY method) you should change the hostname.

Change using the menu item in raspi-config; DO NOT attempt to edit files as this this is more complex and error prone.

I have written a script to automate the process. This is handy when you have 9 Pi which you can find on this site if interested.

1
  • Worked perfectly. I will add there is an additional element that needs to be done in Windows. The two RNDIS Gadgets need to be bridged and THEN shared with internet connection. I found instructions for that here Jan 24, 2021 at 22:04
0

It is most definitely possible. You will have to change the hostname of one of your pi's though. The hostname you are connecting to, raspberrypi.local, is made possible through multicast DNS using the avahi daemon. How to change the hostname has been described in an excellent answer here.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.