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
Next revisionBoth sides next revision
configure_static_ip_address [2016/07/24 14:22] walkeradminconfigure_static_ip_address [2016/07/25 00:13] walkeradmin
Line 6: Line 6:
 To edit the dhcpcd.conf file, enter: To edit the dhcpcd.conf file, enter:
 \\  \\ 
-//**sudo /etc/dhcpcd.conf**//+        sudo /etc/dhcpcd.conf
 \\  \\ 
 \\  \\ 
Line 12: Line 12:
 \\  \\ 
 \\  \\ 
-//**eth0 +    eth0 
-\\ static ip_address=192.168.1.14/24 +        static ip_address=192.168.1.14/24 
-\\ static routers=192.168.1.1 +        static routers=192.168.1.1 
-\\ static domain_name_servers=192.168.1.4**//+        static domain_name_servers=192.168.1.4
 \\  \\ 
 +Save the file.
 \\  \\ 
-Save and reboot. 
 \\  \\ 
 +To enable the changes you can either restart the network service:
 \\  \\ 
 +        sudo /etc/init.d/networking restart
 +\\
 +Or you can simply reboot:
 +\\ 
 +        sudo reboot
 +\\ 
 +\\ 
 +
  
configure_static_ip_address.txt · Last modified: 2023/03/09 22:35 by 127.0.0.1