Skip to content

Instantly share code, notes, and snippets.

@t0mmyt
Created November 1, 2017 18:43
Show Gist options
  • Save t0mmyt/00b5026e74b6c24303caa5977f6f4f0e to your computer and use it in GitHub Desktop.
Save t0mmyt/00b5026e74b6c24303caa5977f6f4f0e to your computer and use it in GitHub Desktop.
Raspbeery Pi Stretch Headless
touch /boot/ssh
add `net.ifnames=0` to /boot/cmdline.txt
echo cat <<EOF > /etc/network/interfaces.d/eth0
auto eth0
iface eth0 inet static
address 172.16.1.20
netmask 255.255.255.0
gateway 172.16.1.1
EOF
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment