Author Archives: Steven

Small trailer electrical connectors

When we bought our second-hand box trailer it had an old round plug and an adaptor so it could be connected to a more recent flat 7-pin socket. This worked ok but it was messy. The weight of the adapter meant that it needed to be secured otherwise it would hang down and sometimes drag on the ground. I decided to disassemble the adapter and replace the round plug on the trailer with the flat plug from the adapter. Fortunately it was a good quality adapter which could be unscrewed and reassembled. This meant I needed to understand trailer wiring. I used a tech tip from the GoSeeAustralia Caravanning Directory but I’ll copy some of the info here, just in case I need it again.

Flat 7-Pin Plug Round 5-Pin Plug
Pin Connection Colour Pin Connection Colour
1 Left indicator Yellow 1  Left indicator Yellow
2  Auxiliary or reversing light Black 2 Right indicator Green
3  Earth White 3  Stop light Red
4  Right indicator Green 4  Tail and registration plate Brown
5  Electric brakes Blue 5  Earth White
6  Stop light Red      
7 Tail and registration plate Brown      
Flat_7_Pin_SOCKET_VIEW Flat_7_Pin_PLUG_VIEW
Flat 7-pin socket Flat 7-pin plug

The trailer does not have electric brakes or a reversing light so pins 2 and 5 are not used.

 

Ubuntu server with a lightweight GUI

It would be nice to configure and maintain our home webserver from the command line but I just don’t have the time. I don’t do enough of it to become proficient – I only rebuild our web/storage server every couple of years and I don’t do a whole lot to it between rebuilds.

In the past I have attempted it but I always end up installing Webmin and maintaining it headless from another PC on our home network. And recently I’ve given up altogether and installed a lightweight GUI as well.

The Lubuntu lightweight desktop can be installed onto other Ubuntu versions such as Ubuntu server. My last build went like this:

1) Install Ubuntu server 10.04 LTS (Lucid Lynx) Include LAMP + Postfix + Samba during setup

2) Install Lubuntu desktop

the add-apt-repository command requires Python so first:

sudo apt-get install python-software-properties

then add the Lubuntu repo and install:

sudo add-apt-repository ppa:lubuntu-desktop/ppa
sudo apt-get update
sudo apt-get install --no-install-recommends lubuntu-desktop

3) Install Webmin (using APT)

Webmin is not part of the Ubuntu repos so it must be added manually. Edit the APT sources list so that Webmin will be installed and kept current. The file should be here:

/etc/apt/sources.list

add this line:

deb http://download.webmin.com/download/repository sarge contrib

As root enter these commands:

cd /root
wget http://www.webmin.com/jcameron-key.asc
apt-key add jcameron-key.asc

now install Webmin:

apt-get update
apt-get install webmin