You can also set it under /etc/sysctl.conf
kernel.hostname = desiredname.domain
kernel.domainame = domain
After that you run sysctl -p /etc/sysctl.conf
Hope it helps,
Marco Bicca
Network Security Engineer
eMail: mbicca(a)terra.com.br
iCq: 3198441
YiM: twilightdrummer
MsNm: hadeswarden(a)hotmail.com
Linux registered user: 298447
PgP Key @
http://mbicca.securesolution.com.br/pgp/marco_bicca.asc
Here I am - at the crossing of life I stand - On my own - looking down the road
Hear my cry - answer me - Still I'm searching yet the truth is unknown - though the
night is cold
I walk the road alone
SYMPHONY-X - Awakenings
Paul Pianta wrote:
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
>
>
>
>