Skip to content

Instantly share code, notes, and snippets.

@pilotak
Created December 8, 2017 18:08
Show Gist options
  • Save pilotak/aa43986e6e237606afbc59f13e73cca2 to your computer and use it in GitHub Desktop.
Save pilotak/aa43986e6e237606afbc59f13e73cca2 to your computer and use it in GitHub Desktop.
  • On SD card in Windows locate config.txt add new line with dtoverlay=dwc2
  • open file cmdline.txt and just after rootwait add modules-load=dwc2,g_ether with space inbetween
  • insert card to Pi and insert USB cable to USB labeled micro USB
  • driver will install itself, if not select manual install of driver -> From list -> Network device -> Microsoft -> Remote NDIS compatible device
  • SSH to Pi with name raspberrypi.local (Bonjour must be installed)

Set static IP address

so that you don't need to run Bonjour

echo -e "interface usb0 \nstatic ip_address=169.254.71.164" | sudo tee -a /etc/dhcpcd.conf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment