Making DHCP IP assignments easier Part 2

In a previous article we learned how to set up a DNS/DHCP server for our home network using dnsmasq and a Raspberry Pi. This works well but it is a hassle to add a new device or allow a friend on to our network. In the first part of this series, I introduced SID, an ...

Read more

Making DHCP IP assignments easier Part 1

In a previous article we learned how to set up a DNS/DHCP server for our home network using dnsmasq and a Raspberry Pi. The setup we used performed static IP assignments for particular devices. This is all well and good, but it can be kind of a pain adding new devices to the list of reservations. When you have a friend over, you don't want to be fumblin...

Read more

Auto-install Node.js on a Raspberry Pi with a Debian package

For a recent project, I needed to deploy Node.js to a Raspberry Pi to run a small custom web service. This Pi was not intended to be a dedicated web service device. The web service was just needed for my project. Also, I wanted to be able to deploy to multiple Pis if needed. After considering my options, I landed on creating a Debian package (.deb) for my project that auto-installs my desired version of Node on installation of the package....

Read more

Setting up a home network DHCP/DNS server with dnsmasq

When you have too many networked devices like I.., uh, someone I know does, it becomes very difficult to keep up with IP addresses...

The problem is two fold. First, to be able to get to every device, you have to give them all static IPs. Otherwise your DHCP server (typically your cable/DSL router) will give them seemingly random IPs if ...

Read more

Simple automated backup system for Linux

I hate re-doing things. One of my biggest fears is that the masterpiece of code I just churned out will be lost tomorrow and I'll have to do it again. It's perfect the way it is! I could never achieve that the same way again! Ok, that was a bit dramatic, but seriously, data has some meaning to all of us, so if it's worth having, it's worth being protected from accidental loss. In this post, I'm going to describe a simple system for backing up just the data you care about on your Linux syste...

Read more

Setting up a headless Raspbian server with a static IP

Updated Video instructions now included!

Several of my articles here on make use of a Raspberry Pi as a headless server. Instead of explaining it in each article, being a proper programmer and all :), I've factored those instructions out into an article of their own.

Making a "headless" Pi just means that, once we've go...

Read more

Setting up passwordless SSH logins
sshpasswordlesssecuritylinux2016-06-01 - carpie

If you access remote machines through SSH a lot, it gets to be a real pain to type in your password over and over. Fortunately, we can easily eliminate the need to keep typing those passwords and increase the security of SSH login process at the same time!

SSH keys

The key (see what I did there?) to eliminating the need to constantly re-type your password is using SSH keys to log in. When you generate an SSH key, you are creating a public/private key pair. The private side, you need ...

Read more

Welcome to
2016-06-01 - carpie

Welcome to! Hopefully you will find something useful to you here. New posts will be announced via Google+ (+LeeCarpenter9) and Twitter (@elcarpie). Enjoy!