Cyberpunk Librarian – Episode 24 – Delicious 3.14159




Cyberpunk Librarian show

Summary: <p>Raspberry Pis have taken the maker and geek world by storm! Little, inexpensive computers that can do so many great things? Yeah that has a <em>lot</em> of possibilities within the library! Join Dan and discover a project he’s working on that involves a Raspberry Pi.</p> <h4>Notes</h4> <p><strong>Outline for what I’ve done for a digital shelf talker unit powered by Raspberry Pi.</strong></p> <ol> <li>Raspberry Pi Model B  – uses a MicroSD and has four USB ports</li> <li>Using a kit I found on Amazon. Links in the shownotes</li> <li> <ol> <li>The great thing about this kit isn’t just the case and plugs but also the WiFi plug. That’s what you really need for a project like this.</li> </ol> </li> <li>Screenly OSE</li> <li> <ol> <li>Managed through web browser</li> <li>Displays slides, MP4s, and websites as a digital signage solution</li> <li>Easier to use and set up than Xibo. I love it!</li> <li>OSE is the FOSS edition, there is a paid solution with more spiffs – check it out</li> </ol> </li> <li>Using the custom image found on Screenly OSEs website, I flashed that to the SD card using Win32DiskImager – an open source app that is excellent for this</li> <li> <ol> <li>The Screenly OSE custom image is just Raspbian with Screenly OSE pre-installed. Save yourself some time, just use it.</li> <li>Flash that to the SD card, pop the card in your Raspberry Pi, hook everything up, and plug it in!</li> <li> <ol> <li>Plug into a live ethernet jack that allows access to the Internet. You’ll need that to get things going.</li> </ol> </li> <li>It’ll start up and go right into a demo display with a video. Let that play through and then hit CTRL ALT F1 to get to a login prompt.</li> <li>The login is the default for Raspberry Pi and Raspbian, the user is pi and the password is raspberry – all lower case.</li> </ol> </li> <li>So the tricky part isn’t getting Screenly OSE to work it’s getting the Pi to automatically connect to WiFi. Over ethernet it’s great! Wifi needs a little tweaking</li> <li> <ol> <li>To do this, we need to install a better network manager. It’s spelled wicd, but to keep it straight in my head I call it “wicked” which will make more sense in a few moments.</li> <li>Getting wicd installed is pretty easy. I’ll have this info listed in the show notes, so don’t feel like you have to write things down furiously.</li> <li> <ol> <li>Type <b>sudo apt-get update</b> and then<b> sudo apt-get install wicd-curses</b>. So I call the network manager wicked and the whole thing is wicked curses, see?</li> <li><strong>sudo wicd-curses</strong></li> <li>You’ll get a pretty simple interface to set up your wifi connection, link to more information in the show notes but I bet you’ll figure it out pretty quickly</li> <li>Set up your wifi access (choose it, password if needed, etc) and make sure you set it up to connect automatically!</li> <li>After that, hit F10 to save the setup and then SHIFT C to connect. If you did it all correctly, the wifi connects up! BRILLIANT!</li> <li> <ol> <li>Oh except for the fact that it won’t do this automatically upon boot, not yet</li> </ol> </li> <li>Okay so the trick is that we need to get the wicd service to start automatically. To do that, we need to edit the /etc/profile file to start the service on login.</li> <li> <ol> <li>When Screenly OSE starts, it logs in. Whenever someone logs in, /etc/profile is invoked</li> <li>So let’s <b>cd /etc</b> and, just to be safe, make a copy with <b>sudo</b> <b>cp profile profile.bak,</b> then <b>sudo nano profile</b> </li> <li>To start the service, add <b><code>sudo </code></b><code><b>service wicd start </b>to the end of that profile</code> </li> <li>CTRL X and save</li> <li>Moment of truth time. Disconnect your ethernet cable and reboot the Pi</li> </ol> </li> <li>When Screenly OSE comes up, it may or may not show you the IP for the Pi. Sometimes it doesn’t get the wifi connection in time to display it. To verify your wifi connection, do the CTRL ALT F1 and login again.</li> </ol> </li> </ol> </li> </ol>