{"id":2173,"date":"2020-01-09T10:52:31","date_gmt":"2020-01-09T05:22:31","guid":{"rendered":"https:\/\/www.mka.in\/wp\/?p=2173"},"modified":"2020-01-09T13:50:21","modified_gmt":"2020-01-09T08:20:21","slug":"add-static-ips-on-raspbian","status":"publish","type":"post","link":"https:\/\/www.mka.in\/wp\/add-static-ips-on-raspbian\/","title":{"rendered":"Add static IPs on raspbian"},"content":{"rendered":"\n<p>Most of the times you need raspberry pi remote access over static IP. Here is quick note on how to add static IP on raspbian OS.<\/p>\n\n\n\n<p>Edit \/etc\/dhcpcd.conf as sudo and add following lines to add static IPs on ethernet and wifi interfaces of raspberry pi.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\ninterface eth0\nstatic ip_address=192.168.0.6\/24\nstatic routers=192.168.0.1\n\ninterface wlan0\nstatic ip_address=192.168.0.5\/24\nstatic routers=192.168.0.1<\/code><\/pre>\n\n\n\n<p>Reboot system and you can now access raspberry on assigned static IPs.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Most of the times you need raspberry pi remote access over static IP. Here is quick note on how to add static IP on raspbian OS. Edit \/etc\/dhcpcd.conf as sudo and add following lines to add static IPs on ethernet and wifi interfaces of raspberry pi. Reboot system and you can now access raspberry on [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":2175,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-2173","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tech-bytes"],"_links":{"self":[{"href":"https:\/\/www.mka.in\/wp\/wp-json\/wp\/v2\/posts\/2173","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.mka.in\/wp\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.mka.in\/wp\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.mka.in\/wp\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.mka.in\/wp\/wp-json\/wp\/v2\/comments?post=2173"}],"version-history":[{"count":1,"href":"https:\/\/www.mka.in\/wp\/wp-json\/wp\/v2\/posts\/2173\/revisions"}],"predecessor-version":[{"id":2174,"href":"https:\/\/www.mka.in\/wp\/wp-json\/wp\/v2\/posts\/2173\/revisions\/2174"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.mka.in\/wp\/wp-json\/wp\/v2\/media\/2175"}],"wp:attachment":[{"href":"https:\/\/www.mka.in\/wp\/wp-json\/wp\/v2\/media?parent=2173"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.mka.in\/wp\/wp-json\/wp\/v2\/categories?post=2173"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.mka.in\/wp\/wp-json\/wp\/v2\/tags?post=2173"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}