To create a custom keyboard layout for Oolite on Ubuntu: mkdir -p /home/jonny/.Oolite/AddOns chown -R jonny:jonny /home/jonny/.Oolite gedit ~/.Oolite/AddOns/keyconfig.plist Download the Key Config tool extract it, open the web page and generate the keyboard layout you want. Paste the output into the ~/.Oolite/AddOns/keyconfig.plist file. For reference the default keyboard layout file is at: /usr/lib/GNUstep/System/Applications/oolite.app/Contents/Resources/Config/keyconfig.plist
Posts By: jonny
Bash Shell Script to Automate FTP File Transfer
A little script to send a backup file to a remote FTP server: #!/bin/bash HOST=’123.111.123.111′ USER=’bak_user’ PASSWD=’OpEnSeSaMe’ TODAY=”$(date +”%Y%m%d”)” FILENAME=Hostname_$TODAY.tgz cd /var/backup/sched/ ftp -n -v $HOST << EOT ascii user $USER $PASSWD prompt cd backups put $FILENAME ls -la bye EOT Then run it every day from Cron.
IPTables Custom Chain for SSH access
I wanted a custom IPTables firewall chain to allow SSH access to a machine. The idea is that users hit a web page that adds their dynamic IP address to a list and then a script inserts that IP address into IPTables to allow SSH access. I achieved this as follows. In /etc/sysconfig/iptables I added: *filter… Read more »
Adaptec Hardware RAID controller on Sun 4150
On our Oracle Sun x4150’s the Hardware Raid can be checked after installing the StorMan software which is available (as StorMan-6.40.x86_64.rpm) in the software bundle for x4150s available after logging in to the Oralce support website and locating the downloads for x4150s. The download is pretty big (931MB) when the 39MB RPM is all you are… Read more »
SSH tunnel
The following created an SSH tunnel from my local desktop port 8181 to a remote server port 8181 on which Squid was running so I could point my browser to local port 8181 and the web browsing traffic would be sent over an encrypted connection: ssh -f -N -q -L 8181:localhost:8181 johnny@remoteserver.com -f tells ssh… Read more »
Radius Moving IP Address
When moving a radius service from one machine to another I had to do the following: On the first machine bring down the IP address: ifconfig eth0 down On the new machine, create a file for the new IP address: vi /etc/sysconfig/network-scripts/ifcfg-eth0:1 DEVICE=eth0:1 BOOTPROTO=static HWADDR=00:16:3E:6D:BD:63 IPADDR=123.111.1.2 NETMASK=255.255.255.0 NETWORK=123.111.1.0 ONBOOT=yes And bring up the interface with:… Read more »
Bind DNS entry with and without “www”
I needed to configure Bind today to use www.nicedomain.com and nicedomain.com (without the www) and I managed it adding the following into the zone file: @ IN A 123.123.123.123 www A 123.123.123.123 mail A 123.123.123.123
Windows Server 2008 Gotchas
Install SNMP Service Under Server Manager choose ‘Add Features’. Add the SNMP Service (and telnet client too if you’re interested). Configure the SNMP strings from Administrative Tools > Services. Right-click on the SNMP service and choose Properties. Under the ‘Security’ tab set the community strings and addresses from which SNMP can be accessed. Allow Pings… Read more »
Winsxs Folder Size on Windows 2008

Fast running out of space on a Windows 2008 server. The problem folder was c:\Windows\system32\winsxs at 14.2 GB usage. The following clean-up command should help by removing service-pack packages which have been superseded: DISM.exe /online /Cleanup-Image /spsuperseded
Wii WBFS on Ubuntu

On Ubuntu 12.10 I had been using WBFS Manager but I had a .wbfs file that was not recognised. I tried Wii Backup Fusion but got the following error message in the log tab: (Fri Nov 9 19:26:32 2012) Wii Backup Fusion 1.1 started. Wiimms ISO Tool not found! Wiimms WBFS Tool not found! Titles… Read more »