Linux


Kernel Version vs Firmware Version 6
In March of last year, I published this article claiming that the latest (at the time) DD-WRT builds based on the Linux 2.6 kernel (K2.6) ran faster on a Linksys/Cisco E4200 router than their K3.x counterparts. Since then, I’ve heard apocryphal stories from some in the DD-WRT forums that the […]

DD-WRT K2.6 vs K3.x vs Tomato Router Firmware Head to ...


"Forget" your access point(s) on your existing UniFi Controller before adopting it on your hosted controller 10
UPDATE: Due to the positive responses I’ve received about this script, and repeated requests for Let’s Encrypt support, it now supports standard and Let’s Encrypt SSL certificates. Read on for details. The Ubiquiti UniFi Controller comes with its own self-signed SSL certificate, which means that every time you try to […]

Use an Existing SSL Certificate on a Linux UniFi Controller


5
UPDATE: Since most modern browsers yanked their trust for StartSSL certificates due to some funny business from StartCom, I no longer recommend StartSSL certs. I’ve switched all my certs over to LetsEncrypt (using the excellent Dehydrated script for easy setup and renewal). The article below remains here for historical purposes only. […]

Create a Free SSL Certificate with StartSSL



"Forget" your access point(s) on your existing UniFi Controller before adopting it on your hosted controller
After writing the post on how to quickly upgrade your Ubiquiti UniFi Controller on non-Debian Linux boxes (I run mine on CentOS), I decided that it still wasn’t quick enough. So I threw together a script called upgrade_unifi.sh that does the following: Stops the existing UniFi Controller Makes a backup of your old UniFi […]

Automated Script for UniFi Controller Upgrade on Linux/Unix Systems


3
If you’re running the Ubiquiti UniFi Controller on a Linux box (I run mine on CentOS), the default instructions from UBNT walk you through building a simple SysV init script to run the Java .jar file as a service. I was in a tinkering mood, so I re-wrote the SysV startup script on my […]

Improved Startup Script for Ubiquiti UniFi Controller on Unix / ...


Linux Uptime 1
After upgrading from Nagios 4.0 to 4.0.1, I attempted to manually reschedule a check of all services on a particular host, I received the following error: Error: Could not open command file ‘/usr/local/nagios/var/rw/nagios.cmd’ for update! The source of the problem turned out to be a permissions issue with the nagios.cmd […]

How to Fix Error: Could not open command file ‘/usr/local/nagios/var/rw/nagios.cmd’ ...



Upgrade from Fedora 17 to 18 with FedUp 1
Fedora 18 (codename Spherical Cow) was officially released today, and there’s a mad scramble to figure out how to upgrade to this latest Linux desktop from Fedora 17. Previously, you’d have to either do a fresh install with a CD or DVD, or you could use the built-in PreUpgrade method. […]

Upgrade from Fedora 17 to Fedora 18 with FedUp


Setting up multiple WLANs in DD-WRT 14
Even for the extremely ungeeky, having WiFi available throughout your house is pretty much standard these days. And while the next logical step of securing that network via encryption (WEP is for n00bs — those in the know use WPA2-AES) may not be standard, it really should be. Assuming you do […]

Use DD-WRT to Create a Guest WiFi Network and Block ...


Remote Cable Modem and Router Power Cycle 2
We’ve all been there. You try to load a web page, or check your email, or download a file, and nothing happens. “The Internet’s down!” is the cry at my house when we lose connection. It’s also the #1 reason why people call their Internet service providers’ tech support numbers, […]

How To Automatically Power Cycle Your Modem and Router on ...




8
I often say there are only two types of data: data that is backed up, and data that is waiting to be lost. Even if you’re the most contentious hax0r who always backs up your data, if your backups are stored in the same physical location as the source data, […]

How to Back Up a Linux Server to Amazon S3 ...




DKIM Test Message 145
For those who want or need to compile and install OpenDKIM from the source code, you can follow the instructions I wrote in this article. If you’re looking for the fastest and easiest way to get OpenDKIM running on a RedHat or CentOS system, I currently maintain the OpenDKIM package in […]

Installing OpenDKIM RPM via Yum with Postfix or Sendmail (for ...


11
You don’t need a Windows Media Center PC to share pictures, videos, or music with an Xbox 360. If you’ve got a Fedora / RHEL/ CentOS box on your home network and you’d like to use it as a UPnP and DLNA Media Server so that you can stream files […]

How to set up uShare media server on Fedora / ...




I’ve got a Dell Studio 1737 laptop, on which I dual-boot Windows 7 and Fedora 12. But with the default  graphics drivers installed by FC12, I’d receive an Accelerated Graphics Not Available error message if I tried to enable System > Preferences > Desktop Effects. The solution was to do: […]

Enabling Desktop Effects on Fedora 12 with ATI Radeon HD ...