{"id":201,"date":"2018-03-07T08:13:46","date_gmt":"2018-03-06T19:13:46","guid":{"rendered":"https:\/\/content.ronella.xyz\/apps\/wordpress\/?p=201"},"modified":"2020-10-08T17:15:09","modified_gmt":"2020-10-08T04:15:09","slug":"configure-tinker-board-with-static-ip","status":"publish","type":"post","link":"https:\/\/www.ronella.xyz\/?p=201","title":{"rendered":"Configure Tinker Board with Static IP"},"content":{"rendered":"<ol>\n<li style=\"list-style-type: none;\">\n<ol>\n<li>Using terminal go to \/etc\/network\/interfaces.d directory.<\/li>\n<li>Create a file <em>(e.g. ipv4)<\/em> with the following content for IPv4:\n<pre>auto eth0\r\n iface eth0 inet static\r\n address &lt;desired IP address for eth0&gt;\r\n netmask &lt;valid netmask&gt;\r\n gateway &lt;gateway address&gt;\r\n #The following dns-nameservers field is optional\r\n #dns-nameservers &lt;dns addresses delimited by space&gt;\r\n\r\nauto wlan0\r\n iface wlan0 inet static\r\n address &lt;desired IP address for wlan0&gt;\r\n netmask &lt;valid netmask&gt;\r\n gateway &lt;gateway address&gt;\r\n #The following dns-nameservers field is optional\r\n #dns-nameservers &lt;dns addresses delimited by space&gt;<\/pre>\n<p><strong>Example<\/strong><\/p>\n<pre>auto eth0\r\n iface eth0 inet static\r\n address 192.168.0.100\r\n netmask 255.255.255.0\r\n gateway 192.168.0.1\r\n dns-nameservers 8.8.8.8 8.8.4.4\r\n\r\nauto wlan0\r\n iface wlan0 inet static\r\n address 192.168.0.101\r\n netmask 255.255.255.0\r\n gateway 192.168.0.1<\/pre>\n<\/li>\n<li>Disable the DHCPCD service using the following command:\n<pre>sudo systemctl disable dhcpcd.service<\/pre>\n<\/li>\n<li>Attach a LAN cable to your tinker board and run the following command:\n<pre>sudo systemctl restart networking<\/pre>\n<p>Check your IP using the following command:<\/p>\n<pre>ip addr show<\/pre>\n<p>You might also want to disable the network manager using the following command if you don't need a desktop UI:<\/p>\n<pre>sudo systemctl disable NetworkManager<\/pre>\n<p>&nbsp;<\/li>\n<\/ol>\n<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>Using terminal go to \/etc\/network\/interfaces.d directory. Create a file (e.g. ipv4) with the following content for IPv4: auto eth0 iface eth0 inet static address &lt;desired IP address for eth0&gt; netmask &lt;valid netmask&gt; gateway &lt;gateway address&gt; #The following dns-nameservers field is optional #dns-nameservers &lt;dns addresses delimited by space&gt; auto wlan0 iface wlan0 inet static address &lt;desired [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[24],"tags":[],"_links":{"self":[{"href":"https:\/\/www.ronella.xyz\/index.php?rest_route=\/wp\/v2\/posts\/201"}],"collection":[{"href":"https:\/\/www.ronella.xyz\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ronella.xyz\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ronella.xyz\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ronella.xyz\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=201"}],"version-history":[{"count":5,"href":"https:\/\/www.ronella.xyz\/index.php?rest_route=\/wp\/v2\/posts\/201\/revisions"}],"predecessor-version":[{"id":1322,"href":"https:\/\/www.ronella.xyz\/index.php?rest_route=\/wp\/v2\/posts\/201\/revisions\/1322"}],"wp:attachment":[{"href":"https:\/\/www.ronella.xyz\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=201"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ronella.xyz\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=201"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ronella.xyz\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=201"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}