From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.62) (envelope-from ) id 1HJ69G-0007dS-64 for garchives@archives.gentoo.org; Mon, 19 Feb 2007 10:53:34 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.14.0/8.14.0) with SMTP id l1JAqKld020360; Mon, 19 Feb 2007 10:52:20 GMT Received: from mirus.exceedtech.net (ns0.exceedtech.net [70.151.169.5]) by robin.gentoo.org (8.14.0/8.14.0) with ESMTP id l1JAlXPl014496 for ; Mon, 19 Feb 2007 10:47:34 GMT Received: from [65.136.101.128] (0-1pool101-128.nas1.greenwood1.ms.us.da.qwest.net [65.136.101.128]) by mirus.exceedtech.net (8.12.8/8.12.8) with ESMTP id l1JAlTv0019070 for ; Mon, 19 Feb 2007 04:47:30 -0600 Message-ID: <45D98041.3060403@exceedtech.net> Date: Mon, 19 Feb 2007 04:47:29 -0600 From: Dale User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.9) Gecko/20070105 SeaMonkey/1.0.7 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] hostname and domainname References: <45D97CA8.6030808@brutele.be> In-Reply-To: <45D97CA8.6030808@brutele.be> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Archives-Salt: e77c17e6-25b1-4cab-90b8-c6dfe7c284b2 X-Archives-Hash: 0202618fbce3695b7add4296001a57f9 Bayrouni wrote: > Hello all, > > cat /etc/conf.d.hostname > # /etc/conf.d/hostname > > # Set to the hostname of this machine > HOSTNAME="MYHOST" > > and cat /etc/conf.d/domainname > DNSDOMAIN="MYDOMAIN" > > The hostname service is added to the /etc/init.d/ with rc-update, > > but the commande hostname give: > #hostname > MYHOST > > and > # hostname -f > MYHOST > > I tried to add the domainname service: > sudo rc-update add domainname default > * rc-update: '/etc/init.d/domainname' not found; aborting > > What is wrong or missing in my configuration ? > > Thanks > This is how I have mine set to smoker: > # /etc/conf.d/hostname > > # Set to the hostname of this machine > HOSTNAME="smoker" Replace smoker with the name you want. I would assume the domainname would be set the same way. Hope that helps. Dale :-) :-) :-) -- www.myspace.com/dalek1967 -- gentoo-user@gentoo.org mailing list