configure_static_ip_address
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
configure_static_ip_address [2016/07/24 20:57] – walkeradmin | configure_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 // | Raspbian Jesse changed the way a static IP Address is configured. The static IP settings are now held in a file located in the // | ||
- | \\ | ||
\\ | \\ | ||
To edit the dhcpcd.conf file, enter: | To edit the dhcpcd.conf file, enter: | ||
\\ | \\ | ||
- | //**sudo / | + | |
- | \\ | + | |
\\ | \\ | ||
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 17: | Line 15: | ||
static domain_name_servers=192.168.1.4 | static domain_name_servers=192.168.1.4 | ||
\\ | \\ | ||
+ | Save the file. | ||
+ | \\ | ||
+ | \\ | ||
+ | To enable the changes you can either restart the network service: | ||
+ | \\ | ||
+ | sudo / | ||
+ | \\ | ||
+ | Or you can simply reboot: | ||
\\ | \\ | ||
- | Save and reboot. | + | sudo reboot |
\\ | \\ | ||
\\ | \\ | ||
+ | |||
configure_static_ip_address.1469390237.txt.gz · Last modified: 2023/03/09 22:35 (external edit)