User Tools

Site Tools


toolsandtechnologies:raspberrypiip

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
toolsandtechnologies:raspberrypiip [2017/08/11 15:52] 1carew1toolsandtechnologies:raspberrypiip [2021/06/25 10:09] (current) – external edit 127.0.0.1
Line 1: Line 1:
 +====== How to create a Static IP on the Raspberry PI ======
 +  * Do an ifconfig and see what interface you are using - wlan0, eth0 etc
 +  * # Edit the dhcpcd.conf file and down the very end add the following
 +  * sudo nano /etc/dhcpcd.conf
 +  * <code>
 +# Set static ip for Ethernet
 +                   interface eth0
 +                   static ip_address=10.5.5.72/24
 +                   static routers=10.5.5.1
 +                   static domain_name_servers=10.91.100.71
 +
 +</code>
 +  * Save the file, restart the pi and the IP should be static