Cyberpunk Librarian – Episode 24 – Delicious 3.14159

Cyberpunk Librarian – Episode 24 – Delicious 3.14159
Cyberpunk Librarian

 
 
00:00 / 39:06
 
1X
 

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 lot of possibilities within the library! Join Dan and discover a project he’s working on that involves a Raspberry Pi.

Notes

Outline for what I’ve done for a digital shelf talker unit powered by Raspberry Pi.

  1. Raspberry Pi Model B  – uses a MicroSD and has four USB ports
  2. Using a kit I found on Amazon. Links in the shownotes
    1. 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.
  3. Screenly OSE
    1. Managed through web browser
    2. Displays slides, MP4s, and websites as a digital signage solution
    3. Easier to use and set up than Xibo. I love it!
    4. OSE is the FOSS edition, there is a paid solution with more spiffs – check it out
  4. 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
    1. The Screenly OSE custom image is just Raspbian with Screenly OSE pre-installed. Save yourself some time, just use it.
    2. Flash that to the SD card, pop the card in your Raspberry Pi, hook everything up, and plug it in!
      1. Plug into a live ethernet jack that allows access to the Internet. You’ll need that to get things going.
    3. 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.
    4. The login is the default for Raspberry Pi and Raspbian, the user is pi and the password is raspberry – all lower case.
  5. 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
    1. 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.
    2. 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.
      1. Type sudo apt-get update and then sudo apt-get install wicd-curses. So I call the network manager wicked and the whole thing is wicked curses, see?
      2. sudo wicd-curses
      3. 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
      4. Set up your wifi access (choose it, password if needed, etc) and make sure you set it up to connect automatically!
      5. 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!
        1. Oh except for the fact that it won’t do this automatically upon boot, not yet
      6. 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.
        1. When Screenly OSE starts, it logs in. Whenever someone logs in, /etc/profile is invoked
        2. So let’s cd /etc and, just to be safe, make a copy with sudo cp profile profile.bak, then sudo nano profile
        3. To start the service, add sudo service wicd start to the end of that profile
        4. CTRL X and save
        5. Moment of truth time. Disconnect your ethernet cable and reboot the Pi
      7. 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.
        1. type ifconfig and you should see an IP under WLAN0. There you go! Pop that into a web browser on your network and you can manage Screenly OSE!
      8. You can set up a persistent IP if you want. Me, I prefer to just set it up as a DHCP reservation at the router.

Links

Music

Ice Cold by Jason Shaw
Adeu by Peter Sharp
Bellydance at Ebisu by Ryo Miyashita

Leave a Reply

Your email address will not be published. Required fields are marked *