Hi again

In the end I determined that pump could not do this, so I added the line

Code:
hostname $(dig -x `ifconfig $DEVICE | grep "inet addr" |awk '{print $2}' | cut -d : -f2` +short |cut -d . -f1)
to /etc/init.d/knoppix-auoconfig, after netdevice detection has finished. I set $DEVICE to eth0, but in the more general case I think leaving out $DEVICE should work. If a network was unavailble I think that the command would fail, and the hostname would remain Knoppix (as set earlier in the script)

Ben