Skip to content

Instantly share code, notes, and snippets.

@dwilkins
Created April 17, 2016 21:06
Show Gist options
  • Save dwilkins/03e068610f024e568cfdc7284c0ab5b2 to your computer and use it in GitHub Desktop.
Save dwilkins/03e068610f024e568cfdc7284c0ab5b2 to your computer and use it in GitHub Desktop.
# /etc/netctl/usbpizero
Description='pizero g_ether gadget'
Interface=usb0
Connection=ethernet
IP=static
Address=('192.168.7.3/24')
## Gateway address is the one we'll specify later
## in dhcpd.conf of the computer on the other end
## of the USB cable
Gateway='192.168.7.150'
DNS=('8.8.8.8')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment