posted by steve | Category: Linux & Open Source

This article discusses installation of nftables, the new Linux firewall software, on a Debian 7.5 system.  Nftables is under very active development and therefore the installation steps may change by the time you view this article.  Specifically, the various prerequisites needed in order to build nftables will likely no longer be needed as the software matures, and more importantly, as packages for it become available. Note: This article begins with a base of Debian 7.5.0 [...Read more...]

posted by steve | Category: Current Projects

I had been successfully running Asterisk on a Raspberry Pi with an Obi110 interface to PSTN for about a year.  However, I recently switched back to a standard 1u rack mount server for the phone system.  The Raspberry Pi server was just fast enough to support asterisk with a SIP and PSTN outbound and several internal SIP clients but the SD card just wasn’t reliable enough. Something, and I never found out what, was quite [...Read more...]

posted by steve | Category: Linux & Open Source

After compiling nftables and attempting to run nft list tables I received the error: nft: error while loading shared libraries: libnftnl.so.0: cannot open shared object file: No such file or directory Turns out I needed to run ldconfig in order to fix the error.  I also rebooted prior to running ldconfig but probably didn’t need to.

posted by steve | Category: Useful Items That I Forget

VBoxManage storageattach <machine name> –port 0 –device 1 –storagectl “IDE Controller” –medium none

posted by steve | Category: Useful Items That I Forget

#assumes existence of gituser which has to be added manually. mkdir /opt/git/newrepo.git cd /opt/git/newrepo.git git –bare init cd /opt/git chown -R gituser.gituser newrepo.git cd ~ mkdir svnrepo-export cd svnrepo-export svn export <path-to-svn-repo> git init git add . git commit -m “initial commit” git remote add origin gituser@localhost:/opt/git/newrepo.git git push origin master <move old real svn repo out of the way> git clone gituser@localhost:/opt/git/newrepo.git <directory>

posted by steve | Category: Linux & Open Source

For quite some time, I’ve had my own personal homepage containing commonly used links, server status, subject lines of e-mails, and RSS news feeds.  Nothing exciting there.  The RSS feeds are retrieved by a program that runs every N minutes through cron and places the entries into a MySQL table.  Again, nothing exciting.  However, recently the Perl program that I’ve been using to retrieve the RSS has been consuming a bigger percentage of the available [...Read more...]

posted by steve | Category: Useful Items That I Forget

When writing books I typically find myself needing to use Windows servers in various forms.  However, I don’t need the password to expire.  I always forget how to disable that, erm, feature.  So here it is.  Nothing groundbreaking here, just me writing it down so I can find it later. For local password expiration: gpedit.msc Computer Configuration -> Windows Settings -> Security Settings -> Account Policies -> Password Policy | Maximum Password Age For domain [...Read more...]

posted by steve | Category: Random Rants

I use the braingia.org domain as my own personal domain (as you can see by visiting this site).  I also use it for e-mail.  When providing an e-mail address through an online form, I typically create an e-mail alias for that site.  Doing so enables me to track if that site sells my e-mail address or, as happened the last couple weeks, starts sending out a ton of advertising.  Just today I deleted two e-mail [...Read more...]

posted by steve | Category: Random Rants

After getting through some unexpected activation issues last night I spent some time with iOS 7 today and this evening.  First impression:  If this is the UI that Jony Ive designed then he should be fired and be sent to a deserted monochrome island.  There is simply not enough contrast for, well, anything in the UI. The tiles blend together and the new fonts don’t do anything to help the situation. Everything seems to blend [...Read more...]

posted by steve | Category: Useful Items That I Forget

I do a fair amount of writing involving Microsoft products.  As such I’m constantly re-installing Windows into virtual machines.  One of the items that catches me off guard is Windows activation with multi-activation keys (MAK) from Technet.  Here’s my friendly reminder on what needs to be done in order to activate when Windows indicates there’s an activation problem: slmgr.vbs /ipk <WINDOWS KEY HERE> Windows activation will work after that command completes successfully.