Gentoo Archives: gentoo-user

From: Daniel Troeder <daniel@×××××××××.com>
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 16:05:02
Message-Id: 4F4BA922.2060500@admin-box.com
In Reply to: Re: [gentoo-user] On login, hostname ends with ".O" instead of my domain by Pandu Poluan
1 On 27.02.2012 16:16, Pandu Poluan wrote:
2 >
3 > On Feb 27, 2012 9:15 PM, "Alan McKinnon" <alan.mckinnon@×××××.com
4 > <mailto:alan.mckinnon@×××××.com>> wrote:
5 >>
6 >> On Mon, 27 Feb 2012 16:58:48 +0700
7 >> Pandu Poluan <pandu@××××××.info <mailto:pandu@××××××.info>> wrote:
8 >>
9 >> > I knew I've read about this somewhere, but I couldn't find it again...
10 >> >
11 >> > I'm installing a new Gentoo box, and it boots successfully... but the
12 >> > login screen indicates the machine's name as "NAME.O"
13 >> >
14 >> > Where does the ".O" part comes from? How to replace that with my
15 >> > actual domain?
16 >>
17 >>
18 >> What do you have in et/c/conf.d/hostname and /etc/hosts?
19 >>
20 >
21 > IIRC, both have been set properly, but I might made a mistake. I'll get
22 > back to you tomorrow. Internet at my home is very splotchy tonight.
23 >
24 > Rgds,
25 >
26 Just guessing: do you use the NetworkManager? It sets the domain name
27 from DHCP by default. I had X-issues because of that :)
28 If it is that you can edit /etc/NetworkManager/nm-system-settings.conf :
29 ----------------------------------------------------------------------
30 [main]
31 plugins=keyfile
32
33 [keyfile]
34 hostname=moja.local
35 ----------------------------------------------------------------------
36
37 (In my nm-system-settings.conf there is also a "ifnet" section, so the
38 "plugins" directive is actually "plugins=ifnet,keyfile".)
39
40 By,
41 Daniel
42
43 --
44 PGP key @ http://pgpkeys.pca.dfn.de/pks/lookup?search=0xBB9D4887&op=get
45 # gpg --recv-keys --keyserver hkp://subkeys.pgp.net 0xBB9D4887

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-user] On login, hostname ends with ".O" instead of my domain Pandu Poluan <pandu@××××××.info>