<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Complete Setup Tutorial]]></title><description><![CDATA[<p dir="auto">What will follow this post will be a series of steps to go from taking a brand new raspberry Pi 3 out of the box to having MagicMirror² up and running. I will try to keep things in order but that’s no guarantee. I will however link each post back into this one in the correct order, so you’d be able to just click on the link and jump straight to that specific post.</p>
<h2>The Raspberri Pi setup is as follows:</h2>
<p dir="auto"><em>Note: I have no affiliation with the listed vendors. I list them because that’s where I got the parts from. You can buy them wherever you buy your daily dose of electronics.</em></p>
<ul>
<li>Raspberry Pi 3 - Model B - ARMv8 with 1GB of RAM (<a href="https://www.adafruit.com/products/3055" target="_blank" rel="noopener noreferrer nofollow ugc">Adafruit</a>)</li>
<li>5V/2.4A Power supply (<a href="https://www.adafruit.com/products/1995" target="_blank" rel="noopener noreferrer nofollow ugc">Adafruit</a>)</li>
<li>8GB Sandisk Ultra Class 10 MicroSDHC card (<a href="https://amzn.com/B00M55C0VU" target="_blank" rel="noopener noreferrer nofollow ugc">Amazon</a>)</li>
<li>ASUS ProArt PA248Q Monitor (<a href="https://amzn.com/B00H288CVW" target="_blank" rel="noopener noreferrer nofollow ugc">Amazon</a>)</li>
<li>Belkin 6’ HDMI Cable (<a href="https://amzn.com/B001V7MBLW" target="_blank" rel="noopener noreferrer nofollow ugc">Amazon</a>)</li>
<li>Mini 2.4G Wireless Keyboard &amp; Mouse Combo (<a href="http://r.ebay.com/MSpY6g" target="_blank" rel="noopener noreferrer nofollow ugc">eBay</a>)</li>
</ul>
<p dir="auto"><strong>Notes:</strong></p>
<ol>
<li>The Raspberry Pi 3 needs a hefty power supply to run. You don’t <em>need</em> a 2.4Amp one, but I wouldn’t go below 2Amps.</li>
<li>You want a high speed SD card. Since the entire OS runs off of it, get a fast one. <a href="http://eLunix.org" target="_blank" rel="noopener noreferrer nofollow ugc">eLunix.org</a> has a comprehensive list of what’s tested and works. You can find <a href="http://elinux.org/RPi_SD_cards" target="_blank" rel="noopener noreferrer nofollow ugc">the list here</a>.</li>
<li>Monitor and choice of cable is obviously up to you.</li>
<li>I use a mini keyboard for any/all of my projects that require a temporary solution. Even those that need a permanent one. They’re smaller than a regular sized one. And this one in particular is also rather thin. And I like that they are wireless. it cuts down on the cords needed to be connected to the device itself. These ones have a miniature USB dongle. Again, personal choice.</li>
<li><strong>I will be running this wirelessly and will make a note of it again in the setup part.</strong></li>
<li>I will be using my Windows 10 system for the initial setup of the card containing the operating system. What you use is up to you, however keep in mind that any screen captures I take and any software I use during this process will be from a Windows 10 platform.</li>
<li><strong>DO NOT INSTALL MagicMirror² as the <code>root</code> user!</strong> Always do it as the regular, non privileged <code>pi</code> user and learn to use the <code>sudo</code> command instead. <em>“But why?”</em>, you ask, <em>“… if it’s in my house, and on my network, and not on the internet.”</em> That’s all fine, however we don’t control every possible module that others contribute and someone, or something, could expose your Raspberry Pi, or your entire network to the outside world. Just <em>don’t do it.</em></li>
<li>This entire tutorial is based on you having physical access to the Raspberry Pi. After all, you will need that to set it up, but even at the end, installing MagicMirror², it is assumed you are doing that directly on the Raspberry Pi, and <em>not</em> through a remote SSH login.</li>
</ol>
<hr />
<p dir="auto"><strong>Section 1:</strong> <a href="https://forum.magicmirror.builders/topic/236/complete-setup-tutorial/2">Preparing the SD card with the operating system</a><br />
<strong>Section 2:</strong> <a href="https://forum.magicmirror.builders/topic/236/complete-setup-tutorial/3">Booting up the Raspberry Pi and configuring it</a><br />
<strong>Section 3:</strong> <a href="https://forum.magicmirror.builders/topic/236/complete-setup-tutorial/4">Configuring wireless networking</a><br />
<strong>Section 4:</strong> <a href="https://forum.magicmirror.builders/topic/236/complete-setup-tutorial/5">Cleaning up and updating the operating system</a><br />
<strong>Section 5:</strong> <a href="https://forum.magicmirror.builders/topic/236/complete-setup-tutorial/5">Installing MagicMirror² &amp; Configuring Raspberry Pi for MagicMirror²</a><br />
<strong>Section #:</strong> <strong>… beer?</strong></p>
]]></description><link>https://forum.magicmirror.builders/topic/236/complete-setup-tutorial</link><generator>RSS for Node</generator><lastBuildDate>Tue, 11 Aug 2026 08:50:20 GMT</lastBuildDate><atom:link href="https://forum.magicmirror.builders/topic/236.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 14 Jun 2016 18:26:18 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Complete Setup Tutorial on Fri, 14 Jul 2017 10:39:07 GMT]]></title><description><![CDATA[<h1>Installing MagicMirror²</h1>
<p dir="auto">Thanks to <a class="plugin-mentions-user plugin-mentions-a" href="/user/michmich" aria-label="Profile: MichMich">@<bdi>MichMich</bdi></a> and his outstanding installation script, installing MagicMirror² is pretty straight forward.</p>
<hr />
<p dir="auto"><strong>Step 1</strong><br />
After you’ve configured and updated your Raspberry Pi and rebooted, launch a Terminal window again and type in<br />
<code>bash -c "$(curl -sL https://raw.githubusercontent.com/MichMich/MagicMirror/master/installers/raspberry.sh)"</code></p>
<p dir="auto">This will start the installation process for you:</p>
<p dir="auto"><img src="/uploads/files/1466018552300-044-mm-install.sm.png" alt="0_1466018397542_044-mm-install.sm.png" class=" img-fluid img-markdown" /></p>
<hr />
<p dir="auto"><strong>Step 2</strong><br />
A few configurations still need to be done on the Raspberry Pi, specific for MagicMirror². Let’s start with rotating the display vertically. For this, you’ll need to edit one of the boot configurations. (<strong>Please note:</strong> If you plan on running MagicMirror² as a landscape (or wide) display, you do not need to do this.)</p>
<p dir="auto">Type in <code>sudo nano /boot/config.txt</code> and add the following to the file. Where you add it doesn’t really matter:</p>
<pre><code class="language-javascript"># Rotate display vertically
display_rotate=1
</code></pre>
<p dir="auto">Press <code>CTRL-X</code> when you’re done, and say <code>Y(es)</code> to saving the changes.</p>
<p dir="auto"><img src="/uploads/files/1466023069138-047-configure-rpi.sm.png" alt="0_1466022914081_047-configure-rpi.sm.png" class=" img-fluid img-markdown" /></p>
<hr />
<p dir="auto"><strong>Step 3</strong><br />
Let’s disable the screen saver and screen blanking as well. This needs to be done in two places. First in the autostart configuration:<br />
<code>sudo nano /etc/xdg/lxsession/LXDE-pi/autostart</code></p>
<p dir="auto">And add the following to the bottom of the file:</p>
<pre><code class="language-javascript">@xset s noblank
@xset s off
@xset -dpms
</code></pre>
<p dir="auto"><img src="/uploads/files/1466023076168-049-configure-rpi-sm.png" alt="0_1466022921947_049-configure-rpi-sm.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">Next in the X-windows manager configuration:<br />
<code>sudo nano /etc/lightdm/lightdm.conf</code></p>
<p dir="auto">Scroll down to the <code>[SeatDefaults]</code> section and look for the <code>xserver-command</code> line below that. Change the line to look like this:<br />
<code>xserver-command=X -s 0 -dpms</code> (so you’re removing the # on the front, and adding the missing bits at the end.) Again, hit <code>CTRL-X</code> and say <code>Y(es)</code> to saving the file.</p>
<p dir="auto"><img src="/uploads/files/1466023468773-050-configure-rpi.sm.png" alt="0_1466023313607_050-configure-rpi.sm.png" class=" img-fluid img-markdown" /></p>
<hr />
<p dir="auto"><strong>Step 4</strong><br />
A Raspberry Pi is configured to automatically shutdown parts of the hardware that aren’t actively in use. This includes the WiFi driver. This will cause MagicMiror² to occasionally fail to fetch updates for things like the newsfeed, weather, and others. You can disable the power saving feature for the WiFi from the interfaces configuration file:<br />
<code>sudo nano /etc/network/interfaces</code></p>
<p dir="auto">Find the <code>wlan0</code> section and add <code>wireless-power off</code> below it:</p>
<p dir="auto"><img src="/uploads/files/1466023738076-051-configure-rpi.sm.png" alt="0_1466023583053_051-configure-rpi.sm.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">Once you’re done with that, reboot the rpi one more time with <code>sudo reboot</code> and when it comes back up again, open a Terminal window and type in <code>iwconfig</code> and you should see that the Power Management is now off:</p>
<p dir="auto"><img src="/uploads/files/1466025039764-052-iwconfig.sm.png" alt="0_1466024885350_052-iwconfig.sm.png" class=" img-fluid img-markdown" /></p>
<hr />
<p dir="auto">At this point you have completed the basic install for MagicMirror². The next step is to create a valid configuration file for it so you can test it out. You can do that by going into the MagicMirror’s <code>config</code> folder:</p>
<pre><code class="language-javascript">pi@magicpi:~ $ cd MagicMirror/config
pi@magicpi:~/MagicMirror/config $ cp config.js.sample config.js
</code></pre>
<p dir="auto">You can now try to start MagicMirror².</p>
<pre><code class="language-javascript">pi@magicpi:~/MagicMirror/config $ cd $HOME/MagicMirror
pi@magicpi:~/MagicMirror $ npm start
</code></pre>
<p dir="auto">If everything went well, your screen should load up the MagicMirror² interface. The weather module will tell you that you don’t have a valid APPID, but once set, your screen should look like this:</p>
<p dir="auto"><img src="/uploads/files/1466024116824-mm-capture.png" alt="0_1466023961725_mm-capture.png" class=" img-fluid img-markdown" /></p>
<p dir="auto"><strong>Congratulations!</strong></p>
]]></description><link>https://forum.magicmirror.builders/post/1676</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/1676</guid><dc:creator><![CDATA[KirAsh4]]></dc:creator><pubDate>Fri, 14 Jul 2017 10:39:07 GMT</pubDate></item><item><title><![CDATA[Reply to Complete Setup Tutorial on Sun, 19 Feb 2017 21:17:30 GMT]]></title><description><![CDATA[<h2>Cleaning up and updating the operating system</h2>
<p dir="auto">Ready for some fun? Let’s clean up the rpi OS and remove some of the big packages and a few things that we won’t need. This is but a small list of apps, but they are by far the biggest ones aside from the X-server itself.</p>
<p dir="auto">First, let’s look at the current state of the storage:</p>
<p dir="auto"><img src="/uploads/files/1465938633458-033-df-stock-sm.png" alt="0_1465938488348_033-df-stock-sm.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">The <code>df</code> command will show you storage across the entire file system (or it can be restricted with specific options.) The <code>-k</code> option shows the values in 1K block format, while the <code>-h</code> option refers to the <code>human readable</code> option, which prints the sizes in powers of 1024. So we can see the <code>/dev/root/</code> file system is at 48% full. That’s just the default Jessie installation!</p>
<p dir="auto">Now, for all intents and purposes, this is just fine. It still has over 50% of the file system free and if you aren’t doing anything else with it, this is fine, you can leave it alone. However, I run all of my systems lean, meaning I will remove all (or most) of the stuff I won’t be using for the specific application. And in this case, I only removed the big space hogs that I know I will never use. There are a lot of packages that you could remove, since MM does not need them, but I didn’t care to do that … yet. So let’s move on.</p>
<p dir="auto"><strong>Step 1</strong><br />
Remove unnecessary software packages. I started with the stuff I know I won’t be using and the big stuff!</p>
<pre><code class="language-javascript">idle3			java-common		libreoffice		minecraft-pi
scratch			nuscratch		penguinspuzzle		python-minecraftpi
python3-minecraftpi	smartsim		sonic-pi		wolfram-engine
</code></pre>
<p dir="auto">The command I used to remove all of them is:<br />
<code>sudo apt-get remove --purge idle3	java-common libreoffice* minecraft-pi scratch nuscratch penguinspuzzle python-minecraftpi python3-minecraftpi smartsim 	sonic-pi 	wolfram-engine</code></p>
<p dir="auto"><strong>NOTE:</strong> on <code>libreoffice</code> I added a star at the end, making it <code>libreoffice*</code>. This is because there’s a single <code>libreoffice</code> package, as well as several <code>libreoffice-*</code> packages, and if you don’t add the star, it will only remove the one, while leaving all the rest.</p>
<p dir="auto">When you run that, it will collect everything that needs removing and present you with a <code>[Y/n]</code> question. Notice the amount of space that’s about to be reclaimed:</p>
<p dir="auto"><img src="/uploads/files/1465939426680-034-aptget-remove.png" alt="0_1465939281578_034-aptget-remove.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">You’re reading that right, a whopping 1,112MB, or 1.1GB worth of space. Let that run and remove all those packages.</p>
<hr />
<p dir="auto"><strong>Step 2</strong><br />
Once completed, we’ll also remove those that aren’t needed anymore:<br />
<code>sudo apt-get autoremove</code><br />
It will present you with a list of packages that aren’t used anymore (since you just removed all those other ones above). Again, say <code>Y(es)</code> to the question:</p>
<p dir="auto"><img src="/uploads/files/1465939625989-035-aptget-remove-sm.png" alt="0_1465939485028_035-aptget-remove-sm.png" class=" img-fluid img-markdown" /></p>
<hr />
<p dir="auto">Now, for comparison, let’s look at the storage usage again:</p>
<p dir="auto"><img src="/uploads/files/1465939702114-036-df-clean-sm.png" alt="0_1465939560323_036-df-clean-sm.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">Look at that, we went from 48% full, down to 30%, or from 3.3GB down to 2.1GB used. That’s a lot of space reclaimed!</p>
<hr />
<p dir="auto"><strong>Step 3</strong><br />
Moving on. It’s time to run an update/upgrade on the system packages. You do that by entering the following commands:<br />
<code>sudo apt-get update</code><br />
<code>sudo apt-get upgrade</code><br />
Or if you want to do them both together:<br />
<code>sudo apt-get update ; sudo apt-get upgrade</code></p>
<p dir="auto">First the update:</p>
<p dir="auto"><img src="/uploads/files/1465940084713-037-aptget-update-sm.png" alt="0_1465939942396_037-aptget-update-sm.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">Followed by the upgrade:</p>
<p dir="auto"><img src="/uploads/files/1465940100393-039-aptget-update-sm.png" alt="0_1465939959016_039-aptget-update-sm.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">So why two separate commands? The <code>update</code> command will refresh the mirror list and available packages from the distribution mirrors. This sets up the next command, <code>upgrade</code>, with the necessary files to compare against. Then the <code>upgrade</code> command will compare all the packages that are currently installed with the mirror lists and show you all the ones that need to be upgraded. You did say <code>Y(es)</code> to that, right?</p>
<hr />
<p dir="auto"><strong>Step 4</strong><br />
The last thing we need to do is make sure the firmware on the rpi is current. Performing a <code>sudo apt-get upgrade</code> does <em>not</em> always trigger this (in fact, I have yet to see it do that), so we’ll do it manually. The command for that is:<br />
<code>sudo rpi-update</code></p>
<p dir="auto"><img src="/uploads/files/1465940380348-042-rpiupdate-sm.png" alt="0_1465940236832_042-rpiupdate-sm.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">Note that it requires a reboot once that’s completed. A <code>sudo reboot</code> will get that done for you.</p>
<hr />
<p dir="auto">Now let’s look at the storage usage once more:</p>
<p dir="auto"><img src="/uploads/files/1465940500701-043-df-final-sm.png" alt="0_1465940359726_043-df-final-sm.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">That’s not too shabby at all. 2.3GB out of 7.2GB used … I’m happy with that.</p>
<p dir="auto">You are now ready to start installing MagicMirror²!</p>
]]></description><link>https://forum.magicmirror.builders/post/1651</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/1651</guid><dc:creator><![CDATA[KirAsh4]]></dc:creator><pubDate>Sun, 19 Feb 2017 21:17:30 GMT</pubDate></item><item><title><![CDATA[Reply to Complete Setup Tutorial on Tue, 14 Jun 2016 20:48:42 GMT]]></title><description><![CDATA[<h2>Configuring Wireless</h2>
<p dir="auto">Tired of the mile long posts? Well, here’s a short one. As I noted earlier, I will be running my rpi wirelessly. If you are physically connecting it to your network using a cable, you can skip this post.</p>
<p dir="auto"><strong>Step 1</strong><br />
Once your rpi reboots and you’re back at the graphical desktop, launch the Terminal program (it’s a black monitor icon on the menu bar at the top.) Edit the <code>wpa_supplicant.conf</code> file to add your network information</p>
<p dir="auto"><img src="/uploads/files/1465935828377-030-wifi-config-sm.png" alt="0_1465935687240_030-wifi-config-sm.png" class=" img-fluid img-markdown" /></p>
<hr />
<p dir="auto"><strong>Step 2</strong><br />
At the bottom of the contents, add your network information. Note the quotation marks as this is specially important if you have a space in your wireless network name. Same for the password part. When you’re done editing, press <code>CTRL-X</code> to exit, saying <code>Y(es)</code> to saving the changes.</p>
<p dir="auto"><img src="/uploads/files/1465936082055-031-wifi-config-sm.png" alt="0_1465935941427_031-wifi-config-sm.png" class=" img-fluid img-markdown" /></p>
<hr />
<p dir="auto"><strong>Step 3</strong><br />
Time to reboot and make sure the rpi comes up and successfully connects to your wireless network.</p>
<p dir="auto"><img src="/uploads/files/1465936268741-032-wifi-config-sm.png" alt="0_1465936127908_032-wifi-config-sm.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">If all went well, when the rpi reboots and comes back to the graphical desktop, in the upper right corner you should see a familiar blue WiFi icon.</p>
<p dir="auto"><img src="/uploads/files/1465936409452-wifi-icon.png" alt="0_1465936267885_wifi-icon.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">And if you want to make double sure that it connected, you can open a Terminal window again, and type in <code>ifconfig</code> and look for the <code>wlan0</code> section</p>
<p dir="auto"><img src="/uploads/files/1465937033804-wifi-ifconfig-sm.png" alt="0_1465936892163_wifi-ifconfig-sm.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">You’re looking for it to have a valid IP that belongs to your network. The specific private network that this rpi is connected to is in the 192.168.25.x range, so this validates that the rpi connected and received an IP from the DHCP server.</p>
<p dir="auto"><strong>If you are physically connecting the rpi to a network hub or router, you need to look at the <code>eth0</code> section at the top.</strong></p>
<p dir="auto">So what if it failed? Then you’d want to check a few things:</p>
<ul>
<li>Did you enter the corect information in the <code>wpa_supplicant.conf</code> file above? Go back and check again.</li>
<li>Is your wireless router set to block unknown hosts? In a secure environment, it could be (mine is.) Make sure you allow it to connect and receive an IP from the router.</li>
<li>Are you in range of the wireless router?</li>
</ul>
]]></description><link>https://forum.magicmirror.builders/post/1646</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/1646</guid><dc:creator><![CDATA[KirAsh4]]></dc:creator><pubDate>Tue, 14 Jun 2016 20:48:42 GMT</pubDate></item><item><title><![CDATA[Reply to Complete Setup Tutorial on Tue, 14 Jun 2016 22:54:21 GMT]]></title><description><![CDATA[<h2>Booting up the Raspberry Pi and configuring it</h2>
<p dir="auto">Now that we have the operating system on the card, we’re ready to boot up the Raspberry Pi (rpi). Put the card into the slot on the bottom of the rpi, plug in your monitor cable, turn the monitor on. Whether you are using a wired or wireless keyboard and mouse, make sure those are plugged in, then plug in power to the rpi itself.</p>
<p dir="auto">The first boot up takes a bit longer than usual because it’s reconfiguring itself and setting all the defaults. If all went well, it should boot straight into the graphical interface. I apologize but I forgot to take a screen capture of this, but in the upper menu, click on the Terminal icon. It looks like a black monitor. This opens up a black terminal window, logged in as the <code>pi</code> user.</p>
<p dir="auto">We are now going to run through the basic configuration of the rpi itself. This will result in a rather long post with lost of screen captures. You’ve been warned. :)</p>
<p dir="auto"><strong>Step 1</strong><br />
In the terminal window, type in <code>sudo raspi-config</code> and hit return/enter. This will launch the <strong>Raspberry Pi Software Configuration Tool</strong>. <em><strong>(Navigation is done with the <code>arrow keys</code>, the <code>TAB</code> key allows you to jump from the selection menu to the buttons on the bottom, and the <code>space bar</code> is used to select or un-select menu items.)</strong></em></p>
<p dir="auto"><img src="/uploads/files/1465931953782-001-raspiconfig.png" alt="0_1465931806571_001-raspiconfig.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">The first item, <code>Expand Filesystem</code> is already highlighted for you, so just hit enter/return on that. This will instruct the rpi to resize the partition to use the full size of the card.</p>
<p dir="auto"><img src="/uploads/files/1465932012389-002-raspiconfig.png" alt="0_1465931869981_002-raspiconfig.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">You do not need to immediately reboot, so let’s move on.</p>
<hr />
<p dir="auto"><strong>Step 2</strong><br />
Now we’re going to configure the <code>Internationalisation Options</code>. This will configure your rpi to use the correct language, timezone, and others. Select that option (5) and hit enter/return.</p>
<p dir="auto"><img src="/uploads/files/1465932111798-003-raspiconfig.png" alt="0_1465931969915_003-raspiconfig.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">Select the first option, <code>Change Locale</code> (I1)</p>
<p dir="auto"><img src="/uploads/files/1465932149905-004-raspiconfig.png" alt="0_1465932007733_004-raspiconfig.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">Now scroll to your preferred language using the up/down arrow keys. In my case, I’ll be using <code>US English</code> as opposed to the default <code>GB English</code>. Press your space bar to select your preferred language, and don’t forget to un-select the default. one. And I specifically picked the <code>UTF</code> version because it supports any Unicode character. <code>ISO-8859-1</code> only supports the first 256 characters.</p>
<p dir="auto"><img src="/uploads/files/1465932339740-005-raspiconfig.png" alt="0_1465932196146_005-raspiconfig.png" class=" img-fluid img-markdown" /></p>
<p dir="auto"><img src="/uploads/files/1465932349584-006-raspiconfig.png" alt="0_1465932208265_006-raspiconfig.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">Once you complete that step, you’re back at the main menu. Select the <code>Internationalisation Options</code> again, and go to the second option, <code>Change Timezone</code> (I2)</p>
<p dir="auto"><img src="/uploads/files/1465932401392-007-raspiconfig.png" alt="0_1465932259726_007-raspiconfig.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">Start by picking your region, then the respective timezone that you’re in. In my case, I’m in the <code>US</code>, living in the <code>Mountain</code> timezone</p>
<p dir="auto"><img src="/uploads/files/1465932469848-008-raspiconfig.png" alt="0_1465932328231_008-raspiconfig.png" class=" img-fluid img-markdown" /></p>
<p dir="auto"><img src="/uploads/files/1465932480655-009-raspiconfig.png" alt="0_1465932339295_009-raspiconfig.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">Once again, when you finish that, it takes you back to the main menu. Get back to the <code>Internationalisation Options</code> and pick the third option, <code>Change Keyboard Layout</code> (I3). The default is a standard UK, full size keyboard. If that’s what you’re using, then you don’t need to do this. However, it’s still worth looking at in case you do happen to have a different keyboard. I wanted to change mine to a US keyboard instead.</p>
<p dir="auto"><img src="/uploads/files/1465932598995-010-raspiconfig.png" alt="0_1465932457562_010-raspiconfig.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">By default the <code>Generic 105-key (Intl) PC</code> version is selected. For most cases, that’s fine, just hit enter/return on that and it will take you to the layout option. Note the default UK settings:</p>
<p dir="auto"><img src="/uploads/files/1465932671368-012-raspiconfig.png" alt="0_1465932529172_012-raspiconfig.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">Since I wanted a US layout, I selected <code>Other</code>.</p>
<p dir="auto"><img src="/uploads/files/1465932719960-012-raspiconfig.png" alt="0_1465932579015_012-raspiconfig.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">On the next screens, I picked the <code>English (US)</code> for the country, again <code>English (US)</code> for the layout,<code>The default for the keyboard layout</code>, and <code>No compose key</code></p>
<p dir="auto"><img src="/uploads/files/1465933023760-013-raspiconfig.png" alt="0_1465932880569_013-raspiconfig.png" class=" img-fluid img-markdown" /></p>
<p dir="auto"><img src="/uploads/files/1465933035335-014-raspiconfig.png" alt="0_1465932893456_014-raspiconfig.png" class=" img-fluid img-markdown" /></p>
<p dir="auto"><img src="/uploads/files/1465933042026-015-raspiconfig.png" alt="0_1465932901366_015-raspiconfig.png" class=" img-fluid img-markdown" /></p>
<p dir="auto"><img src="/uploads/files/1465933050913-016-raspiconfig.png" alt="0_1465932910201_016-raspiconfig.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">At the end of this, it will ask you what you want the <code>CTRL-ALT-Backspace</code> combination to do. Normally it does nothing, but it can be configured so that if you hit that combination, it instantly kills the X-Server (and depending on the OS setup, will restart it fresh.) This was a more applicable when X11 was still in its infancy and things crashed a lot. Over the years, things became more stable, threads started getting removed from the main process, so applications could be killed and restarted without needing to completely kill the X-Server itself. However, it’s still around today. I have yet to have the X-Server on my rpi crash on me, ever. And if things really get completely bogged down, I just restart it remotely. Specially since this isn’t going to have a keyboard on it, there’s no sense in configuring this option, so I left it as <code>No</code>.</p>
<p dir="auto"><img src="/uploads/files/1465933236703-017-raspiconfig.png" alt="0_1465933095320_017-raspiconfig.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">Ok, one more time, go back into <code>Internationalisation Options</code> and pick the last item, <code>Change Wi-fi Country</code> (I4). This will set the correct channel frequencies available. In the US, channels 1 through 11 are common. Channels 12 and 13 are allowed, but for low power only, and channel 14 is forbidden. For the rest of the world, channels 12-13 are not restricted. And for those in Japan, well aren’t you guys special … you get to use channel 14 as well (only specific protocols.)</p>
<p dir="auto"><img src="/uploads/files/1465933508949-018-raspiconfig.png" alt="0_1465933365567_018-raspiconfig.png" class=" img-fluid img-markdown" /></p>
<p dir="auto"><img src="/uploads/files/1465933520983-019-raspiconfig.png" alt="0_1465933378615_019-raspiconfig.png" class=" img-fluid img-markdown" /></p>
<p dir="auto"><img src="/uploads/files/1465933534251-020-raspiconfig.png" alt="0_1465933391670_020-raspiconfig.png" class=" img-fluid img-markdown" /></p>
<hr />
<p dir="auto"><strong>Step 3</strong><br />
Scroll down to <code>Advanced Options</code> and select it. Pick the second option, <code>Hostname</code> (A2). Here you will give your rpi a name. By default it’s <code>raspberrypi</code> but why be like the rest of the world? You can change that.</p>
<p dir="auto"><img src="/uploads/files/1465933760228-023-raspiconfig.png" alt="0_1465933619435_023-raspiconfig.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">Make sure you read the warning that pops up, then set the name to whatever you want. For example, I changed mine to <code>magicpi</code> … after all, it will be running MagicMiror! <em>(the screen shot shows the default setting)</em></p>
<p dir="auto"><img src="/uploads/files/1465934441580-025-raspiconfig.png" alt="0_1465934297102_025-raspiconfig.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">Once back at the main screen, pick <code>Advanced options</code> again and scroll down to <code>SSH</code> (A4). I like having the SSH server running because it allows me to connect to the rpi from anywhere on my network using a terminal program. So I don’t need to have a keyboard and mouse connected to the rpi itself, I can log into it using a different machine. But if you don’t need/want this, you can turn off/on the <code>SSH</code> server. In this case, I wanted mine turned on</p>
<p dir="auto"><img src="/uploads/files/1465933929379-026-raspiconfig.png" alt="0_1465933788724_026-raspiconfig.png" class=" img-fluid img-markdown" /></p>
<p dir="auto"><img src="/uploads/files/1465933940914-027-raspiconfig.png" alt="0_1465933800224_027-raspiconfig.png" class=" img-fluid img-markdown" /></p>
<hr />
<p dir="auto"><strong>Optional Camera Step</strong><br />
Are you using a Raspberry Pi specific camera? If so, you need to enable the rpi to work with it. Scroll down to option 6, <code>Enable Camera</code> and turn it on.</p>
<p dir="auto"><img src="/uploads/files/1465933603842-021-raspiconfig.png" alt="0_1465933463193_021-raspiconfig.png" class=" img-fluid img-markdown" /></p>
<hr />
<p dir="auto"><strong>Step 4</strong><br />
Done! When you’re back at the main screen after the last step, press the <code>TAB</code> key and highlight <code>Finish</code> at the bottom and hit return/enter. It will ask if you want to restart to which you will say <code>Yes</code> of course.</p>
<p dir="auto"><img src="/uploads/files/1465933990156-028-raspiconfig.png" alt="0_1465933849440_028-raspiconfig.png" class=" img-fluid img-markdown" /></p>
<p dir="auto"><img src="/uploads/files/1465934046619-029-raspiconfig.png" alt="0_1465933905935_029-raspiconfig.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://forum.magicmirror.builders/post/1645</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/1645</guid><dc:creator><![CDATA[KirAsh4]]></dc:creator><pubDate>Tue, 14 Jun 2016 22:54:21 GMT</pubDate></item><item><title><![CDATA[Reply to Complete Setup Tutorial on Tue, 14 Jun 2016 22:50:10 GMT]]></title><description><![CDATA[<h2>Preparing the SD card</h2>
<p dir="auto">This may seem dumb but if not done properly, you may end up with a card showing you less available storage than it actually has on it. Specially if you are trying to redo it because you made a mistake and have to start over.</p>
<p dir="auto"><strong>Required tools:</strong><br />
<em>(I will leave the installing of these as an exercise to the user. I’m not going to cover that here.)</em><br />
7-Zip: <a href="http://www.7-zip.org/" target="_blank" rel="noopener noreferrer nofollow ugc">http://www.7-zip.org/</a> (because Window’s builtin Zip facility is extremely slow)<br />
SD Card Formatter: <a href="https://www.sdcard.org/downloads/formatter_4/" target="_blank" rel="noopener noreferrer nofollow ugc">https://www.sdcard.org/downloads/formatter_4/</a><br />
Win32 Disk Imager: <a href="https://sourceforge.net/projects/win32diskimager/" target="_blank" rel="noopener noreferrer nofollow ugc">https://sourceforge.net/projects/win32diskimager/</a></p>
<hr />
<p dir="auto"><strong>Step 1</strong><br />
Download the operating system from the Raspberry Pi Foundation web site:<br />
<a href="https://www.raspberrypi.org/downloads/raspbian/" target="_blank" rel="noopener noreferrer nofollow ugc">https://www.raspberrypi.org/downloads/raspbian/</a><br />
As of this writing, the most recent version is Jessie, released May 27th, 2016. You want to pick the full Jessie image.</p>
<p dir="auto"><img src="/uploads/files/1465929242080-001-rpi-jessie.png" alt="0_1465929096957_001-rpi-jessie.png" class=" img-fluid img-markdown" /></p>
<hr />
<p dir="auto"><strong>Step 2</strong><br />
Once you’ve downloaded the file, find it in whatever location you saved it and right click on it. On the context menu, pick <strong>7-zip -&gt; Extract Here</strong>.</p>
<p dir="auto"><img src="/uploads/files/1465929454091-002-7zip-extract-01.png" alt="0_1465929311483_002-7zip-extract-01.png" class=" img-fluid img-markdown" /></p>
<p dir="auto"><img src="/uploads/files/1465929519690-003-7zip-extract-02.png" alt="0_1465929378631_003-7zip-extract-02.png" class=" img-fluid img-markdown" /></p>
<hr />
<p dir="auto"><strong>Step 3</strong><br />
While the file is extracting, you can start preparing the SD card itself. Pop it into your reader and open <strong>SDFormatter</strong>. Make sure the drive letter is the correct one. The <code>Volume Label</code> doesn’t matter since it will get overwritten anyway. <em>(In the screen capture, you can see the Size at 60MB. That’s because I had previously used this card on a Raspberry Pi, and since Windows can’t read that partition, it only lists 60MB. <strong>In order to fix that, you must perform the following steps!</strong>)</em></p>
<p dir="auto"><img src="/uploads/files/1465929700056-004-sdformatter-01.png" alt="0_1465929557548_004-sdformatter-01.png" class=" img-fluid img-markdown" /></p>
<p dir="auto"><strong>Click on <em>Option</em> and select <code>FULL (erase)</code> as the <strong>FORMAT TYPE</strong></strong></p>
<p dir="auto"><img src="/uploads/files/1465929749189-005-sdformatter-02.png" alt="0_1465929605540_005-sdformatter-02.png" class=" img-fluid img-markdown" /></p>
<p dir="auto"><strong>Under FORMAT SIZE ADJUSTMENT, pick <code>ON</code></strong></p>
<p dir="auto"><img src="/uploads/files/1465929799521-006-sdformatter-03.png" alt="0_1465929658015_006-sdformatter-03.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">Next click on the <code>Format</code> button and wait a few seconds. You may get an error about something being unsupported, that’s fine, you can ignore it. If all went well, at the end of the format, the screen will look like this:</p>
<p dir="auto"><img src="/uploads/files/1465929875187-007-sdformatter-04.png" alt="0_1465929733082_007-sdformatter-04.png" class=" img-fluid img-markdown" /></p>
<p dir="auto"><strong>Notice the Size, it should list the approximate size of the card, in this case it’s an 8GB card, so that number is correct.)</strong></p>
<hr />
<p dir="auto"><strong>Step 4</strong><br />
Now it’s time to write the operating system image onto the card. It should be done extracting by now and you should have an <code>.img</code> file now. For the May 27th release, the file name is <code>2016-05-27-raspbian-jessie.img</code>. For this step, you’re going to use the <strong>Win32 Disk Imager</strong> software. It must be run as the Administrator user, otherwise it will fail.</p>
<p dir="auto">Click on Start, find the program in your menu, <strong>right-click</strong> on the name of it and select <strong>Run as Administrator</strong>. On my Windows 10 system, the menu looks like this:</p>
<p dir="auto"><img src="/uploads/files/1465930190906-008-imagewriter-01.png" alt="0_1465930048110_008-imagewriter-01.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">When the program launches, click on the tiny folder icon to the right of the empty field, then browse to where your Raspbian Jessie image is located and select it. Again, <strong>verify the drive letter to the right of that!</strong> While the program will only pick external drives, if you happen to have something else in your reader, it will happily list it and possibly write to it if you don’t check that.</p>
<p dir="auto"><img src="/uploads/files/1465930377832-009-imagewriter-02.png" alt="0_1465930234990_009-imagewriter-02.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">Once you’ve checked the correct drive, click on <strong>Write</strong> and wait for it to finish.</p>
<p dir="auto"><img src="/uploads/files/1465930429317-010-imagewriter-03.png" alt="0_1465930287990_010-imagewriter-03.png" class=" img-fluid img-markdown" /></p>
<p dir="auto"><img src="/uploads/files/1465930433483-011-imagewriter-04.png" alt="0_1465930292479_011-imagewriter-04.png" class=" img-fluid img-markdown" /></p>
<p dir="auto"><img src="/uploads/files/1465930437318-012-imagewriter-05.png" alt="0_1465930296328_012-imagewriter-05.png" class=" img-fluid img-markdown" /></p>
<hr />
<p dir="auto">Once completed, <strong>Eject</strong> the card. I know that sounds silly, but I know way too many people who don’t know to <em><strong>Eject</strong></em> any cards or USB thumbdrives.They simply yank them out. There’s only a small number of brands on the market that will be fine if you yank them out, however the majority should be ejected first. That will signal any latent process to finish writing to the card or drive before unmounting it from the operating system. You are now ready to insert the card into your Raspberry Pi and boot it up for the first time.</p>
]]></description><link>https://forum.magicmirror.builders/post/1644</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/1644</guid><dc:creator><![CDATA[KirAsh4]]></dc:creator><pubDate>Tue, 14 Jun 2016 22:50:10 GMT</pubDate></item></channel></rss>