{"id":24707,"date":"2022-07-18T16:01:28","date_gmt":"2022-07-18T15:01:28","guid":{"rendered":"https:\/\/ekiwi-blog.de\/?p=24707"},"modified":"2022-07-18T16:02:12","modified_gmt":"2022-07-18T15:02:12","slug":"raspberry-pi-linux-set-fixed-ip-address","status":"publish","type":"post","link":"https:\/\/ekiwi-blog.de\/en\/24707\/raspberry-pi-linux-set-fixed-ip-address\/","title":{"rendered":"Raspberry Pi \/ Linux  &#8211; Set fixed IP address"},"content":{"rendered":"<p>How do I set up a fixed IP address on the Raspberry Pi? How to set a fixed IP address on a Revolution Pi.<\/p>\n<p><!--more--><\/p>\n<p>We edit the configuration file:<\/p>\n<pre>\r\nsudo vim \/etc\/dhcpcd.conf\r\n<\/pre>\n<p>Optionally, of course, &#8220;nano&#8221; or another editor can be used.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2022\/07\/ip_linux_1.png\" alt=\"\" width=\"267\" height=\"44\" class=\"aligncenter size-full wp-image-24704\" \/><\/p>\n<p>Now insert the static IP address configuration here:<\/p>\n<pre>\r\ninterface eth0\r\nstatic ip_address=192.168.0.22\/24\r\nstatic ip6_address=fd51:42f8:caae:d92e::ff\/64\r\nstatic routers=192.168.0.1\r\nstatic domain_name_servers=192.168.0.1 8.8.8.8 fd51:42f8:caae:d92e::1\r\n<\/pre>\n<p>Done! After a reboot the IP address is fixed.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2022\/07\/ip_linux_2.png\" alt=\"\" width=\"685\" height=\"138\" class=\"aligncenter size-full wp-image-24706\" srcset=\"https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2022\/07\/ip_linux_2.png 685w, https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2022\/07\/ip_linux_2-300x60.png 300w\" sizes=\"auto, (max-width: 685px) 100vw, 685px\" \/><\/p>","protected":false},"excerpt":{"rendered":"<p>How do I set up a fixed IP address on the Raspberry Pi? How to set a fixed IP address<\/p>\n","protected":false},"author":1,"featured_media":23181,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1555],"tags":[],"class_list":["post-24707","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-software-en"],"_links":{"self":[{"href":"https:\/\/ekiwi-blog.de\/en\/wp-json\/wp\/v2\/posts\/24707","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ekiwi-blog.de\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ekiwi-blog.de\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ekiwi-blog.de\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ekiwi-blog.de\/en\/wp-json\/wp\/v2\/comments?post=24707"}],"version-history":[{"count":0,"href":"https:\/\/ekiwi-blog.de\/en\/wp-json\/wp\/v2\/posts\/24707\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ekiwi-blog.de\/en\/wp-json\/wp\/v2\/media\/23181"}],"wp:attachment":[{"href":"https:\/\/ekiwi-blog.de\/en\/wp-json\/wp\/v2\/media?parent=24707"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ekiwi-blog.de\/en\/wp-json\/wp\/v2\/categories?post=24707"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ekiwi-blog.de\/en\/wp-json\/wp\/v2\/tags?post=24707"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}