ggiles
Group: Members
Posts: 2
Joined: Aug. 2006 |
|
Posted: Aug. 13 2006,21:54 |
|
Hi, I have a frugal laptop install, and can't figure out how to change the hostname. Tried searching the wiki and forum, found two approaches neither of them work, looking for help and ideas.
1. Added host 'cheat code' to lilo (/cdrom/boot/lilo.conf), tried various options / combos (including putting 'dsl' in front of 'host'), however entering 'hostname' from a shell still reports 'box'.
Quote | lba32 #enable large disk support timeout=30 #wait 3 seconds before auto-booting vga=791 boot=/dev/hda #put boot loader in MBR of target disk root=/dev/hda1 #set root to be partition of target disk image=/boot/linux24 label=DSL initrd=/boot/minirt24.gz read-only APPEND="ramdisk_size=100000 init=/etc/init lang=us apm=power-off hda=scsi hdb=scsi hdc=scsi hdd=scsi hde=scsi hdf=scsi hdg=scsi hdh=scsi nomce nodma quiet host=LinuxLaptop frugal BOOT_IMAGE=/KNOPPIX/KNOPPIX "
|
2. Tried changing /etc/hostname, /etc/hosts and /etc/init.d/knoppix-autoconfig. None of these survive a reboot, as these files are copied from the ISO image at bootup.
Any ideas or suggestions most welcome
Thanks Greg
|