Skip to content

Instantly share code, notes, and snippets.

@fookingthg
Created December 23, 2018 10:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fookingthg/f004f22ea03d50a28cbd2d21535042b5 to your computer and use it in GitHub Desktop.
Save fookingthg/f004f22ea03d50a28cbd2d21535042b5 to your computer and use it in GitHub Desktop.
Static IP on Raspi Stretch
Edit /etc/dhcpcd.conf
interface wlan0
static ip_address=192.168.1.10/24
static domain_name_servers=192.168.1.1 8.8.8.8
static routers=192.168.1.1
sudo systemctl restart dhcpcd.service
sudo reboot
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment