User Tools

Site Tools


configure_static_ip_address

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
configure_static_ip_address [2016/07/24 20:59] walkeradminconfigure_static_ip_address [2023/03/09 22:35] (current) – external edit 127.0.0.1
Line 2: Line 2:
 \\  \\ 
 Raspbian Jesse changed the way a static IP Address is configured. The static IP settings are now held in a file located in the //**/etc**// directory called //**dhcpcd.conf**// Raspbian Jesse changed the way a static IP Address is configured. The static IP settings are now held in a file located in the //**/etc**// directory called //**dhcpcd.conf**//
-\\  
 \\  \\ 
 To edit the dhcpcd.conf file, enter: To edit the dhcpcd.conf file, enter:
 \\  \\ 
-//**sudo /etc/dhcpcd.conf**// +        sudo nano /etc/dhcpcd.conf
-\\ +
 \\  \\ 
 At the end of the file add the following lines (with your own IP Address values) At the end of the file add the following lines (with your own IP Address values)
Line 22: Line 20:
 To enable the changes you can either restart the network service: To enable the changes you can either restart the network service:
 \\  \\ 
-        /etc/init.d/networking restart+        sudo /etc/init.d/networking restart
 \\ \\
 Or you can simply reboot: Or you can simply reboot:
configure_static_ip_address.1469390386.txt.gz · Last modified: 2023/03/09 22:35 (external edit)