Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 4 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save JulienRobitaille/bc54d4c64c498f6b1abc26eae91a2ae2 to your computer and use it in GitHub Desktop.
Save JulienRobitaille/bc54d4c64c498f6b1abc26eae91a2ae2 to your computer and use it in GitHub Desktop.
Raspberry pi zero W configure OTG mode script
#!/bin/bash
#This work for a Raspberry pi zero W 2018-04-18-raspbian-stretch-lite.
#Execute this in the boot directory once you've flashed raspbian
#Used in this project https://github.com/ClubCedille/RocketCam
echo "dtoverlay=dwc2" >> config.txt
sed -i 's/rootwait/rootwait modules-load=dwc2,g_ether/' cmdline.txt
touch ssh
@real-nate
Copy link

I saw your link from gbaman/HowToOTGFast.md about your bash script and it's great! I tried my hand at it as well as including some checks to not repeat data. Feel free to check it out at well! https://github.com/BigNate1234/rpi-USBSSH

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment