Linux


Secure SSL Cert 1
There are a number of good reasons why you might want your own valid SSL certificate. Back in the day, self-signed certificates were popular because of the complexity and expense of SSL certificates signed by a Signing Authority. But today, there are a number of providers of free SSL certificates, […]

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


UniFi Controller Setup Wizard 1
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 / ...



"Forget" your access point(s) on your existing UniFi Controller before adopting it on your hosted controller 1
UPDATE: I’ve written an automated script that performs all the steps in this article in less than 60 seconds. Feel free to follow the steps below if you want full manual control, or download my script to make your life even easier. 🙂 Ubiquiti Networks’ Java-based UniFi Controller software has a […]

Upgrade Your Linux UniFi Controller Version in 5 Minutes


"Forget" your access point(s) on your existing UniFi Controller before adopting it on your hosted controller 3
If you’ve ever set up a Ubiquiti UniFi access point, such as the UBNT UAP, UBNT UAP-PRO, or UBNT UAP-AC-PRO, you’ve had to run UniFi Controller software required to adopt, configure, and manage your UniFi devices. When I set up a UAP-PRO in our house (see my install guide) I ran the UniFi Controller software full-time on […]

DIY Cloud-Hosting a Ubiquiti (UBNT) UniFi Controller




Postfix 2.9 Upgrade
To help reduce the load on my Postfix mail servers, I rely on Postscreen (which is built in to Postfix) to help weed out bot spam and misconfigured mailers. And to reduce the load on Postscreen, one of my tricks is to whitelist the outbound IP addresses of a couple of […]

Postscreen Whitelisting of SMTP Outbound IP Addresses from Large Webmail ...


Setting up multiple WLANs in DD-WRT 24
For the past while, I’ve recommended DD-WRT K2.6 firmware builds for the Linksys E4200 router, as well as other Linksys / Cisco WiFi routers. The builds based on the newer K3.x Linux kernel have now reached a stable enough point where you can run them… but I still recommend the […]

DD-WRT K2.6 Kernel vs. K3.x and How To Upgrade


The Ubiquiti EdgeRouter Lite can replace the Google Fiber Network Box 26
I’ve been a Google Fiber user (and fan) since the service first hit Provo, Utah. I have a vacation home there, so while I don’t get to benefit from the Gigabit speeds on a daily basis, I certainly take advantage of it while I’m there. Because it’s a vacation home, I rely […]

Replace Your Google Fiber Network Box with a Ubiquiti EdgeRouter ...



Bandwidth test as Sender 1
In the top-right corner of the Ubiquiti EdgeMAX EdgeRouter’s GUI interface, you’ll find a Toolbox menu with plenty of goodies inside (assuming you’re running a version of the firmware that has them, such as 1.7.0+). One of the menu items lets you test the Bandwidth to or from your router: Selecting […]

Using the Ubiquiti EdgeRouter’s Built-In Bandwidth Tester


Linux Uptime
If you’re getting permissions errors when trying to update WordPress plugins or themes (or even WordPress itself), it can be a major pain to try and troubleshoot WordPress permissions, and the documentation is unclear on exactly what the optimal WordPress permissions settings are. I recommend these using the following four easy Linux […]

Correct Permissions for WordPress


CloudFlare 2
I went to update the mod_cloudflare package on a CentOS / RHEL box this morning, and ran unto the following problem: % sudo yum update -y mod_cloudflare Resolving Dependencies --> Running transaction check ---> Package mod_cloudflare.x86_64 0:1.2.0-1360806316.el6 will be updated ---> Package mod_cloudflare.x86_64 0:1.3.1-1.el6 will be an update --> Finished Dependency […]

Fixing “Public key for mod_cloudflare-*.rpm is not installed” Error



Sprinklers 34
“Smart” home devices don’t only make your life easier, but in many cases can also save you money. Readers of my blog already know I’m a big fan of ecobee’s smart thermostat products. They’re WiFi enabled controllers that use weather data available via the Internet to predicatively (and reactively) minimize HVAC system […]

WiFi Sprinker Controller Review: Rachio Iro vs. RainMachine vs. IrrigationCaddy


