Difference between revisions of "/etc/dhcpcd.conf"
Jump to navigation
Jump to search
(Created page with "{{Draft}} == See also == * {{Pi}}") Tags: Mobile web edit, Mobile edit |
Tags: Mobile web edit, Mobile edit |
||
(5 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
+ | To configure a static ip in <code>[[eth0]]</code> interface. | ||
+ | |||
+ | /etc/dhcpcd.conf | ||
+ | interface eth0 | ||
+ | static ip_address=192.168.0.4/24 | ||
+ | static routers=192.168.0.254 | ||
+ | static domain_name_servers=192.168.0.254 8.8.8.8 | ||
+ | |||
+ | == Related terms == | ||
+ | * <code>[[dhcpcd]]</code> | ||
== See also == | == See also == | ||
+ | * {{dhcpcd}} | ||
* {{Pi}} | * {{Pi}} | ||
+ | |||
+ | |||
+ | [[Category:Computing]] | ||
+ | [[Category:DHCP]] |
Latest revision as of 03:46, 9 September 2021
Advertising: