{"id":3451,"date":"2020-10-08T08:21:46","date_gmt":"2020-10-08T08:21:46","guid":{"rendered":"https:\/\/raspberry-projects.com\/pi\/?p=3451"},"modified":"2020-10-08T08:23:50","modified_gmt":"2020-10-08T08:23:50","slug":"reset-network-interface","status":"publish","type":"post","link":"https:\/\/raspberry-projects.com\/pi\/pi-operating-systems\/raspbian\/network-settings\/reset-network-interface","title":{"rendered":"Reset Network Interface"},"content":{"rendered":"\n<p>After Changes to the network interface configuration, you have to restart the network interface using this (assuming the interface is called &#8220;eth0&#8221;).<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo ifdown eth0 &amp;&amp; sudo ifup eth0\n\nsudo ifdown wlan0 &amp;&amp; sudo ifup wlan0<\/code><\/pre>\n\n\n\n<p>Alternative if you get error message (&#8220;ifdown: unknown interface wlan0&#8221;) for wlan0<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo ifconfig wlan0 down &amp;&amp; sudo ifconfig wlan0 up<\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">WiFi interface reset doesn&#8217;t work?<\/h4>\n\n\n\n<p>We&#8217;ve found using Raspberry Pi OS Buster the above commands no longer cause the WiFi interace to pick up changes made to wpa_supplicant.conf.  The following command does work instead:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo wpa_cli -i wlan0 reconfigure<\/code><\/pre>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>After Changes to the network interface configuration, you have to restart the network interface using this (assuming the interface is called &#8220;eth0&#8221;). Alternative if you get error message (&#8220;ifdown: unknown interface wlan0&#8221;) for wlan0 WiFi interface reset doesn&#8217;t work? We&#8217;ve found using Raspberry Pi OS Buster the above commands no longer cause the WiFi interace [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[38],"tags":[],"class_list":["post-3451","post","type-post","status-publish","format-standard","hentry","category-network-settings"],"_links":{"self":[{"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/posts\/3451","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/comments?post=3451"}],"version-history":[{"count":2,"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/posts\/3451\/revisions"}],"predecessor-version":[{"id":3454,"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/posts\/3451\/revisions\/3454"}],"wp:attachment":[{"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/media?parent=3451"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/categories?post=3451"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/tags?post=3451"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}