Re: [gentoo-user] hostname and domainname

2007-02-19 Thread Dale
Astolfo Bugatti wrote: > for apply the changes > reboot your system!! > > > Reboot? This is Linux. There has to be another way to make it see the changes. Dale :-~ :-~ -- www.myspace.com/dalek1967 -- gentoo-user@gentoo.org mailing list

Re: [gentoo-user] hostname and domainname

2007-02-19 Thread Bayrouni
Etaoin Shrdlu a écrit : > On Monday 19 February 2007 12:46, Bayrouni wrote: > >> >> >> but domainname --> (none) > > domainname does NOT show the DNS domain. > Use dnsdomainname or domainname -d instead. All right. dnsdomainname and domainname -d ---> myhost.my.domain Thanks again -- gentoo-u

Re: [gentoo-user] hostname and domainname

2007-02-19 Thread Etaoin Shrdlu
On Monday 19 February 2007 12:46, Bayrouni wrote: > Yes, after adding a.b.c.d myhost.my.domain myhost in /etc/hosts, > hostname --> myhost > and hostname -f --> myhost.my.domain > > :) > > but domainname --> (none) domainname does NOT show the DNS domain. Use dnsdomainname or domainname -d inst

Re: [gentoo-user] hostname and domainname

2007-02-19 Thread Bayrouni
Etaoin Shrdlu a écrit : > On Monday 19 February 2007 12:12, Bayrouni wrote: > >> I added this line in /etc/conf.d/net: >> dns_domain_lo="MY_DOMAIN" >> >> >> I restarted the net.lo but still the same result: >> # domainname >> (none) >> >> # hostname and hostname -f >> MY_HOST >> >> My DNS server

Re: [gentoo-user] hostname and domainname

2007-02-19 Thread Etaoin Shrdlu
On Monday 19 February 2007 12:23, Astolfo Bugatti wrote: > for apply the changes > reboot your system!! This is not windows. The /etc/hosts trick works as soon as you finish editing the file, without the need to restart anything. I guess other methods would require network restart, but definitel

Re: [gentoo-user] hostname and domainname

2007-02-19 Thread Astolfo Bugatti
for apply the changes reboot your system!! On Mon, 19 Feb 2007 12:12:39 +0100 Bayrouni <[EMAIL PROTECTED]> wrote: > Etaoin Shrdlu a écrit : > > On Monday 19 February 2007 11:32, Bayrouni wrote: > > > >> Hello all, > >> > >> cat /etc/conf.d.hostname > >> # /etc/conf.d/hostname > >> > >> # Set to

Re: [gentoo-user] hostname and domainname

2007-02-19 Thread Etaoin Shrdlu
On Monday 19 February 2007 12:12, Bayrouni wrote: > I added this line in /etc/conf.d/net: > dns_domain_lo="MY_DOMAIN" > > > I restarted the net.lo but still the same result: > # domainname > (none) > > # hostname and hostname -f > MY_HOST > > My DNS server is running but it works only as dns cach

Re: [gentoo-user] hostname and domainname

2007-02-19 Thread Bayrouni
Etaoin Shrdlu a écrit : > On Monday 19 February 2007 11:32, 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 serv

Re: [gentoo-user] hostname and domainname

2007-02-19 Thread Etaoin Shrdlu
On Monday 19 February 2007 11:32, 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

Re: [gentoo-user] hostname and domainname

2007-02-19 Thread Dale
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 hostn

[gentoo-user] hostname and domainname

2007-02-19 Thread Bayrouni
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 # hostn