Articles on Linux, the open source operating system

Presentation: Incremental Backup For Linux



Yesterday, I gave a talk for the KWLUG on Incremental Backup For Linux. This is targeted towards home networks or small businesses using Linux, although I touched a bit on some enterprise considerations and technologies.

The solution I use relies on the dump and restore utilities for the ext4 filesystem, along with rsync from laptops.

The slides are attached below, as PDF. The meeting was recorded, and the video should appear here shortly.

Installing Arduino IDE for STM32F103 boards


If you want to use the Arduino IDE for STM32F103 boards, you need to do the following.

The instructions are for Linux, but it is just downloading, extracting and renaming, so you can use similar steps for Windows of Mac OS/X.

Install the Arduino IDE

First, go to the Arduino web site

Select your platform, and download

Extract the IDE

tar xJvf ~/Desktop/arduino-1.8.5-linux64.tar.xz

Rename the directory

Creating a Bootable FreeDOS USB Flash Drive From Linux



As someone who only runs Linux, I occasionally need to run DOS for updating the BIOS on various machines.

Floppy disks are no more an option, since it has been nearly two decades with machines not shipping with them. Therefore, the only realistic option is using USB flash drives.

One excellent alternative to Microsoft MS-DOS, is FreeDOS, a free clone that needs very little resources to run. It can be used to run legacy applications, and one of them is flashing a new BIOS.

How to install MiniDLNA on Ubuntu Linux 14.04 LTS Trusty Tahr



When I was running Ubuntu Linux 12.04 LTS on my home server, I had installed minidlna as a media server that is accessible to DLNA capable clients, including a Smart TV where one can view photos on a large screen.

However, when the server was upgraded to 14.04 LTS, minidlna stopped working. Searching Google turned up forum posts from 2014 with instructions that no longer work.

The Raspberry Pi 2 as an Internet Radio using Mopidy



Recently I got a Raspberry Pi 2, which is said to be 6 times faster than the original Raspberry Pi B. This makes it more suitable for tasks like being a media player.

Getting a full CanaKit Raspberry Pi 2 Ultimate Starter Kit adds many components for experimentation (LEDs, resistors, breadboard, 40-pin ribbon cable, ...etc.). The price was attractive since with Amazon you get free shipping, and therefore it will be cheaper than getting it directly from CanaKit.

Installing KDE Desktop on Ubuntu Server LTS 14.04



In mid June, my laptop hard disk died. Suddenly, there was a flurry of disk I/O wait, then applications started to report errors trying to write anything.

With a 500GB 2.5" laptop disk lying around that was used for backup, I replaced the dead disk with this one.

I had an Ubuntu Server 14.04 CD lying around, and therefore did not bother to download Kubuntu 14.04.

My laptop's home directory is backed up daily via ssh to the server. So my data was safe.

How to upgrade a Linux laptop to a new hard disk



Recently my laptop hard disk died suddenly, and I had an unused 2.5" laptop disk lying around, so I just put that in, and installed Ubuntu Linux LTS 14.04, then added the packages I needed.

However, using smartmontools, I found out that the not so new disk has unhealthy statistics, and did not want to risk down time on my main computer.


Subscribe to RSS - Linux