Gentoo Archives: gentoo-user

From: Pandu Poluan <pandu@××××××.info>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] On login, hostname ends with ".O" instead of my domain
Date: Mon, 27 Feb 2012 18:38:15
Message-Id: CAA2qdGVEnAJHfw=dU1dCw_5uMAMb6DY-NW+VZtZY5dJmY9iRYA@mail.gmail.com
In Reply to: Re: [gentoo-user] On login, hostname ends with ".O" instead of my domain by Daniel Troeder
1 On Feb 28, 2012 1:07 AM, "Daniel Troeder" <daniel@×××××××××.com> wrote:
2 >
3 > On 27.02.2012 16:16, Pandu Poluan wrote:
4 > >
5 > > On Feb 27, 2012 9:15 PM, "Alan McKinnon" <alan.mckinnon@×××××.com
6 > > <mailto:alan.mckinnon@×××××.com>> wrote:
7 > >>
8 > >> On Mon, 27 Feb 2012 16:58:48 +0700
9 > >> Pandu Poluan <pandu@××××××.info <mailto:pandu@××××××.info>> wrote:
10 > >>
11 > >> > I knew I've read about this somewhere, but I couldn't find it
12 again...
13 > >> >
14 > >> > I'm installing a new Gentoo box, and it boots successfully... but the
15 > >> > login screen indicates the machine's name as "NAME.O"
16 > >> >
17 > >> > Where does the ".O" part comes from? How to replace that with my
18 > >> > actual domain?
19 > >>
20 > >>
21 > >> What do you have in et/c/conf.d/hostname and /etc/hosts?
22 > >>
23 > >
24 > > IIRC, both have been set properly, but I might made a mistake. I'll get
25 > > back to you tomorrow. Internet at my home is very splotchy tonight.
26 > >
27 > > Rgds,
28 > >
29 > Just guessing: do you use the NetworkManager? It sets the domain name
30 > from DHCP by default. I had X-issues because of that :)
31 > If it is that you can edit /etc/NetworkManager/nm-system-settings.conf :
32 > ----------------------------------------------------------------------
33 > [main]
34 > plugins=keyfile
35 >
36 > [keyfile]
37 > hostname=moja.local
38 > ----------------------------------------------------------------------
39 >
40 > (In my nm-system-settings.conf there is also a "ifnet" section, so the
41 > "plugins" directive is actually "plugins=ifnet,keyfile".)
42 >
43
44 Thanks for the tip, but unfortunately, this box is statically addressed. I
45 don't use dhcpd nor NetworkManager.
46
47 Besides, it's a headless server.
48
49 Rgds,

Replies

Subject Author
Re: [gentoo-user] On login, hostname ends with ".O" instead of my domain Peter Ruskin <peter.ruskin@×××××××××.com>