Cisco/Linksys E4200 overclocked to 532 MHz 20
For the past few years, I’ve maintained an article on this blog offers my recommendation for the best DD-WRT build and settings to get max speed from a Linksys E4200 router. One of my recommendations in that article is to use the Administration: Commands tab in the DD-WRT GUI interface to […]

DD-WRT Speed Tweaks: Do they Really Work?


Linux Uptime 11
If you’re looking for the fastest and easiest way to get DMARC verification working on a RedHat (Fedora, RHEL or CentOS) mail server, I highly recommend OpenDMARC. I’m a bit biased, as I currently maintain the OpenDMARC package in the Fedora and EPEL repositories. This article will help you install the […]

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



IMG_4819 7
For a few years now, I’ve been using a Linksys E4200 v1 router (running DD-WRT) as the main router at my house. However, because the WiFi signal from the router isn’t strong enough to reliably reach all the rooms in the house, I picked up a few inexpensive Belkin F7D3302 / F7D7302 […]

Adding Heat Sinks and Overclocking a Belkin F7D3302 / F7D7302 ...


MeteoBridge Push Services tab with MySQL query included. 8
In my initial review of the MeteoBridge weather station interface device, I discussed its basic features, and briefly mentioned that it also included more advanced functionality, including the ability to store weather data from your weather station in a MySQL database (or a MySQL-compatible one, like MariaDB). But after searching online for an […]

Storing Weather Station Data in MySQL from MeteoBridge


standard MeteoBridge hardware configuration 10
I’ve been a weather geek (or as weather geeks would write it: “Wx geek”) since 2001, when I bought an Oregon Scientific WMR968 weather station. Within a couple of years, I’d connected my weather station’s console via a serial cable to a dedicated computer in my basement running Windows 95 and Ambient’s Virtual Weather Station (VWS) software, which […]

Product Review & How-To: Using MeteoBridge to Connect your Weather ...



FreeDNS.Afraid.org A Record Setup 11
The Problem In the “early” days of the internet, you could find free Dynamic DNS (DDNS) accounts everywhere. The providers of those free services, such as DynDns, hoped that by giving you a freebie, you’d eventually become a paying customer for one of their pay services. Unsurprisingly, that’s not what happened. […]

Using FreeDNS.Afraid.org with DD-WRT when you lose your Free DynDns ...


Shellshock Bash Bug 10
I received an email today from a friend and fellow Linux sysadmin, Todd Lyons, informing me of a very sneaky way to exploit the Shellshock vulnerability under what he calls “just the wrong conditions.” Here’s how his email starts out: With your recent blog post, you might also want to […]

Shellshock Warning: Even after patching, your old vulnerable bash binary ...


Setting up multiple WLANs in DD-WRT 3
Because I publish a lot of articles on DD-WRT router firmware, and I also recently published an article on patching the Shellshock bug on older Fedora-based Linux systems, I’ve been receiving a lot of emails asking if DD-WRT firmware is affected by the Shellshock Bash bug. The answer is… maybe. By default, the […]

Is DD-WRT Vulnerable to the Shellshock Bash Bug?



Shellshock Bash Bug 176
With the announcement of the Shellshock Bash Bug, Linux admins around the world have been scrambling to patch their Bash shells so that they’re no longer vulnerable to the exploit. If you have a Fedora, RHEL, or CentOS system that hasn’t reached End-Of-Life, then updating to a patched version of […]

How to Manually Update Bash to Patch Shellshock Bug on ...


Why doesn't it look different? 7
Here’s the scenario: you’ve set up Dynamically Allocated Storage for the hard drive on your Guest VM in VirtualBox and you’ve run out of space — even though your Actual Size is smaller than the Virtual Size (this happened to me recently when my Virtual Size was 10 GB, and […]

Resize a Fedora, CentOS, or Windows Dynamic Guest Virtual Disk ...


Linux Uptime 6
CentOS 7 was released recently, and so I fired up my build VM so I could attempt to build the OpenDKIM package for submission to EPEL. But the compile barfs on strlcat/strlcopy, because RHEL/CentOS doesn’t have libbsd available (yet?). The libbsd package was a requirement for the package to work […]

Rant: Why is there no libbsd for CentOS 7?



Page 1 of 41234