* [gentoo-user] Problem with hostname
@ 2005-07-30 19:30 Mark Shields
2005-07-30 19:36 ` [gentoo-user] " Mark Shields
0 siblings, 1 reply; 6+ messages in thread
From: Mark Shields @ 2005-07-30 19:30 UTC (permalink / raw
To: gentoo-user
I first noticed this problem when the tightvnc server refused to
start, giving some errors about unknown token "(" and ")". I then
noticed my prompt had changed from -- laeb mark# -- to -- (none) mark
# . A day or so prior I had moved the hostname and dnsdomainname from
their deprecated location to the new location, /etc/conf.d/. Prior to
that I believe it was working fine. I have since powered it down once
(moved it from one location to another). Any ideas? As for seeing
what the server prints out on screen before it gives a login prompt
(to see what FQDN it prints out), I'm unable to give that information
at the moment as I'm logged in at work via ssh.
- Mark Shields
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 6+ messages in thread
* [gentoo-user] Re: Problem with hostname
2005-07-30 19:30 [gentoo-user] Problem with hostname Mark Shields
@ 2005-07-30 19:36 ` Mark Shields
2005-07-30 19:44 ` Francesco Talamona
2005-08-01 13:26 ` Dave Nebinger
0 siblings, 2 replies; 6+ messages in thread
From: Mark Shields @ 2005-07-30 19:36 UTC (permalink / raw
To: gentoo-user
(none) mark # cat /etc/conf.d/hostname && cat /etc/conf.d/dnsdomainname
laeb
laeb.dyndns.org
(none) mark #
On 7/30/05, Mark Shields <laebshade@gmail.com> wrote:
> I first noticed this problem when the tightvnc server refused to
> start, giving some errors about unknown token "(" and ")". I then
> noticed my prompt had changed from -- laeb mark# -- to -- (none) mark
> # . A day or so prior I had moved the hostname and dnsdomainname from
> their deprecated location to the new location, /etc/conf.d/. Prior to
> that I believe it was working fine. I have since powered it down once
> (moved it from one location to another). Any ideas? As for seeing
> what the server prints out on screen before it gives a login prompt
> (to see what FQDN it prints out), I'm unable to give that information
> at the moment as I'm logged in at work via ssh.
>
> - Mark Shields
>
--
- Mark Shields
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 6+ messages in thread
* [gentoo-user] Re: Problem with hostname
2005-07-30 19:36 ` [gentoo-user] " Mark Shields
@ 2005-07-30 19:44 ` Francesco Talamona
2005-07-30 20:02 ` Mark Shields
2005-07-31 8:16 ` Neil Bothwick
2005-08-01 13:26 ` Dave Nebinger
1 sibling, 2 replies; 6+ messages in thread
From: Francesco Talamona @ 2005-07-30 19:44 UTC (permalink / raw
To: gentoo-user
On Saturday 30 July 2005 21:36, Mark Shields wrote:
> (none) mark # cat /etc/conf.d/hostname && cat
> /etc/conf.d/dnsdomainname laeb
> laeb.dyndns.org
> (none) mark #
>
[sko@aemaeth:~]$ cat /etc/conf.d/hostname
# /etc/conf.d/hostname
# Set to the hostname of this machine
HOSTNAME="aemaeth"
Ciao
Francesco
--
Linux Version 2.6.12-gentoo-r6, Compiled #2 Wed Jul 27 18:03:14 CEST
2005
One 2.2GHz AMD Athlon 64 Processor, 2GB RAM, 4325.37 Bogomips Total
aemaeth
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] Re: Problem with hostname
2005-07-30 19:44 ` Francesco Talamona
@ 2005-07-30 20:02 ` Mark Shields
2005-07-31 8:16 ` Neil Bothwick
1 sibling, 0 replies; 6+ messages in thread
From: Mark Shields @ 2005-07-30 20:02 UTC (permalink / raw
To: gentoo-user
Ah ha! Thanks (btw I did look for this prior to asking)
On 7/30/05, Francesco Talamona <ti.liame@email.it> wrote:
> On Saturday 30 July 2005 21:36, Mark Shields wrote:
> > (none) mark # cat /etc/conf.d/hostname && cat
> > /etc/conf.d/dnsdomainname laeb
> > laeb.dyndns.org
> > (none) mark #
> >
>
> [sko@aemaeth:~]$ cat /etc/conf.d/hostname
> # /etc/conf.d/hostname
> # Set to the hostname of this machine
> HOSTNAME="aemaeth"
>
> Ciao
> Francesco
> --
> Linux Version 2.6.12-gentoo-r6, Compiled #2 Wed Jul 27 18:03:14 CEST
> 2005
> One 2.2GHz AMD Athlon 64 Processor, 2GB RAM, 4325.37 Bogomips Total
> aemaeth
> --
> gentoo-user@gentoo.org mailing list
>
>
--
- Mark Shields
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] Re: Problem with hostname
2005-07-30 19:44 ` Francesco Talamona
2005-07-30 20:02 ` Mark Shields
@ 2005-07-31 8:16 ` Neil Bothwick
1 sibling, 0 replies; 6+ messages in thread
From: Neil Bothwick @ 2005-07-31 8:16 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 669 bytes --]
On Sat, 30 Jul 2005 21:44:00 +0200, Francesco Talamona wrote:
> > (none) mark # cat /etc/conf.d/hostname && cat
> > /etc/conf.d/dnsdomainname laeb
> > laeb.dyndns.org
> > (none) mark #
> >
>
> [sko@aemaeth:~]$ cat /etc/conf.d/hostname
> # /etc/conf.d/hostname
> # Set to the hostname of this machine
> HOSTNAME="aemaeth"
The domain file is wrong too, it should contain only the domain, not the
FQDN, and be named differently.
$ cat /etc/conf.d/domainname
[snip]
DNSDOMAIN="digimed.co.uk"
--
Neil Bothwick
Why marry a virgin? If she wasn't good enough for the rest of them,
she isn't good enough for you.
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* RE: [gentoo-user] Re: Problem with hostname
2005-07-30 19:36 ` [gentoo-user] " Mark Shields
2005-07-30 19:44 ` Francesco Talamona
@ 2005-08-01 13:26 ` Dave Nebinger
1 sibling, 0 replies; 6+ messages in thread
From: Dave Nebinger @ 2005-08-01 13:26 UTC (permalink / raw
To: gentoo-user; +Cc: laebshade
> (none) mark # cat /etc/conf.d/hostname && cat /etc/conf.d/dnsdomainname
> laeb
> laeb.dyndns.org
> (none) mark #
Besides using the incorrect format for the files, your dnsdomainname should
not include the hostname:
cornholio ~ # cat /etc/conf.d/hostname
# /etc/conf.d/hostname
# $Header: /var/cvsroot/gentoo-src/rc-scripts/etc/conf.d/hostname,v 1.2.4.1
2005/02/19 02:13:53 vapier Exp $
# Set to the hostname of this machine
HOSTNAME="cornholio"
cornholio ~ # cat /etc/conf.d/domainname
# /etc/conf.d/domainname
# $Header: /var/cvsroot/gentoo-src/rc-scripts/etc/conf.d/domainname,v
1.1.4.1 2005/02/19 02:13:53 vapier Exp $
# When setting up resolv.conf, what should take precedence?
# If you wish to always override DHCP/whatever, set this to 1.
OVERRIDE=1
# To have a proper FQDN, you need to setup /etc/hosts and /etc/resolv.conf
# properly (domain entry in /etc/resolv.conf, and FQDN in /etc/hosts).
#
DNSDOMAIN="joat.com"
# This only set what /bin/hostname returns. If you need to setup NIS,
meaning
# what /bin/domainname returns, please see:
#
# http://www.linux-nis.org/nis-howto/HOWTO/
#
#NISDOMAIN=""
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2005-08-01 13:30 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-07-30 19:30 [gentoo-user] Problem with hostname Mark Shields
2005-07-30 19:36 ` [gentoo-user] " Mark Shields
2005-07-30 19:44 ` Francesco Talamona
2005-07-30 20:02 ` Mark Shields
2005-07-31 8:16 ` Neil Bothwick
2005-08-01 13:26 ` Dave Nebinger
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox