* [gentoo-user] On login, hostname ends with ".O" instead of my domain
@ 2012-02-27 9:58 Pandu Poluan
2012-02-27 10:06 ` Alan McKinnon
0 siblings, 1 reply; 9+ messages in thread
From: Pandu Poluan @ 2012-02-27 9:58 UTC (permalink / raw
To: gentoo-user
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?
TIA
Rgds,
--
FdS Pandu E Poluan
~ IT Optimizer ~
• LOPSA Member #15248
• Blog : http://pepoluan.tumblr.com
• Linked-In : http://id.linkedin.com/in/pepoluan
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] On login, hostname ends with ".O" instead of my domain
2012-02-27 9:58 [gentoo-user] On login, hostname ends with ".O" instead of my domain Pandu Poluan
@ 2012-02-27 10:06 ` Alan McKinnon
2012-02-27 15:16 ` Pandu Poluan
0 siblings, 1 reply; 9+ messages in thread
From: Alan McKinnon @ 2012-02-27 10:06 UTC (permalink / raw
To: gentoo-user
On Mon, 27 Feb 2012 16:58:48 +0700
Pandu Poluan <pandu@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?
--
Alan McKinnnon
alan.mckinnon@gmail.com
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] On login, hostname ends with ".O" instead of my domain
2012-02-27 10:06 ` Alan McKinnon
@ 2012-02-27 15:16 ` Pandu Poluan
2012-02-27 16:02 ` Daniel Troeder
0 siblings, 1 reply; 9+ messages in thread
From: Pandu Poluan @ 2012-02-27 15:16 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 673 bytes --]
On Feb 27, 2012 9:15 PM, "Alan McKinnon" <alan.mckinnon@gmail.com> wrote:
>
> On Mon, 27 Feb 2012 16:58:48 +0700
> Pandu Poluan <pandu@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,
[-- Attachment #2: Type: text/html, Size: 974 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] On login, hostname ends with ".O" instead of my domain
2012-02-27 15:16 ` Pandu Poluan
@ 2012-02-27 16:02 ` Daniel Troeder
2012-02-27 18:37 ` Pandu Poluan
0 siblings, 1 reply; 9+ messages in thread
From: Daniel Troeder @ 2012-02-27 16:02 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1533 bytes --]
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:pandu@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".)
By,
Daniel
--
PGP key @ http://pgpkeys.pca.dfn.de/pks/lookup?search=0xBB9D4887&op=get
# gpg --recv-keys --keyserver hkp://subkeys.pgp.net 0xBB9D4887
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 262 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] On login, hostname ends with ".O" instead of my domain
2012-02-27 16:02 ` Daniel Troeder
@ 2012-02-27 18:37 ` Pandu Poluan
2012-02-27 19:10 ` Peter Ruskin
0 siblings, 1 reply; 9+ messages in thread
From: Pandu Poluan @ 2012-02-27 18:37 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1633 bytes --]
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:pandu@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,
[-- Attachment #2: Type: text/html, Size: 2424 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] On login, hostname ends with ".O" instead of my domain
2012-02-27 18:37 ` Pandu Poluan
@ 2012-02-27 19:10 ` Peter Ruskin
2012-02-28 1:36 ` Pandu Poluan
0 siblings, 1 reply; 9+ messages in thread
From: Peter Ruskin @ 2012-02-27 19:10 UTC (permalink / raw
To: gentoo-user
On Monday 27 February 2012 18:37:05 Pandu Poluan wrote:
> > >> > 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?
You can edit /etc/issue to read:
This is <host>.<domain> (\r) \t \l
Replace <host>.<domain> with real values
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] On login, hostname ends with ".O" instead of my domain
2012-02-27 19:10 ` Peter Ruskin
@ 2012-02-28 1:36 ` Pandu Poluan
2012-02-28 6:53 ` Alan McKinnon
0 siblings, 1 reply; 9+ messages in thread
From: Pandu Poluan @ 2012-02-28 1:36 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 636 bytes --]
On Feb 28, 2012 4:11 AM, "Peter Ruskin" <peter.ruskin@dsl.pipex.com> wrote:
>
> On Monday 27 February 2012 18:37:05 Pandu Poluan wrote:
> > > >> > 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?
>
> You can edit /etc/issue to read:
>
> This is <host>.<domain> (\r) \t \l
>
> Replace <host>.<domain> with real values
>
It's that line declaring the OS version, architecture, and whathaveyous
above the "login:" prompt.
Rgds,
[-- Attachment #2: Type: text/html, Size: 990 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] On login, hostname ends with ".O" instead of my domain
2012-02-28 1:36 ` Pandu Poluan
@ 2012-02-28 6:53 ` Alan McKinnon
2012-02-28 7:11 ` Pandu Poluan
0 siblings, 1 reply; 9+ messages in thread
From: Alan McKinnon @ 2012-02-28 6:53 UTC (permalink / raw
To: gentoo-user
On Tue, 28 Feb 2012 08:36:34 +0700
Pandu Poluan <pandu@poluan.info> wrote:
> On Feb 28, 2012 4:11 AM, "Peter Ruskin" <peter.ruskin@dsl.pipex.com>
> wrote:
> >
> > On Monday 27 February 2012 18:37:05 Pandu Poluan wrote:
> > > > >> > 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?
> >
> > You can edit /etc/issue to read:
> >
> > This is <host>.<domain> (\r) \t \l
> >
> > Replace <host>.<domain> with real values
> >
>
> It's that line declaring the OS version, architecture, and
> whathaveyous above the "login:" prompt.
>
> Rgds,
You probably have a typo in /etc/issue (a missing backslash). Default
looks like so:
$ cat /etc/issue
This is \n.\O (\s \m \r) \t
--
Alan McKinnnon
alan.mckinnon@gmail.com
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] On login, hostname ends with ".O" instead of my domain
2012-02-28 6:53 ` Alan McKinnon
@ 2012-02-28 7:11 ` Pandu Poluan
0 siblings, 0 replies; 9+ messages in thread
From: Pandu Poluan @ 2012-02-28 7:11 UTC (permalink / raw
To: gentoo-user
On Tue, Feb 28, 2012 at 13:53, Alan McKinnon <alan.mckinnon@gmail.com> wrote:
> On Tue, 28 Feb 2012 08:36:34 +0700
>
---- >8 snip
>
> You probably have a typo in /etc/issue (a missing backslash). Default
> looks like so:
>
> $ cat /etc/issue
>
> This is \n.\O (\s \m \r) \t
>
>
==========
# cat /etc/hosts | egrep -v "^#"
127.0.0.1 SHEPARD.biznet.pans SHEPARD localhost
::1 SHEPARD.biznet.pans SHEPARD localhost
# cat /etc/conf.d/hostname
# Set to the hostname of this machine
hostname="SHEPARD"
# cat /etc/issue
This is \n.\O (\s \m \r) \t
==========
Other suggestions?
Rgds,
--
FdS Pandu E Poluan
~ IT Optimizer ~
• LOPSA Member #15248
• Blog : http://pepoluan.tumblr.com
• Linked-In : http://id.linkedin.com/in/pepoluan
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2012-02-28 7:12 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-27 9:58 [gentoo-user] On login, hostname ends with ".O" instead of my domain Pandu Poluan
2012-02-27 10:06 ` Alan McKinnon
2012-02-27 15:16 ` Pandu Poluan
2012-02-27 16:02 ` Daniel Troeder
2012-02-27 18:37 ` Pandu Poluan
2012-02-27 19:10 ` Peter Ruskin
2012-02-28 1:36 ` Pandu Poluan
2012-02-28 6:53 ` Alan McKinnon
2012-02-28 7:11 ` Pandu Poluan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox