On Feb 28, 2012 1:07 AM, "Daniel Troeder" <daniel@admin-box.com> wrote:
>
> On 27.02.2012 16:16, Pandu Poluan wrote:
> >
> > On Feb 27, 2012 9:15 PM, "Alan McKinnon" <alan.mckinnon@gmail.com
> > <mailto:alan.mckinnon@gmail.com>> wrote:
> >>
> >> On Mon, 27 Feb 2012 16:58:48 +0700
> >> Pandu Poluan <pandu@poluan.info <mailto

andu@poluan.info>> wrote:
> >>
> >> > I knew I've read about this somewhere, but I couldn't find it again...
> >> >
> >> > I'm installing a new Gentoo box, and it boots successfully... but the
> >> > login screen indicates the machine's name as "NAME.O"
> >> >
> >> > Where does the ".O" part comes from? How to replace that with my
> >> > actual domain?
> >>
> >>
> >> What do you have in et/c/conf.d/hostname and /etc/hosts?
> >>
> >
> > IIRC, both have been set properly, but I might made a mistake. I'll get
> > back to you tomorrow. Internet at my home is very splotchy tonight.
> >
> > Rgds,
> >
> Just guessing: do you use the NetworkManager? It sets the domain name
> from DHCP by default. I had X-issues because of that
> If it is that you can edit /etc/NetworkManager/nm-system-settings.conf :
> ----------------------------------------------------------------------
> [main]
> plugins=keyfile
>
> [keyfile]
> hostname=moja.local
> ----------------------------------------------------------------------
>
> (In my nm-system-settings.conf there is also a "ifnet" section, so the
> "plugins" directive is actually "plugins=ifnet,keyfile".)
>
Thanks for the tip, but unfortunately, this box is statically addressed. I don't use dhcpd nor NetworkManager.
Besides, it's a headless server.
Rgds,