Skip to content

Instantly share code, notes, and snippets.

View Kamasoutra's full-sized avatar
🦄
baking magic

Jean-Pierre Palik Kamasoutra

🦄
baking magic
View GitHub Profile
#!/bin/bash
# Automatically setup routing and DNS for a PiZero connected over a USB-network
# Based off https://gist.github.com/lurch/ad939bbce48064cffdb215268eac9f62
# Need to have booted PI Zero with config.txt option "dtoverlay=dwc2"
# and cmdline.txt parameter "modules-load=dwc2,g_ether"
# TODO
# Force PI to have fixed MAC address like e6:45:88:d0:85:46
# For now, edit cmdline.txt in the boot partition on the pi SD card, add:-
# g_ether.dev_addr=e6:45:88:d0:85:46
@Kamasoutra
Kamasoutra / keybase.md
Created January 24, 2017 09:51
keybase.md

Keybase proof

I hereby claim:

  • I am kamasoutra on github.
  • I am kama (https://keybase.io/kama) on keybase.
  • I have a public key ASAVOrO8e-G6HkW3Uun9mJipPUdoK-1weoHTR88rHMB2gQo

To claim this, I am signing this object: