I have a root'd G1 phone, and I would like to set its hostname. As root I can run the hostname
command and set it, but the name does not survive reboot.
First, I tried creating a /etc/hostname
file that only contained my hostname, but that did not work.
Next, I edited /etc/hosts
like this:
127.0.0.1 g1-phone localhost
However that failed as well. Are there any other methods I can try to set the hostname permanently?