Raspberry Pi: Setting up backup

I have a Raspberry Pi providing household automation and productivity services – WebDav, Backups and Calendar. I always worry about a jolt of power, a failed byte and something that is unrecoverable. Time for a Backup solution. I plugged in a USB stick – 64GB, and immediately checked the file system is there and visible as SDA (unmounted). pi@raspberrypi:~# sudo su – root@raspberrypi:~# lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sda 8:0 1 58.2G 1 disk └─sda1 8:1 1 58.2G 1 part mmcblk0 179:0 0 14.9G 0 disk ├─mmcblk0p1 179:1 0 43.9M 0 part /boot └─mmcblk0p2 179:2 0 14.8G…

Continue Reading →

Cups and Raspberry Pi – How to setup your print server

Print Server is one of those things that makes life easier.  I hooked up my Raspberry Pi and a Docker image in order to have a CUPS server and the Bonjour configuration. Login to the Raspberry Pi and switch to root (sudo -s or sudo su –) Check lsusb to see if you can see the USB device. root@raspberrypi:~# lsusb Bus 001 Device 005: ID 046d:c52b Logitech, Inc. Unifying Receiver Bus 001 Device 004: ID 8564:1000 Transcend Information, Inc. JetFlash Bus 001 Device 006: ID 0424:7800 Standard Microsystems Corp. Bus 001 Device 003: ID 0424:2514 Standard Microsystems Corp. USB 2.0…

Continue Reading →

Raspberry Pi – Part IV – Simple Wiring Test

I am plugging away working with my Pi. I went back to the Ada Fruit Site, and started working on one of the tutorials from the part I purchased – https://www.adafruit.com/products/2125   I want to be able to demonstrate a simple wiring with my Pi works. I selected Email Notifier. I read through it, and realized I needed to convert it to work for the B+ model. The pi4j website has a nice diagram for the pins http://pi4j.com/images/j8header-b-plus-large.png and I simplified the test a bit. I launched the simple python file pi@seconds ~ $ sudo python testPi.py I added the pi4j…

Continue Reading →

Raspberry Pi – Part III – Setting up Jetty

The Raspberry Pi is a device that has so many options open: You can extend the hardware. You can extend the software. I choose to tackle extending the software to start, so I can get the experience that I want setup, and running on the device.  The experience I am after is the web interface to control my Raspberry Pi. For a Java developer, I conclude that a lightweight interface hosted on a Jetty server is probably easiest.  The Jetty server is a 12.9M download and 30M expanded. It’s also used frequently in devices, and why reinvent the wheel, use…

Continue Reading →

Configure WLAN0 on Raspberry Pi

I  don’t know how I did it.  I lost wireless connectivity, so I was forced to plugin my Raspberry Pi to the Lan.  Once, plugged in I could find it via the DHCP table on my router. I first checked the iwlist wlan0 scan to see if my home network was listed.  The home network was listed.  It was. I checked the wpa_supplicant configuration ~ $ sudo vi /etc/wpa_supplicant/wpa_supplicant.conf  and confirmed it pointed to the right network. I also checked dmesg to see if there were any hints for wpa_supplicant. I looked at the /etc/network/interfaces and found iface wlan0 inet…

Continue Reading →

Raspberry Pi – Part II – Get Up and Going with Java

In recent weeks, I haven’t revisited the Raspberry Pi – Running, Vacation, Work have conspired to keep me away from hobby project. I’ve stared at the parts long enough, and decide to plug the Raspberry Pi base into the wired network. I plugged in the Raspberry Pi into the Power outlet, and I got the Red Light.  I logged into my router to see if the Pi picked up the Raspberry Pi, and I found the IP from my routers IP reservations table.   I was able to SSH into the Pi and quickly check the release version ( cat issue…

Continue Reading →

Raspberry Pi – Initial Thoughts

Thanks To Ada Fruit  I picked up a first version Raspberry Pi B+.   The experience brings me back to building my first computer and modifying it. I picked up an B+ Kit from Ada Fruit (based on the fact they have awesome tutorials).  I also picked up a Motor Controller, a Bread Board to hook up peripherals, and a Touch Screen Display.  The touch screen display wasn’t actually compatible with the kit I purchased.  Lesson learned – check the Male and Female connectors for the Displays and PIN (IN/OUT) counts. I laid out all the components on the bubble wrap,…

Continue Reading →