photOS
photOS copied to clipboard
change hostname
How can the hostname be changed? where is it generated and i assume one has to mount the partion writable (mount -o remount,rw /)
Hostname is set by the /etc/init.d/S04hostname init script. You can place a file containing the hostname under either /etc/hostname, /data/etc/hostname or /boot/hostname (i.e. first partition, will be automatically moved to /data/etc/hostname on third partition).