Skip to content

Instantly share code, notes, and snippets.

@lgraubner
Created August 25, 2017 19:49
Show Gist options
  • Save lgraubner/e029cef875db08a08b17a08a61c54f7c to your computer and use it in GitHub Desktop.
Save lgraubner/e029cef875db08a08b17a08a61c54f7c to your computer and use it in GitHub Desktop.
Static IP on Raspbian Jessi/Stretch
# append to /etc/dhcpcd.conf
# after edit:
# sudo /etc/init.d/networking restart
interface eth0
static ip_address=192.168.2.201/24
static routers=192.168.2.1
static domain_name_servers=192.168.2.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment