Replacing my Raspberry Pi 2 with my Synology NAS and Docker

I recently moved my server from a 2012 Mac Mini to a Raspberry Pi 2, and while the Pi 2 has been doing a great job, another option recently became available to me. I’ve been a long time user of Synology NAS products. Their products have great uptime, along with superior performance, mobile apps, file sharing etc. I’ve been using them since 2001, and have only had a single unit fail on me. [Read More]

Replacing my old server with a Raspberry Pi 2

I’ve been running a server at home for as long as i can remember. Over the years, the tasks performed by the server has varied greatly, from a complete mail/web/file server, to file/streaming/backup, and in it’s most recent incarnation, streaming/backup. Somewhere along the way (2008 or so), a Synology NAS snuck in, “hijacked” all our data, and streams to AirPlay and Chromecast devices. For the past 8 years, my server has been a Mac Mini, replaced every 3-5 years with the latest model. [Read More]

Sending notifications with MQTT and Pushover.net

I’ve improved a bit on my Pushover.net setup, described in this previous article. I started using MQTT, namely the Mosquitto broker for sending data to/from my machines, instead of the old point-to-point setup i was using. MQTT provides publish/subscribe, with messages up to 256MB each. It also features QoS, ranging from 0 - which basically just means the message was sent on the network, to 2, where you have guaranteed delivery of messages to the broker. [Read More]

Ubiquiti UniFi AC, Pro and coverage.

Preface In my last post i reviewed the Ubiquiti UniFi AP, and while i was rather pleased with the performance, I wasn’t completely happy with the bandwidth available to me. The UniFi AP has a 100Mbit ethernet interface, and is capable of up to 300Mbit 802.11n, 2.4GHz only. In real world usage i saw bandwidth of 86Mbit, and while that is enough to stream four simultaneous HD streams, and fully saturate my 50⁄50 Mbit internet connection, it took a while to transfer files to/from my NAS. [Read More]

Ubiquiti UniFi Review

The story so far. As i described in my previous post, I recently converted my home router to a Ubiquiti EdgeRouter Lite. Now the time has come to converting my Time Capsules (a 3rd generation and a 5th generation), both of which have been running my home WiFi. While the devices initially worked really well individually, increasing noise from the neighbors, more and more connected devices, and higher bandwidth requirements (streaming especially), eventually made in necessary to add a 2nd access point. [Read More]

Ubiquiti Edgemax Dual WAN With Failover Initial Setup

Preface A while ago, i decided to convert my home network to more “professional” gear. My existing setup had been performing great for years, but as line speeds continue to increase, and the number of connected devices seem to skyrocket, the network had gotten more and more sluggish, and the recent router hijacks just made me even more determined to get something that i have greater control over. Years ago i ran my own router on a Soekris net4801 running pfSense, but line speeds eventually got faster than what the Soekris could keep up with, and i ended up on consumer hardware. [Read More]

Using Raspberry Pi as a UniFi controller

Despite having had relatively high end network products, I’ve had numerous problems getting maximum performance from the network. Because of this, I’ve recently converted my home network from various consumer products to running mostly Ubiquity products, including EdgeMax Routers and UniFi AP. Part of the UniFi product line is the UniFi Controller, which is an application that sits on your network, and actively monitors your access points. Running it is optional except for various enterprise functions, like guest network hotspot. [Read More]

Realtime login monitoring, Part 2

My original script for monitoring had a few issues. While it worked really well for the actual push notifications, it didn’t seem to be able to survive log files being rotated. I initially settled for a solution where I just scheduled a restart of my service every night after the logfiles rotated, but i hate loose ends, so I rewrote the script, this time using inotify instead of just calling “tail -F” in a subprocess. [Read More]

Realtime login monitoring with Pushover

See Part 2. My previous article was about securing your Raspberry Pi and having it alert you via email whenever something suspicious occurred. This time I’m taking it a step further, and adding real time push notifications whenever somebody logs in via ssh. For delivering the notifications I’m using Pushover, which is a generic push service, with clients for both iOS and Android. The app isn’t free, but once you purchase it, the service is free up to 7500 messages per app, per month, which is more than enough for this purpose. [Read More]

Securing a collocated Raspberry Pi

There’s an updated version available of this guide here This is a small guide i wrote for setting up a new Raspberry Pi server hosted at PCExtreme I know there are plenty of guides on how to secure your server, but i wanted this as a recipe for myself. I don’t normally use “cookbooks”, but since setting up a remote server isn’t as trivial as setting up a local server, i felt it was worth creating a list of things to do, afterall if things go wrong you can’t just pull the plug. [Read More]