Networking :: Host name?



I'll try that. Perhaps not hard code it, but read it from the /etc/hostname file. Funny it doesn't do that already.

One other thing I'll try - in a debian netinstall, I tried to enter a hostname at the appropriate point in the install process. It puked on that name, telling me that only lower case alpha, numeric, and '-' characters are legal in a hostname. I hadn't heard this before. The name I had been trying to use contained upper case, and the '_' character. I haven't read the RFCs to see what is truly legal, but it's worth a shot....

Joe

WHOOPS WHOOPS!  DOUBLE DOUBLE POST POST!!

 |
V

1.  Open /opt/bootlocal.sh and add "hostname COMPUTERNAME" to the end of the file
2.  Open /etc/hostname and change "box" to "COMPUTERNAME"
3.  Open /etc/hosts and change "box" to "COMPUTER NAME"

For more info try here.

Quote (roberts @ Feb. 01 2006,17:46)
Try editing /etc/init.d/knoppix-autoconfig the line
hostname=box


Quote (yourfuzzygod @ Feb. 03 2006,16:52)

1.  Open /opt/bootlocal.sh and add "hostname COMPUTERNAME" to the end of the file
2.  Open /etc/hostname and change "box" to "COMPUTERNAME"
3.  Open /etc/hosts and change "box" to "COMPUTER NAME"


/etc/init.d/knoppix-autoconfig
/etc/hostname
/etc/hosts
are Read Only files on my Frugal install of DSL 2.2

I'd really like to be able to give all 3 of my dsl laptops unique identities on the network. Changing the Host name seems the best way. What is required to do this on a frugal install?

Thanks,
Rob

With Frugal you can put the cheat code host=whatever somewhere after frugal or toram in the grub menu.lst
Next Page...
original here.