pfSense: Throttle Bandwidth by Host and Time of Day with Limiter

pfSense: Throttle Bandwidth by Host and Time of Day with Limiter
Today I was setting up a two Synnology NAS units to sync using CloudStation over a WAN link. This was pretty easy to set up using Synnology’s QuickConnect feature. But the problem was that we didn’t want the syncing NAS units to bog down the WAN links during working hours, because those WAN links are ...

FreeBSD ARM Tools 1

Static pkg Tool: pkg-static Built according to instructions noted by David Quattlebaum’s comment on Gonzos post Packages(*) for Rasberry Pi(**). This handy tool will allow you to bootstrap the pkg system for FreeBSD as in the example below, even though the original original pkg package is not currently available via FreeBSD servers. Use it to install your first ...

My Oh My ZSH

My Oh My ZSH
Lately I have been using the Oh My ZSH framework by Robby Russell in my shells on various machines.  I wanted a way to separately add themes, and also to be able to have various color palettes for a single theme. This developed slowly across all my machines into a system that I have now shared on github, which ...

SSMTP Setup On Mountain Lion

You will need to have macports installed and working. Basically, you are going to disable postfix, install the SSMTP port, configure SSMTP, and then (here’s the part that is not documented) replace the sendmail executable with a link to ssmtp. Here are the commands. You should now be able to… Now tail the mail log ...

Resizing FreeBSD partitions on an SD card for Raspberry Pi Using gpart and growfs 7

UPDATE 2: Newer instructions here: https://github.com/daveish/freebsd-arm-tools/blob/master/README.md#extracting-and-writing-images UPDATE 1: You cannot blindly cut and paste the commands below and get any results.  You must read and understand what is happening from one command to the next.  This is an example, which is intended to provide a practical example of how to do this yourself. Below is ...

MD5 All Files In Current Dir With Progress

Here’s an example of how to md5 all the files in the current directory (with progress bar provded by pv).  there are 2 good patterns at play here.  First, the find command piped to the read command, which handles files with spaces in the name nicely.  Second, the pipe of pv to md5, which gives ...