Skip to content

Instantly share code, notes, and snippets.

@mohankumargupta
Last active June 9, 2016 09:02
Show Gist options
  • Save mohankumargupta/21743689a4e1225e1ca3f4c0d22d842b to your computer and use it in GitHub Desktop.
Save mohankumargupta/21743689a4e1225e1ca3f4c0d22d842b to your computer and use it in GitHub Desktop.
(Taken from http://blog.gbaman.info/?p=791)
1. Install Bonjour Print Services (https://support.apple.com/kb/DL999)
2. Start from scratch, copy Raspian Jessie to SD card (can use SDFormatter to clean SD card).
3. Open SD Card in File Explorer
add to bottom of config.txt:
dtoverlay=dwc2
change cmdline.txt to something like the following:
dwc_otg.lpm_enable=0 console=serial0,115200 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait modules-load=dwc2,g_ether quiet init=/usr/lib/raspi-config/init_resize.sh
4. eject SD card, put into pi zero and boot.
5. Wait 2 minutes, plug in USB cable, and then try to SSH to raspberrypi.local
6. To get internet:
6.1 Enable Internet Connection Sharing on the adapter that has internet (Control Panel > Network and sharing center > Adaptor settings > Properties > Sharing) .
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment