Skip to content

Instantly share code, notes, and snippets.

@yratof
Created November 18, 2016 08:29
Show Gist options
  • Save yratof/59bf46a3b5254cd426721571610b203a to your computer and use it in GitHub Desktop.
Save yratof/59bf46a3b5254cd426721571610b203a to your computer and use it in GitHub Desktop.
SSH into Pi zero with Internet on MacOS
# Build your SD card with PiFiler
# Mount ROOT on your MacOS
# Open config.txt and place this at the bottom
dtoverlay=dwc2
# Save and open cmdline.txt
# find rootwait and add this after
modules-load=dwc2,g_ether
# On MacOS, head to settings
# and Sharing. Enable Internet Sharing
# from WIFI to Ethernet / Gadgets
# SSH into the pi via USB
ssh [email protected]
sudo apt-get update && sudo apt-get upgrade
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment