Hostname won't stick

Paul Pianta pantz at lqt.ca
Sun Sep 26 14:08:58 UTC 2004


Michael Seney wrote:

>Anyone ever have a problem with setting your hostname.
>Here is the deal, I dual boot w/ Windows XP which is
>ofcourse the first partition NTFS. Then there is a
>Fat32 Middle Partition and then my ext3 / a swap and
>/home which is ext3. For some reason it autonames my
>hostname upon installation gecko? I think Windows uses
>that? I wanted to make it something different and edit
>the /etc/hosts and made the 127.0.0.1    newhostname 
>localhost. Used #hostname newhostname. Restarted X
>server and it took until a reboot? Any ideas why it
>wants to be gecko and doesn't like any other hostnames
>I want to specify. * I just put FC3T2 on this system
>and previously ran Debian Sarge with the hostname I
>liked without a problem.
>  
>
Yeah setting hostname on a fedora box can be a bit of a run-around. 
There are 3 things that I do to get it right ...
1. Add it to your /etc/hosts
2. Run the command 'hostname newhostname'
3. Modify the HOSTNAME parameter in '/etc/sysconfig/network'

hth

pantz

>
>		
>_______________________________
>Do you Yahoo!?
>Declare Yourself - Register online to vote today!
>http://vote.yahoo.com
>
>
>  
>


-- 
Before you criticize someone, walk a mile in their shoes ...
That way when you do criticize them, you're a mile away and you have their shoes!





More information about the fedora-test-list mailing list