On Friday 13 July 2007 12:09, Elias Probst wrote:

> Hi,
>
> I never stumbled across this, because I mostly use DHCP for my network
> setup.
>
> It looks like it's not possible setting the domainname on Gentoo using
> dns_domain_eth0="foobar"
> or
> dns_domain="foobar"
> In /etc/conf.d/net.eth0 or /etc/conf.d/net

The file is /etc/conf.d/net, not /etc/conf.d/net.eth0 (you're probably 
confusing it with the initscript under /etc/init.d).

> This variable seems to be just ignored and I couldn't track down so
> far where exactly this happens.
>
> Did anyone experience this too and knows how to make it work again?
> I'm using baselayout-1.12.9-r2

If you're talking about the "hostname -d" command and the \O parameter 
inside /etc/issue not working, then this is an old problem (for me at 
least). 
To get it working, I had to put the fqdn of the box into /etc/hosts, eg

a.b.c.d  host.domain.tld   host

since configuring the domain as per the handbook (ie, 
inside /etc/conf.d/net using dns_domain_lo) has never worked for me. To 
be honest, a few paragraphs below, the handbook also tells you to put 
the fqdn into /etc/hosts.
-- 
[EMAIL PROTECTED] mailing list

Reply via email to