This is an old revision of the document!
This is the web page of Andy Beverley, where I have put a variety of information that is either difficult to find on the web, or that I want as a handy reference for the future. There are also a couple of other pages at the end that do not fall into these categories! Feel free to make any corrections yourself, or alternatively email me [email@example.com]
Please either check out my LinkedIn page, or email me for my CV.
Using iptables and PHP to create a captive portal
There are various captive portal software packages available (both free and open source). None of the packages I tried did what I wanted and were not particularly customisable. Therefore I created my own using a few iptables rules and PHP (along with a handful of other standard packages). The page below details the steps taken. Using iptables and PHP to create a captive portal
Set up Guacamole on Ubuntu in order to share the desktop remotely over the web using HTML5
Create a PDF photo slideshow using Latex
This page describes how to use Latex to create a PDF photo slideshow. This is a good halfway house between simply displaying photos using a picture viewer, and creating a Powerpoint-type slideshow with text and so on. The advantage of Latex, of course, is that the whole presentation can be created automatically from a template - no fidgety Powerpoint formatting to worry about.
Fair traffic shaping an ADSL line for a local network using Linux
Traffic shaping a standard ADSL link in order to share it with a couple of hundred users is a common problem. There are dozens of bits of software and firewall scripts out there already to do this. This particular page details a method that I have used successfully for several years. It aims to be as simple as possible, is easily customised, and uses connlimit to identify P2P users. Although the latter is not 100% reliable, it seems to work pretty well and does not fall foul of any new/changed P2P software that happens to some of the other scripts. The page is written as more of a tutorial; if you would like to use this in practice, then I recommend you check out the scripts in the “captive portal from scratch” page below. Fair traffic shaping an ADSL line for a local network using Linux
Setting up a captive portal from scratch using Debian
PortalShaper - details of the scripts used in the installation above
PortalShaper is a set of scripts to:
Create a captive portal using iptables and PHP
Install a set of PHP scripts to manage the captive portal
Traffic shape the internet connection to optimise its speed
Create a “splash page” to display adverts to users
Load share between multiple connections
Installation of the scripts is described in the page above. This page describes how they work
Nwipe Secure Disk Erase
DBAN is a popular and easy to use disk wiping program. I have extracted the dwipe program that it uses and created a new project called nwipe. This is essentially the same as dwipe, but can be compiled and used in most modern Linux distributions. If you are having trouble running or booting DBAN, then nwipe is for you.
MET4PERL Instromet Weather Station Logger
met4perl is a re-spin of the MET4NET software published by Instromet, but implemented in a very simple Perl interface. Currently it is only written for Linux, but it would be easy to add other platforms.
Using backup2l with Debian
Backup2l is an excellent and efficient backup tool. The documentation is sparse though. The following page provides some quick and dirty instructions for getting it working. Setting up backup2l with Debian
Customise live Ubuntu for internet cafe environment
A page with instructions on how to customise a copy of Ubuntu and make it network bootable in order to use within an internet cafe environment. In my opinion this is vastly superior to most arrangements in internet cafes that I use! Customise live Ubuntu for internet cafe environment
Setup SMTP authentication with Postfix running on Debian
The original idea of this page was a quick and dirty howto on how to setup SMTP authentication on Postfix. However, it turned out that there was no quick way to achieve what I wanted (encrypted passwords over an unencrypted link, using Courier IMAP as the password database). It also turned out that I was running a non-standard Postfix (it wasn't chrooted). Therefore, as SMTP AUTH and SASL have always been something of a black art to me, I have written a few things down that I have discovered, as well as a quick and dirty howto on setting up a basic SASL database. SMTP authentication and Postfix
Setup clamav with Postfix on Debian Lenny in a chroot
MSUOTC profile pages
Tomatina tomato festival
Random computer notes