cd /etc/sysconfig

Edit the file network... from then on whatever you put in the hostname
colum will be the reality for that box.  

James


On Wed, 2002-11-20 at 09:44, Praedor Tempus wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> OK, this question pops up periodically and I have asked it myself.  How does 
> one assign a hostname to their system without breaking it and so that it 
> comes up every time one boots?  I managed to get my laptop to be called 
> lapdog.ravenhome.net but cannot recall how.  My hosts file contains both 
> 127.0.0.1 localhost.localdomain
> 10.0.0.1   lapdog.ravenhome.net
> 
> This isn't enough, however.  I somehow managed to get my xterm prompt to 
> display the lapdog.ravenhome.net name as well but cannot recall how. 
> 
> Simply setting "hostname <desired hostname>" will break the current session 
> and require a logout/login to get past it.  It will also only last as long as 
> the current session.  If I reboot it will be back to localhost.localdomain.  
> 
> I want my desktop system to identify itself as something other than 
> localhost.localdomain and I want it to do it with every bootup, login, etc.
> 
> How do I do this?  Ultimately, I will be setting up (hopefully) a local home 
> network and I will require the desktop to be a particular name for this to 
> work.
> 
> praedor
> 
> 
> - -- 
> Conservatives of all times are adventitious liars.
> - - Friedrich Nietzsche.
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.0.7 (GNU/Linux)
> 
> iD8DBQE928oW1i/6R1B/Yh0RAnlHAJ9Hr3g9Dxb8xNS2h6Dr5fmQwVqvZwCfWX1n
> 9ZdSjl56MhOgptmddXTZKlk=
> =BkT/
> -----END PGP SIGNATURE-----
> 
> 
> ______________________________________________________________________
> 
> Want to buy your Pack or Services from MandrakeSoft? 
> Go to http://www.mandrakestore.com
-- 
James Sparenberg <[EMAIL PROTECTED]>


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to