{"id":654,"date":"2014-04-20T05:27:19","date_gmt":"2014-04-20T05:27:19","guid":{"rendered":"http:\/\/soliloquyforthefallen.net\/blog\/?p=654"},"modified":"2015-03-05T07:10:54","modified_gmt":"2015-03-05T07:10:54","slug":"setting-up-a-raspi","status":"publish","type":"post","link":"https:\/\/soliloquyforthefallen.net\/?p=654","title":{"rendered":"Setting up a raspi"},"content":{"rendered":"<p>I finally got my christmas rasberry pi up and running.  I had to redo the power grid to my room to properly support all the things I have plugged in upstairs.  I live in a 100 year old farm house so now my room has as many outlets as the entire upstairs.  Plus I had a few other issues that slowed me down in getting it done until now.<\/p>\n<p>Here&#8217;s a couple of notes I took while working on this project.<\/p>\n<p>Have to have an HDMI monitor with noobs.  Also keyboard and mouse.<\/p>\n<p>If you&#8217;re using NOOBS Lite, you&#8217;ll need to have a wired connection.  For reasons (100 year old farm house), I needed to share the wireless across the wired connection of my laptop.  I run KDE fedora linux and this guide talks setting up sharing wireless to a wired connection via KNetwork: <a href=\"https:\/\/bbs.archlinux.org\/viewtopic.php?id=126285\">https:\/\/bbs.archlinux.org\/viewtopic.php?id=126285<\/a>.<\/p>\n<p>Use gparted to format SDCard.  FAT32 is alright.  Unzip with <code>unzip -d <em>destination<\/em> ~\/Downloads\/NOOBS_lite_v1_3_4.zip<\/code><\/p>\n<p>I chose arch linux because its small (so less download time on my very slow internet connection and i presume updated more then pidora (which is based on fedoraredhat and a distro I am more familiar with.)<\/p>\n<p>after it says 100% you need to let it sit awhile or you will bork the install<\/p>\n<p>Reboot into your fresh pi install.  Run <code>wifi-menu<\/code> to setup wireless connection.<\/p>\n<p>At this point you can either do the following configuration while connected on the tv or over ssh.<\/p>\n<p>You can check your router for the IP address, or you can nmap scan.  Either way, ssh to it and use root\/root for login and password.<\/p>\n<p>Enabling onboot wireless:<br \/>\n<code>systemctl enable netctl-auto@wlan0<\/code><br \/>\nprobably want to setup a static ip address<br \/>\n<code>nano \/etc\/netctl\/wlan0<\/code><\/p>\n<p>Something like this is what you need after editing <em>\/etc\/netctl\/wlan0<\/em>.<\/p>\n<pre>Description='Automatically generated profile by wifi-menu'\nInterface=wlan0\nConnection=wireless\nSecurity=wpa\nESSID=<em>ssid<\/em>\nKey=<em>wpa password<\/em>\nIP=static\nAddress='10.13.37.7\/24'\nGateway='10.13.37.1'\nDNS=('10.13.37.1')<\/pre>\n<p><code>pacman -Syu<\/code> to update the distor.<\/p>\n<p>change the hostname by editing <code>\/etc\/hostname<\/code><\/p>\n<p>Change the root password.  You&#8217;re internet facing now.<\/p>\n<p>Time to reboot and enjoy your pi.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I finally got my christmas rasberry pi up and running. I had to redo the power grid to my room to properly support all the things I have plugged in upstairs. I live in a 100 year old farm house so now my room has as many outlets as the entire upstairs. Plus I had&#8230; <\/p>\n<div class=\"read-more navbutton\"><a href=\"https:\/\/soliloquyforthefallen.net\/?p=654\">Read More<i class=\"fa fa-angle-double-right\"><\/i><\/a><\/div>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[116],"tags":[],"_links":{"self":[{"href":"https:\/\/soliloquyforthefallen.net\/index.php?rest_route=\/wp\/v2\/posts\/654"}],"collection":[{"href":"https:\/\/soliloquyforthefallen.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/soliloquyforthefallen.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/soliloquyforthefallen.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/soliloquyforthefallen.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=654"}],"version-history":[{"count":1,"href":"https:\/\/soliloquyforthefallen.net\/index.php?rest_route=\/wp\/v2\/posts\/654\/revisions"}],"predecessor-version":[{"id":757,"href":"https:\/\/soliloquyforthefallen.net\/index.php?rest_route=\/wp\/v2\/posts\/654\/revisions\/757"}],"wp:attachment":[{"href":"https:\/\/soliloquyforthefallen.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=654"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/soliloquyforthefallen.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=654"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/soliloquyforthefallen.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=654"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}