Raspberry Pi: Setting a static IP address using dhcpcd.conf

To enable a static IP address on the Raspberry Pi append the following to the file /etc/dhcpcd.conf:

nodhcp
interface eth0
static ip_address=192.168.4.181/24
static routers=192.168.4.1

Resources

Tags:
Source:
1401hrs.txt
Published:
11-02-2016 14:01