Skip to content

Instantly share code, notes, and snippets.

@jmeridth
Created April 9, 2018 12:38
Show Gist options
  • Save jmeridth/a682b66c201762bf1d59b44ccaf42aa0 to your computer and use it in GitHub Desktop.
Save jmeridth/a682b66c201762bf1d59b44ccaf42aa0 to your computer and use it in GitHub Desktop.
Set static IP address on raspberrypi
pi@k8s-5:~ $ sudo su
root@k8s-5:/home/pi# cat /etc/dhcpd.conf
profile static eth0
static ip_address=192.168.1.200/24
static routers=192.169.1.1
static domain_name_servers=8.8.8.8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment