Skip to content

Instantly share code, notes, and snippets.

@ruisebastiao
Last active January 20, 2016 16:03
Show Gist options
  • Save ruisebastiao/3e845d0983d1a0fa99c1 to your computer and use it in GitHub Desktop.
Save ruisebastiao/3e845d0983d1a0fa99c1 to your computer and use it in GitHub Desktop.
Add static ip profile in /etc/dhcpcd.conf
# define static profile
profile static_eth0
static ip_address=192.168.250.5/24
static routers=192.168.250.4
static domain_name_servers=192.168.250.4
# fallback to static profile on eth0
interface eth0
fallback static_eth0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment