Bash Lockfile Script

By stovesy
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

Squid on pfSense 2.3

By stovesy
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 ...

Using vHosts on pfSense

Using vHosts on pfSense
By stovesy
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). ...

Setting up IPX and NCPFS on Ubuntu 14.04

By stovesy
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 ...

Watchguard Firewall X750e running pfsense

By Frank
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.   ...

And back to Firefox

By stovesy
So I’ve been using Chrome for a number of years now, and thought it time to try the developer spin of Firefox. So glad I did. It’s smooth, fast and probably less invasive than Chrome. The developer tools are amazing too. My browser of choice.  Share this:TwitterFacebookPinterest

Crash report – 22nd Jan 2015 1

By stovesy
Anonymous UUID: 7CA7ED79-BC1E-4D32-0AD1-248475CD9C97 Thu Jan 22 20:42:23 2015 *** Panic Report *** panic(cpu 0 caller 0xffffff7f97a0cf63): “GPU Panic: [<None>] 3 3 7f 0 0 0 0 3 : NVRM[0/1:0:0]: Read Error 0x00000100: CFG 0xffffffff 0xffffffff 0xffffffff, BAR0 0xd2000000 0xffffff8130823000 0x0a5480a2, D0, P2/4\n”@/SourceCache/AppleGraphicsControl/AppleGraphicsControl-3.7.21/src/AppleMuxControl/kext/GPUPanic.cpp:127 Backtrace (CPU 0), Frame : Return Address 0xffffff811dfcb680 : 0xffffff8014d3a811 0xffffff811dfcb700 : 0xffffff7f97a0cf63 ...

Don’t count on antivirus software alone to keep your data safe

Don't count on antivirus software alone to keep your data safe
By stovesy
Buckle up with belt and braces An interesting common sense post on The Register this morning. Common sense to most I.T. Professionals. Share this:TwitterFacebookPinterest

Hooking up Apache WebDAV to Zentyal Active Directory.

Hooking up Apache WebDAV to Zentyal Active Directory.
By stovesy
Nothing too tricky here, but this may save someone a little bit of head scratching. Active directory expects the BindDN to be in a slightly different format than OpenLDAP and it’s also on port 389. You’ll be creating and editing an additional config file for your virtual host; I created mine as. /etc/apache2/sites-available/sitename.co.uk/dav.conf This configuration ...

Crash Report – 22/01/2015 21:28

Crash Report - 22/01/2015 21:28
By stovesy
Just a note that the laptop is on battery Share this:TwitterFacebookPinterest