Just a little lockfile library for bash. If the lockfile script is in the same folder as your script.. source $(dirname $0)/lockfile.sh Then call. setup_lockfile check_lock create_lock Do your scripty stuff then call cleanup_lock Share this:TwitterFacebookPinterest

After upgrading to pfSense 2.3 it was evident that squid just wasn’t working. It’s now working fine after…. Stopping the service. Clearing the squid folder under /var/squid. And then… Setting authentication to local – which didn’t work when the correct username and passwords were entered. And then setting auth back to none – Bingo, we ...

My way of using vHhosts on pfSense involves Squid reverse proxy, DNS and vHosts. Make sure you’ve got the Squid3 and vHosts packages installed. First, the pfSense web gui should be on a port other than 80 or 443. This should be done as a matter of course anyway (use https on port 8443 maybe). ...

It seems that packages are not published yet for 14.04, so if you need to string together a Novell 3.12 server and Linux for some reason, this may help. The packages from the Maverick release work perfectly. So visit https://launchpad.net/ubuntu/+source/ncpfs/2.2.6-8/+build/1782020 and download the following files. ipx_2.2.6-8_amd64.deb libncp_2.2.6-8_amd64.deb libpam-ncp_2.2.6-8_amd64.deb ncpfs_2.2.6-8_amd64.deb The best way to do this ...

After 10 hours of rail travel, stage one is complete. A smooth journey, with only one minor delay which luckily didn’t result in a missed connection. We passed into Cornwall over the Taymar bridge thinking we were nearly there; wrong. It takes a long time to get to the end of the earth. Our journey ...

After many trusted years of service, my original pfsense firewall died (Watchguard X700). So it was off to ebay to buy a newer model the X750e – faster processor, more RAM. £40 later on ebay I have myself a large red box! For those who don’t know pfsense is a damn good open source firewall. ...

So this weekend just gone, I popped up to see my parents up in Cumbria and took the opportunity to do a little cycling. The first eight miles to Little Salkeld were reminiscent of Cornwall. Very steep but short brutal hills. After a most pleasant tea and cake at Little Salkeld Watermill, I headed up ...