Shami's Blog

Sysadmin, Because Even Developers Need Heroes

XBOX LIVE With pfSense

2016-10-07 by Mohammad H. Al-Shami

A couple of months ago I switched from running OpenWRT on a TL-WDR4300 to running pfSense on a Netgate RCC-VE 2440. Not that OpenWRT is bad, it’s only because I’m a big fan of FreeBSD and I’ve been wanting to run a similar setup ever since I discovered custom firmware like DD-WRT and afterwards m0n0wall and Soekris. When I finally decided to get the hardware I thought Netgate had a better offering and I went for it.


Fixing Certificate Verification Error After Upgrading to PHP 5.6

2016-09-25 by Mohammad H. Al-Shami

Since PHP 5.5 reached it’s end of life a while back I started upgrading my servers to PHP 5.6. This has caused some issues but the worst was:

error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed


Booting BSD Router Project On The Netgate RCC-VE 2440

2016-06-30 by Mohammad H. Al-Shami

I have recently acquired a Netgate RCC-VE 2440 which I intend to use as a router/firewall for my house. But I thought I might as well play with it a little before I do so. One of the things I wanted to test was the BSD Router Project to have in place of one of the routers we have here at work but I couldn’t get it to boot, it would always free with just a “\”.


FreeBSD SCP Chroot

2016-06-29 by Mohammad H. Al-Shami

Quick one here, if you want to create an SCP only user on FreeBSD just do the following


Real-Time Network Traffic Stats On FreeBSD

2016-05-08 by Mohammad H. Al-Shami

Quick one here, to get real-time traffic stats on FreeBSD just run the following command

systat -ifstat

Bootstrapping PKGNG From Your Own Repository

2015-03-13 by Mohammad H. Al-Shami

I’ve been building my own PKGNG repositories with Poudriere lately. Some of the benefits include:


Rrdtool Showing Squares Instead Of Letters In Graphs

2014-12-10 by Mohammad H. Al-Shami

Tried installing Cacti on FreeBSD today and got the following:


Recursively Upgrade Package Dependencies With pkgng

2014-11-11 by Mohammad H. Al-Shami

Update: I now just use pkg upgrade since I have better control over my package repo and it is a much better way to upgrade.


Simulating Cron Runs On The Command Line

2014-10-15 by Mohammad H. Al-Shami

Does this sound familiar?

You write a new script, start it from the command line, everything works properly, you add that script to your crontab then go home, the next day, nothing. So you end up setting up a schedule to run this script the next minute, the script fails, you change something, update the schedule, rinse and repeat.


About Me

Dev gone Ops gone DevOps. Any views expressed on this blog are mine alone and do not necessarily reflect the views of my employer.