{"id":216,"date":"2014-09-15T12:52:51","date_gmt":"2014-09-15T10:52:51","guid":{"rendered":"http:\/\/catyellow.net\/blog\/?p=216"},"modified":"2018-06-02T22:54:40","modified_gmt":"2018-06-02T20:54:40","slug":"configuring-static-ip-for-wlan0-on-raspberry-pi","status":"publish","type":"post","link":"https:\/\/catyellow.net\/blog\/?p=216","title":{"rendered":"Configuring static IP for wlan0 on Raspberry Pi"},"content":{"rendered":"<p>Recently I bought Raspberry Pi just for fun and some tests.<\/p>\n<p>Today I bought a wireless adapter for it: ASUS USB-N10 (no needs to play with drivers or anything) and tried to configure the network. So after some docs reading and tries &#8211; this is working config (the network I used at this moment had WEP key, for WPA you must use other settings):<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\n$ cat \/etc\/network\/interfaces \r\nauto lo\r\n\r\niface lo inet loopback\r\niface eth0 inet dhcp\r\n\r\nallow-hotplug wlan0\r\niface wlan0 inet static\r\n\taddress 192.168.2.57\r\n\tnetmask 255.255.0.0\r\n\tgateway 192.168.2.1\r\n\tdns-nameservers 8.8.8.8\r\n\twireless-essid mynetid\r\n\twireless-key s:keymustbehere\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Recently I bought Raspberry Pi just for fun and some tests. Today I bought a wireless adapter for it: ASUS USB-N10 (no needs to play with drivers or anything) and tried to configure the network. So after some docs reading and tries &#8211; this is working config (the network I used at this moment had [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[50,51],"_links":{"self":[{"href":"https:\/\/catyellow.net\/blog\/index.php?rest_route=\/wp\/v2\/posts\/216"}],"collection":[{"href":"https:\/\/catyellow.net\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/catyellow.net\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/catyellow.net\/blog\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/catyellow.net\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=216"}],"version-history":[{"count":2,"href":"https:\/\/catyellow.net\/blog\/index.php?rest_route=\/wp\/v2\/posts\/216\/revisions"}],"predecessor-version":[{"id":348,"href":"https:\/\/catyellow.net\/blog\/index.php?rest_route=\/wp\/v2\/posts\/216\/revisions\/348"}],"wp:attachment":[{"href":"https:\/\/catyellow.net\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=216"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/catyellow.net\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=216"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/catyellow.net\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=216"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}