{"id":179,"date":"2012-11-16T17:57:40","date_gmt":"2012-11-16T17:57:40","guid":{"rendered":"http:\/\/mitat.tuu.fi\/?p=179"},"modified":"2012-11-16T18:00:31","modified_gmt":"2012-11-16T18:00:31","slug":"few-tweaks-for-raspberry-pi","status":"publish","type":"post","link":"http:\/\/mitat.tuu.fi\/?p=179","title":{"rendered":"Few tweaks for Raspberry Pi"},"content":{"rendered":"<p>Use Adafruit&#8217;s <a href=\"http:\/\/learn.adafruit.com\/adafruit-raspberry-pi-educational-linux-distro\/overview\">Occidentalis<\/a> distro as your base system. It has all neat stuff done for you (sshd running pi\/raspberry). It also includes wlan driver for Asus USB-N10 USB WLAN-adapter (which is great and goes through one celement floor).<\/p>\n<p>Make your system up to date by running this command sequence:<\/p>\n<p><code>rm \/etc\/ssh\/ssh_host_* &amp;&amp; dpkg-reconfigure openssh-server<br \/>\napt-get -y update<br \/>\napt-get -y install locales<br \/>\napt-get -y install ntpdate<br \/>\nntpdate uk.pool.ntp.org<br \/>\napt-get -y install ntp fake-hwclock<br \/>\nrpi-update<br \/>\napt-get -y dist-upgrade<\/code><\/p>\n<p>Make a temp filesystem to store logs and all running stuff. Add this row to \/etc\/fstab:<\/p>\n<p><code>tmpfs \/var\/tmp tmpfs nodev,nosuid,size=50M 0 0<\/code><\/p>\n<p>Edit \/etc\/rsyslog.conf and replace all \/var\/log\/ instances with \/var\/tmp\/<\/p>\n<p>One last warning: <strong><font color=red>Your SD card WILL corrupt some day if you don&#8217;t do a proper shutdown<\/strong>.<\/font> Make a backup of your SD card when it&#8217;s all set up! If you don&#8217;t believe: try it. It&#8217;s the nature of SD card that makes this and there&#8217;s no easy way out.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Use Adafruit&#8217;s Occidentalis distro as your base system. It has all neat stuff done for you (sshd running pi\/raspberry). It also includes wlan driver for Asus USB-N10 USB WLAN-adapter (which is great and goes through one celement floor). Make your system up to date by running this command sequence: rm \/etc\/ssh\/ssh_host_* &amp;&amp; dpkg-reconfigure openssh-server apt-get [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8,11],"tags":[],"class_list":["post-179","post","type-post","status-publish","format-standard","hentry","category-measured","category-snippet"],"_links":{"self":[{"href":"http:\/\/mitat.tuu.fi\/index.php?rest_route=\/wp\/v2\/posts\/179","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/mitat.tuu.fi\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/mitat.tuu.fi\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/mitat.tuu.fi\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/mitat.tuu.fi\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=179"}],"version-history":[{"count":5,"href":"http:\/\/mitat.tuu.fi\/index.php?rest_route=\/wp\/v2\/posts\/179\/revisions"}],"predecessor-version":[{"id":184,"href":"http:\/\/mitat.tuu.fi\/index.php?rest_route=\/wp\/v2\/posts\/179\/revisions\/184"}],"wp:attachment":[{"href":"http:\/\/mitat.tuu.fi\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=179"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/mitat.tuu.fi\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=179"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/mitat.tuu.fi\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=179"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}