Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Raspbian Static IP config

Applicable to:

$ lsb_release -a
No LSB modules are available.
Distributor ID:	Raspbian
Description:	Raspbian GNU/Linux 8.0 (jessie)
Release:	8.0
Codename:	jessie

In /etc/dhcpcd.conf:

Example configuration for wireless (use $ ifconfig to find interface names). Add to bottom of dhcpcd.conf (new lines under existing info that is there by default):

interface wlan0
static ip_address=
static routers=
static domain_name_servers=

Reboot and verify static IP:
hostname -I

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment