Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
raspberry:zero_over_usb [2020/03/05 19:09]
admin
raspberry:zero_over_usb [2021/05/31 22:55]
admin [on Arch Linux]
Line 2: Line 2:
  
 This is a manual for connecting a Raspberry Pi Zero to your computer via 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. To change the DesignWare Core to 2 write in /boot/config.txt at the end of the text:+After burning the image on your SD card one has to add the USB driver on startup. \\ 
 + 
 +Enable SSH on the Raspberry Pi in:\\ 
 +  $ sudo raspi-config 
 +or create a new file named "ssh" in the boot folder\\ 
 + 
 +To change the DesignWare Core to 2 write in /boot/config.txt at the end of the text:
     dtoverlay=dwc2     dtoverlay=dwc2
-and in /boot/cmdline.txt add after rootwait:+and in /boot/cmdline.txt add after rootwait (leaving only one space):
     modules-load=dwc2,g_ether     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 [[https://magpi.raspberrypi.org/articles/stick-pc-pi-zero|USB dongle]] to your computer and log in with SSH Connect the Pi Zero with an USB cable or an [[https://magpi.raspberrypi.org/articles/stick-pc-pi-zero|USB dongle]] to your computer and log in with SSH
     $ ssh pi@raspberrypi.local     $ ssh pi@raspberrypi.local
Line 19: Line 24:
    $ sudo pacman -S avahi nss-mdns    $ sudo pacman -S avahi nss-mdns
 Start the avahi-daemon.service Start the avahi-daemon.service
 +   $ sudo systemctl enable avahi-daemon.service
    $ systemctl start avahi-daemon.service    $ systemctl start avahi-daemon.service
 Edit the edit the file /etc/nsswitch.conf and include mdns_minimal [NOTFOUND=return] before resolve:  Edit the edit the file /etc/nsswitch.conf and include mdns_minimal [NOTFOUND=return] before resolve: