DIY security system - remote cameras

In a previous article, we set up a basic DIY security system using motion and a webcam connected to a Raspberry Pi. That's a good start, but let's not stop there. If we have our one camera watching the front door, what about the back door? The garage? Or maybe, we need to catch the thief that's stealing our left over pizza from the refrigerator in the middle of the night! Um, that last...

Read more

DIY security system - the basics
securitymotionraspberrypi2018-03-29 - carpie

I have always liked the idea of having a security system, but never really liked the idea of paying monthly fees or the idea of unscrupulous people in control of cameras in my house. The solution?

Roll my own of course!

In the wonderful world of open source, it's quite easy and inexpensive to do so! In the article, we'll stick with the basics and learn how to set up motion, an open-source motion detection program, with a singl...

Read more

Headless Pi with static IP - wireless edition

Here is an easy way to set up a headless wireless Raspberry Pi without having to connect a keyboard or monitor! In this article we will go through the process of downloading and installing Raspbian Lite on an SD card. We will set the static IP by modifying the files on the card before we boot our Pi. This will give us a preset static IP without the need to connect a keyboard or monitor to the Pi!

The following video demonstrates these i...

Read more

Headless Pi with static IP - wired edition

Here is an easy way to set up a headless wired Raspberry Pi without having to connect a keyboard or monitor! In this article we will go through the process of downloading and installing Raspbian Lite on an SD card. We will set the static IP by modifying the files on the card before we boot our Pi. This will give us a preset static IP without the need to connect a keyboard or monitor to the Pi!

The following video demonstrates these instruc...

Read more

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

Update For a method of setting a static IP that doesn't require connecting a keyboard or monitor to your Pi, see my instructions either for a wired or wireless setup.

Updated Video instructions now included!

Several of my articles here on carpie.net make use of a Raspberry Pi as a headless server. Instead of explaining it in each articl...

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 carpie.net
2016-06-01 - carpie

Welcome to carpie.net! Hopefully you will find something useful to you here. New posts will be announced via Twitter (@elcarpie). Enjoy!