Mombu the GNU Linux Forum sponsored links

Go Back   Mombu the GNU Linux Forum > GNU_Linux > Where do change your host nane in 2008.1?
User Name
Password
REGISTER NOW! Mark Forums Read

sponsored links


Reply
 
1 19th August 03:15
carl wagner
External User
 
Posts: 1
Default Where do change your host nane in 2008.1?


I had been looking and trying for days now, to change my host name
from localhost to curley. Just don't kown which /etc/ file to edited.
  Reply With Quote


  sponsored links


2 19th August 11:49
bit twister
External User
 
Posts: 1
Default Where do change your host nane in 2008.1?


Usual host name locations are

$ cat /etc/sysconfig/network
NETWORKING_IPV6=no # speedup DNS lookups
NOZEROCONF=yes # no doze lookups needed
NEEDHOSTNAME=no # I'll use my own hostname
NETWORKING=yes
HOSTNAME=wm81.home.test <===================== sets it on boot


$ head -2 /etc/hosts
127.0.0.1 localhost.localdomain localhost
192.168.1.131 wm81.home.test wm81 <======== used for look ups

$ hostname
wm81.home.test
  Reply With Quote
3 19th August 11:49
unruh
External User
 
Posts: 1
Default Where do change your host nane in 2008.1?


carl wagner <cwagster@xgmail.com> writes:


/etc/sysconfig/network
HOSTNAME=
  Reply With Quote
4 19th August 11:49
david w. hodgins
External User
 
Posts: 1
Default Where do change your host nane in 2008.1?


After you change the hostname, you'll have to delete some files, before
Xorg will start. I don't remember for sure, which files have to be
deleted, but I think it's ...
~/.DCOP*
~/.ICEauthority
~/.Xauthority
After you delete the files, the next time you startx, they will be recreated,
with the new hostname in them.

Regards, Dave Hodgins

--
Change nomail.afraid.org to ody.ca to reply by email.
(nomail.afraid.org has been set up specifically for
use in usenet. Feel free to use it yourself.)
  Reply With Quote
Reply


Thread Tools
Display Modes




Copyright 2006 SmartyDevil.com - Dies Mies Jeschet Boenedoesef Douvema Enitemaus -
666