This is an old revision of the document!


Connect a Raspberry Pi Zero over USB

This is a manual for connecting a Raspberry Pi Zero to your computer via USB. After burning the image on your SD card one has to add the USB driver on startup. In /boot/config.txt write at the end of the text:

  dtoverlay=dwc2

and in /boot/cmdline.txt add after rootwait:

  modules-load=dwc2,g_ether

Create a new file named “ssh” in the boot folder

Connect the Pi Zero with an USB cable or an USB dongle to your computer and log in with SSH

  $ ssh pi@raspberrypi.local