# Raspberry Pi ## Setup static ip - Edit configuration file `sudoedit /etc/dhcpcd.conf` - Fill this in the file: ``` interface static ip_address=/24 static routers= static domain_name_servers= ```
Example configuration ``` interface wlan0 static ip_address=192.168.1.100/24 static routers=192.168.1.1 static domain_name_servers=192.168.1.1 ```
- Reboot `sudo reboot` - Should use configured ip address now