🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
28 messages
28 total messages Started by Thufir Fri, 18 Aug 2006 17:43
setting FQDN in /etc/hosts
#189400
Author: Thufir
Date: Fri, 18 Aug 2006 17:43
56 lines
3079 bytes
I'm running Fedora (FC5) and am reading:

'2. On many systems, you will have to put the fully qualified host name
into /etc/hosts, too, so the system can find out the full name with
domain if given just its bare name without a domain. (On networked
systems, using NIS, DNS or LDAP is also feasible if the client is
configured to use the respective system to resolve host names.)
Usually, a computer that is to resolve a hostname will look at
/etc/hosts first and then at DNS.

An /etc/hosts line might look like this:

 192.168.0.1 abacus.mid.example.com abacus oldname

Keep the original name of the computer as an alias in case you
configured some other software to use the old name.'
<http://www.leafnode.org/doc_en/README-FQDN.html>


Here's what I have so far:

[root@localhost ~]#
[root@localhost ~]# cat /etc/hosts -n
     1  # Do not remove the following line, or various programs
     2  # that require network functionality will fail.
     3  127.0.0.1               geidiprime.servebeer.com geidiprime
localhost
[root@localhost ~]# /etc/init.d/xinetd restart
Stopping xinetd:                                           [  OK  ]
Starting xinetd:                                           [  OK  ]
[root@localhost ~]# fetchnews -vvv

Leafnode must have a fully-qualified and globally unique domain name,
not just "localhost.localdomain".
Edit your /etc/hosts file to add a unique, fully qualified domain name.
"localhost.localdomain" or thereabouts will not work;
it's qualified, but not unique.
Please see the README-FQDN file for details.

Killed
[root@localhost ~]# telnet localhost 119
Trying 127.0.0.1...
telnet: connect to address 127.0.0.1: Connection refused
[root@localhost ~]# date
Fri Aug 18 11:38:57 IST 2006
[root@localhost ~]#


Did I not enter a FQDN in the /etc/hosts?



thanks,

Thufir
[Leafnode] (was Re: setting FQDN in /etc/hosts)
#189419
Author: Whiskers
Date: Fri, 18 Aug 2006 19:56
52 lines
2753 bytes
On 2006-08-18, Thufir <hawat.thufir@gmail.com> wrote:
> I'm running Fedora (FC5) and am reading:

snip

> Here's what I have so far:
>
> [root@localhost ~]#
> [root@localhost ~]# cat /etc/hosts -n
>      1  # Do not remove the following line, or various programs
>      2  # that require network functionality will fail.
>      3  127.0.0.1               geidiprime.servebeer.com geidiprime localhost

So far so good.

> [root@localhost ~]# /etc/init.d/xinetd restart
> Stopping xinetd:                                           [  OK  ]
> Starting xinetd:                                           [  OK  ]

Why do that?

If you want to restart the network (which I think you do, if you want 
changes to /etc/hosts to take effect), the command is

service network restart

try that and run fetchnews again.

snip

> [root@localhost ~]# telnet localhost 119
> Trying 127.0.0.1...
> telnet: connect to address 127.0.0.1: Connection refused
> [root@localhost ~]# date
> Fri Aug 18 11:38:57 IST 2006
> [root@localhost ~]#

What have you got in /etc/xinetd.conf?  My Mandriva system has a line 

includedir /etc/xinetd.d

and there is a file /etc/xinetd.d/leafnode created when I installed 
leafnode using the Mandriva RPM - if your system is set up that way, what
have you got in that file?  (This is how you tell xinetd how to run the
leafnode deamon when required - alternatively you can use tcp_wrappers but
as you have xinetd it may as well be used).


-- 
-- ^^^^^^^^^^
--  Whiskers 
-- ~~~~~~~~~~
Re: [Leafnode] (was Re: setting FQDN in /etc/hosts)
#189436
Author: Jack Cuyler
Date: Sat, 19 Aug 2006 01:39
42 lines
2710 bytes
On Fri, 18 Aug 2006 20:56:54 +0100, Whiskers wrote:

> On 2006-08-18, Thufir <hawat.thufir@gmail.com> wrote:
>> I'm running Fedora (FC5) and am reading:
> 
> snip
> 
>> Here's what I have so far:
>>
>> [root@localhost ~]#
>> [root@localhost ~]# cat /etc/hosts -n
>>      1  # Do not remove the following line, or various programs
>>      2  # that require network functionality will fail.
>>      3  127.0.0.1               geidiprime.servebeer.com geidiprime localhost
> 
> So far so good.
> 
>> [root@localhost ~]# /etc/init.d/xinetd restart
>> Stopping xinetd:                                           [  OK  ]
>> Starting xinetd:                                           [  OK  ]
> 
> Why do that?
> 
> If you want to restart the network (which I think you do, if you want 
> changes to /etc/hosts to take effect), the command is
> 
> service network restart

/etc/hosts is referenced each time address resolution is attempted,
provided "files" is listed for "hosts" in /etc/nsswitch.conf. There's no
need to restart networking.

-- 
Cheers,
Jack

GOLDFISH DON'T BOUNCE
GOLDFISH DON'T BOUNCE
GOLDFISH DON'T BOUNCE
GOLDFISH DON'T BOUNCE

	Bart Simpson on chalkboard in episode 9F14
Re: (was Re: setting FQDN in /etc/hosts)
#189438
Author: Thufir
Date: Sat, 19 Aug 2006 02:48
64 lines
3580 bytes
Whiskers wrote:
[...]
> What have you got in /etc/xinetd.conf?  My Mandriva system has a line
>
> includedir /etc/xinetd.d
>
> and there is a file /etc/xinetd.d/leafnode created when I installed
> leafnode using the Mandriva RPM - if your system is set up that way, what
> have you got in that file?  (This is how you tell xinetd how to run the
> leafnode deamon when required - alternatively you can use tcp_wrappers but
> as you have xinetd it may as well be used).
[...]

Fedora seems to have the same setup as describe above.  Thanks for the
info regarding restarting the networking :)

[root@localhost ~]#
[root@localhost ~]# cat -n /etc/xinetd.conf
     1  #
     2  # Simple configuration file for xinetd
     3  #
     4  # Some defaults, and include /etc/xinetd.d/
     5
     6  defaults
     7  {
     8          instances               = 60
     9          log_type                = SYSLOG authpriv
    10          log_on_success          = HOST PID
    11          log_on_failure          = HOST
    12          cps                     = 25 30
    13  }
    14
    15  includedir /etc/xinetd.d
    16
[root@localhost ~]# cat -n /etc/hosts
     1  # Do not remove the following line, or various programs
     2  # that require network functionality will fail.
     3  127.0.0.1               geidiprime.servebeer.com geidiprime
localhost
[root@localhost ~]# service network restart
Shutting down interface eth0:                              [  OK  ]
Shutting down loopback interface:                          [  OK  ]
Bringing up loopback interface:                            [  OK  ]
Bringing up interface eth0:
Determining IP information for eth0... done.
                                                           [  OK  ]
[root@localhost ~]# fetchnews -vvv

Leafnode must have a fully-qualified and globally unique domain name,
not just "localhost.localdomain".
Edit your /etc/hosts file to add a unique, fully qualified domain name.
"localhost.localdomain" or thereabouts will not work;
it's qualified, but not unique.
Please see the README-FQDN file for details.

Killed
[root@localhost ~]# date
Fri Aug 18 20:45:59 IST 2006
[root@localhost ~]#



-Thufir
Re: (was Re: setting FQDN in /etc/hosts)
#189452
Author: Whiskers
Date: Sat, 19 Aug 2006 13:07
88 lines
4865 bytes
On 2006-08-19, Thufir <hawat.thufir@gmail.com> wrote:
> Whiskers wrote:
> [...]
>> What have you got in /etc/xinetd.conf?  My Mandriva system has a line
>>
>> includedir /etc/xinetd.d
>>
>> and there is a file /etc/xinetd.d/leafnode created when I installed
>> leafnode using the Mandriva RPM - if your system is set up that way, what
>> have you got in that file?  (This is how you tell xinetd how to run the
>> leafnode deamon when required - alternatively you can use tcp_wrappers but
>> as you have xinetd it may as well be used).
> [...]
>
> Fedora seems to have the same setup as describe above.  Thanks for the
> info regarding restarting the networking :)

snip


> [root@localhost ~]# cat -n /etc/hosts
>      1  # Do not remove the following line, or various programs
>      2  # that require network functionality will fail.
>      3  127.0.0.1               geidiprime.servebeer.com geidiprime
> localhost

It would be a lot easier to read the contents of your config files if you 
did not include the -n option for the cat command, and if you make sure 
that the lines are not wrapped differently in your post from the actual 
file.  There should be a space before the word localhost, then a newline.

> [root@localhost ~]# service network restart
> Shutting down interface eth0:                              [  OK  ]
> Shutting down loopback interface:                          [  OK  ]
> Bringing up loopback interface:                            [  OK  ]
> Bringing up interface eth0:
> Determining IP information for eth0... done.
>                                                            [  OK  ]

OK, ethernet and loopback are both running now.

> [root@localhost ~]# fetchnews -vvv
>
> Leafnode must have a fully-qualified and globally unique domain name,
> not just "localhost.localdomain".
> Edit your /etc/hosts file to add a unique, fully qualified domain name.
> "localhost.localdomain" or thereabouts will not work;
> it's qualified, but not unique.
> Please see the README-FQDN file for details.
>
> Killed
> [root@localhost ~]# date
> Fri Aug 18 20:45:59 IST 2006
> [root@localhost ~]#

I suspect that your /etc/hosts file is not being read, so is perhaps 
faulty somehow.  Make sure there is a newline at the end of the line; an
empty line before the end of the file should do no harm, and will make
sure that the newline character is present.  Also make sure that the 
permissions are appropriate - eg

[mark@tavy etc]$ ls -l hosts
-rw-r--r--  2 root root 181 Jul 27 21:11 hosts
[mark@tavy etc]$ 

You don't need to try to run leafnode to see if your /etc/hosts file is 
being interpreted as intended; the hostname command will tell you what 
your system's hostname is:

[mark@tavy etc]$ hostname
tavy.mobile.private
[mark@tavy etc]$ 

Note that the command prompt on my system also shows the name of the 
system; your's probably does too - so a prompt with the word localhost in 
it is an indication that the hostname is not being picked up.

You also seem to be doing many things 'as root' that can be done as a 
normal user with much greater safety; you should only take on superuser 
powers when essential.  If you are running a graphical interface, you can 
have two seperate 'terminals' at the same time, one for 'root' and one for 
you.  You can even configure them to look different, as a reminder.  
('Konsole', part of the KDE project, is particularly good at this).

-- 
-- ^^^^^^^^^^
--  Whiskers 
-- ~~~~~~~~~~
Re: (was Re: setting FQDN in /etc/hosts)
#189463
Author: Thufir
Date: Sat, 19 Aug 2006 17:31
145 lines
6419 bytes
Whiskers wrote:
[...]
> It would be a lot easier to read the contents of your config files if you
> did not include the -n option for the cat command, and if you make sure
> that the lines are not wrapped differently in your post from the actual
> file.  There should be a space before the word localhost, then a newline.

Ok.  I added the newline, with the same results, though.

[...]
> I suspect that your /etc/hosts file is not being read, so is perhaps
> faulty somehow.

That'd make sense.

>  Make sure there is a newline at the end of the line; an
> empty line before the end of the file should do no harm, and will make
> sure that the newline character is present.  Also make sure that the
> permissions are appropriate - eg
>
> [mark@tavy etc]$ ls -l hosts
> -rw-r--r--  2 root root 181 Jul 27 21:11 hosts
> [mark@tavy etc]$
>
> You don't need to try to run leafnode to see if your /etc/hosts file is
> being interpreted as intended; the hostname command will tell you what
> your system's hostname is:

Heh.  I'll use that next time, it's much more concise.

> [mark@tavy etc]$ hostname
> tavy.mobile.private
> [mark@tavy etc]$
>
> Note that the command prompt on my system also shows the name of the
> system; your's probably does too - so a prompt with the word localhost in
> it is an indication that the hostname is not being picked up.

At the moment, I'm just getting "localhost.localdomain"

> You also seem to be doing many things 'as root' that can be done as a
> normal user with much greater safety; you should only take on superuser
> powers when essential.  If you are running a graphical interface, you can
> have two seperate 'terminals' at the same time, one for 'root' and one for
> you.  You can even configure them to look different, as a reminder.
> ('Konsole', part of the KDE project, is particularly good at this).

I'm in gnome, but I get your drift.

It seems clear that /etc/hosts isn't "working" because __________.  I
have to read up on a few things, dunno what xinetd is, for example.

[root@localhost ~]#
[root@localhost ~]#
[root@localhost ~]#
[root@localhost ~]# /etc/init.d/xinetd restart
Stopping xinetd:                                           [  OK  ]
Starting xinetd:                                           [  OK  ]
[root@localhost ~]# telnet localhost 119
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
503 Leafnode must have a unique fully-qualified domain name. Have its
administrator fix the configuration. More detail is in the logs.

Leafnode must have a fully-qualified and globally unique domain name,
not just "localhost.localdomain".
Edit your /etc/hosts file to add a unique, fully qualified domain name.
"localhost.localdomain" or thereabouts will not work;
it's qualified, but not unique.
Please see the README-FQDN file for details.

Connection closed by foreign host.
[root@localhost ~]# cat /etc/leafnode/config
## Unread articles will be deleted after this many days if
## you don't define special expire times. Mandatory.
  expire = 2

## This is the NNTP server leafnode fetches its news from.
## You need read and post access to it. Mandatory.
  server = shawnews.vc.shawcable.net
##  server = news.gmane.org


##  hostname = geidiprime.servebeer.com

  initialfetch = 30
[root@localhost ~]# cat /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.

127.0.0.1       geidiprime.servebeer.com geidiprime localhost

[root@localhost ~]# ls -al /etc/hosts
-rw-r--r-- 2 root root 163 Aug 19 11:00 /etc/hosts
[root@localhost ~]#
[root@localhost ~]#
[root@localhost ~]# date
Sat Aug 19 11:15:12 IST 2006
[root@localhost ~]#
[root@localhost ~]#
[root@localhost ~]# nano /etc/leafnode/config
[root@localhost ~]# /etc/init.d/xinetd restart
Stopping xinetd:                                           [  OK  ]
Starting xinetd:                                           [  OK  ]
[root@localhost ~]# telnet localhost 119
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
200 Leafnode NNTP Daemon, version 1.11.5 running at
geidiprime.servebeer.com (my fqdn: geidiprime.servebeer.com)
^]

telnet> quit
Connection closed.
[root@localhost ~]# cat /etc/leafnode/config
## Unread articles will be deleted after this many days if
## you don't define special expire times. Mandatory.
  expire = 2

## This is the NNTP server leafnode fetches its news from.
## You need read and post access to it. Mandatory.
  server = shawnews.vc.shawcable.net
##  server = news.gmane.org


  hostname = geidiprime.servebeer.com

  initialfetch = 30
[root@localhost ~]#
[root@localhost ~]# date
Sat Aug 19 11:16:24 IST 2006
[root@localhost ~]# hostname
localhost.localdomain
[root@localhost ~]#
[root@localhost ~]# date
Sat Aug 19 11:23:38 IST 2006
[root@localhost ~]#



thanks,

Thufir
Re: (was Re: setting FQDN in /etc/hosts)
#189464
Author: Thufir
Date: Sat, 19 Aug 2006 17:38
24 lines
2069 bytes
Thufir wrote:
> Whiskers wrote:
[...]
> > I suspect that your /etc/hosts file is not being read, so is perhaps
> > faulty somehow.
>
> That'd make sense.

could this be related to either /etc/hosts.allow or /etc/hosts.deny?

[thufir@localhost ~]$ cat /etc/hosts.allow
#
# hosts.allow   This file describes the names of the hosts which are
#               allowed to use the local INET services, as decided
#               by the '/usr/sbin/tcpd' server.
#

[thufir@localhost ~]$ date
Sat Aug 19 11:35:53 IST 2006
[thufir@localhost ~]$


-Thufir
Re: (was Re: setting FQDN in /etc/hosts)
#189480
Author: Whiskers
Date: Sat, 19 Aug 2006 22:07
165 lines
5905 bytes
On 2006-08-19, Thufir <hawat.thufir@gmail.com> wrote:
> Whiskers wrote:

snip

> [root@localhost ~]# telnet localhost 119
> Trying 127.0.0.1...
> Connected to localhost.
> Escape character is '^]'.
> 503 Leafnode must have a unique fully-qualified domain name. Have its
> administrator fix the configuration. More detail is in the logs.
>
> Leafnode must have a fully-qualified and globally unique domain name,
> not just "localhost.localdomain".
> Edit your /etc/hosts file to add a unique, fully qualified domain name.
> "localhost.localdomain" or thereabouts will not work;
> it's qualified, but not unique.
> Please see the README-FQDN file for details.
>
> Connection closed by foreign host.

Leafnode can't find a suitable hostname for the system it's running 
on.

> [root@localhost ~]# cat /etc/leafnode/config
> ## Unread articles will be deleted after this many days if
> ## you don't define special expire times. Mandatory.
>   expire = 2
>
> ## This is the NNTP server leafnode fetches its news from.
> ## You need read and post access to it. Mandatory.
>   server = shawnews.vc.shawcable.net
> ##  server = news.gmane.org
>
>
> ##  hostname = geidiprime.servebeer.com
>
>   initialfetch = 30

OK

> [root@localhost ~]# cat /etc/hosts
> # Do not remove the following line, or various programs
> # that require network functionality will fail.
>
> 127.0.0.1       geidiprime.servebeer.com geidiprime localhost

OK

> [root@localhost ~]# ls -al /etc/hosts
> -rw-r--r-- 2 root root 163 Aug 19 11:00 /etc/hosts
> [root@localhost ~]#

OK

> [root@localhost ~]#
> [root@localhost ~]# date
> Sat Aug 19 11:15:12 IST 2006
> [root@localhost ~]#
> [root@localhost ~]#
> [root@localhost ~]# nano /etc/leafnode/config
> [root@localhost ~]# /etc/init.d/xinetd restart
> Stopping xinetd:                                           [  OK  ]
> Starting xinetd:                                           [  OK  ]
> [root@localhost ~]# telnet localhost 119
> Trying 127.0.0.1...
> Connected to localhost.
> Escape character is '^]'.
> 200 Leafnode NNTP Daemon, version 1.11.5 running at
> geidiprime.servebeer.com (my fqdn: geidiprime.servebeer.com)
> ^]
>
> telnet> quit
> Connection closed.

Something happened that means that now Leafnode can detect an acceptable 
hostname for the system.  It should run happily now.

Curiously, the command prompt doesn't reflect the same hostname.  Try 
typing in this command (at a normal user prompt, not root for the time 
being) and show us what happens to the prompt (it will be only temporary):

PS1='[\h \t \u \w]$ '

(PS1 is the system variable that tells your 'shell' what to put in the 
prompt).

snip

For what it's worth, here are some shell commands and their output from my 
system:

[mark@tavy etc]$ cat host.conf
order hosts,bind
multi on
[mark@tavy etc]$ 

[mark@tavy etc]$ cat hosts    
127.0.0.1               tavy.mobile.private tavy localhost
192.168.2.2     tavy.mobile.private
192.168.2.4     dart.mobile.invalid

212.85.147.118  www.mandrakesoft.com
212.85.147.118  mandrakesoft.com
[mark@tavy etc]$ 

[mark@tavy ~]$ hostname
tavy.mobile.private
[mark@tavy ~]$ 

[mark@tavy ~]$ telnet tavy nntp
Trying 127.0.0.1...
Connected to tavy.mobile.private (127.0.0.1).
Escape character is '^]'.
200 Leafnode NNTP Daemon, version 1.10.4.rel running at 
tavy.mobile.private (my fqdn: ID-107770.user.individual.net)
quit
205 Always happy to serve!
Connection closed by foreign host.
[mark@tavy ~]$ 

[mark@tavy ~]$ telnet localhost nntp
Trying 127.0.0.1...
Connected to tavy.mobile.private (127.0.0.1).
Escape character is '^]'.
200 Leafnode NNTP Daemon, version 1.10.4.rel running at 
tavy.mobile.private (my fqdn: ID-107770.user.individual.net)
quit
205 Always happy to serve!
Connection closed by foreign host.
[mark@tavy ~]$  

[mark@tavy ~]$ cat /etc/leafnode/config
cat: /etc/leafnode/config: Permission denied
[mark@tavy ~]$ sudo cat /etc/leafnode/config
server = news.enta.net
nopost = 1

server = news.individual.net
username = *****    
password = *****    

server = news.datemas.de
username = *****     
password = *****    

expire = 90

initialfetch = 200

timeout_long = 30

maxcrosspost = 3

filterfile = /etc/leafnode/filters

hostname = ID-107770.user.individual.net

create_all_links = 1
[mark@tavy ~]$ 

-- 
-- ^^^^^^^^^^
--  Whiskers 
-- ~~~~~~~~~~
Re: (was Re: setting FQDN in /etc/hosts)
#189481
Author: Whiskers
Date: Sat, 19 Aug 2006 22:10
34 lines
2352 bytes
On 2006-08-19, Thufir <hawat.thufir@gmail.com> wrote:
> Thufir wrote:
>> Whiskers wrote:
> [...]
>> > I suspect that your /etc/hosts file is not being read, so is perhaps
>> > faulty somehow.
>>
>> That'd make sense.
>
> could this be related to either /etc/hosts.allow or /etc/hosts.deny?
>
> [thufir@localhost ~]$ cat /etc/hosts.allow
> #
> # hosts.allow   This file describes the names of the hosts which are
> #               allowed to use the local INET services, as decided
> #               by the '/usr/sbin/tcpd' server.
> #
>
> [thufir@localhost ~]$ date
> Sat Aug 19 11:35:53 IST 2006
> [thufir@localhost ~]$
>
>
> -Thufir

Shouldn't be; they are used as part of the tcp_wrappers system, which you 
aren't using to control Leafnode - you're using xinetd instead.

/etc/host.conf could be involved.

-- 
-- ^^^^^^^^^^
--  Whiskers 
-- ~~~~~~~~~~
Re: (was Re: setting FQDN in /etc/hosts)
#189502
Author: Jack Cuyler
Date: Sun, 20 Aug 2006 02:37
50 lines
3342 bytes
On Sat, 19 Aug 2006 14:07:58 +0100, Whiskers wrote:

snip

> I suspect that your /etc/hosts file is not being read, so is perhaps 
> faulty somehow.  Make sure there is a newline at the end of the line; an
> empty line before the end of the file should do no harm, and will make
> sure that the newline character is present.  Also make sure that the 
> permissions are appropriate - eg

Also make sure that /etc/nsswitch.conf has the following line:

hosts:       files dns

or it won't ever be read.

> [mark@tavy etc]$ ls -l hosts
> -rw-r--r--  2 root root 181 Jul 27 21:11 hosts
> [mark@tavy etc]$ 
> 
> You don't need to try to run leafnode to see if your /etc/hosts file is 
> being interpreted as intended; the hostname command will tell you what 
> your system's hostname is:
> 
> [mark@tavy etc]$ hostname
> tavy.mobile.private
> [mark@tavy etc]$ 

/etc/hosts does not set the system's hostname.  It is used as a reference
in hostname resolution.  Whenever a hostname need to be resolved, the
system checks /etc/hosts first and then dns.  Depending on the OS, the
hostname is set in /etc/hostname, /etc/conf.d/hostname,
/etc/sysconfig/network.  Redhat and Fedora use /etc/sysconfig/network.

> Note that the command prompt on my system also shows the name of the
> system; your's probably does too - so a prompt with the word localhost
> in it is an indication that the hostname is not being picked up.

There should be a "HOSTNAME=" line in /etc/sysconfig/network.

-- 
Cheers,
Jack

NERVE GAS IS NOT A TOY
NERVE GAS IS NOT A TOY
NERVE GAS IS NOT A TOY
NERVE GAS IS NOT A TOY

	Bart Simpson on chalkboard in episode 2F32
Re: (was Re: setting FQDN in /etc/hosts)
#189511
Author: Jack Cuyler
Date: Sun, 20 Aug 2006 05:42
36 lines
2360 bytes
On Sat, 19 Aug 2006 23:08:01 -0700, Thufir wrote:

> [root@localhost ~]# cat /etc/sysconfig/network
> NETWORKING=yes
> HOSTNAME=geidiprime.servebeer.com

That should be HOSTNAME=geidiprime

Restart networking (not xinetd) for changes to take effect.

> [root@localhost ~]# cat /etc/hosts
> # Do not remove the following line, or various programs
> # that require network functionality will fail.
> 
> 127.0.0.1                geidiprime servebeer.com

That line should be

127.0.0.1	geidiprime.servebeer.com geidiprime localhost

No restart of anything needed for that one.

-- 
Cheers,
Jack

MY SUSPENSION WAS NOT "MUTUAL"
MY SUSPENSION WAS NOT "MUTUAL"
MY SUSPENSION WAS NOT "MUTUAL"
MY SUSPENSION WAS NOT "MUTUAL"

	Bart Simpson on chalkboard in episode BABF10

-- 
Posted via a free Usenet account from http://www.teranews.com
Re: (was Re: setting FQDN in /etc/hosts)
#189514
Author: Thufir
Date: Sun, 20 Aug 2006 06:08
120 lines
4796 bytes
Jack Cuyler wrote:
[...]

I still get localhost.localdomain for a hostname.

> Also make sure that /etc/nsswitch.conf has the following line:
>
> hosts:       files dns
>
> or it won't ever be read.

Yes.

[...]
> /etc/hosts does not set the system's hostname.  It is used as a reference
> in hostname resolution.  Whenever a hostname need to be resolved, the
> system checks /etc/hosts first and then dns.  Depending on the OS, the
> hostname is set in /etc/hostname, /etc/conf.d/hostname,
> /etc/sysconfig/network.  Redhat and Fedora use /etc/sysconfig/network.

Aha!

[...]
> There should be a "HOSTNAME=" line in /etc/sysconfig/network.
[...]

Yes.


What I have:

[root@localhost ~]#
[root@localhost ~]# cat /etc/nsswitch.conf
#
# /etc/nsswitch.conf
#
# An example Name Service Switch config file. This file should be
# sorted with the most-used services at the beginning.
#
# The entry '[NOTFOUND=return]' means that the search for an
# entry should stop if the search in the previous entry turned
# up nothing. Note that if the search failed due to some other reason
# (like no NIS server responding) then the search continues with the
# next entry.
#
# Legal entries are:
#
#       nisplus or nis+         Use NIS+ (NIS version 3)
#       nis or yp               Use NIS (NIS version 2), also called YP
#       dns                     Use DNS (Domain Name Service)
#       files                   Use the local files
#       db                      Use the local database (.db) files
#       compat                  Use NIS on compat mode
#       hesiod                  Use Hesiod for user lookups
#       [NOTFOUND=return]       Stop searching if not found so far
#

# To use db, put the "db" in front of "files" for entries you want to
be
# looked up first in the databases
#
# Example:
#passwd:    db files nisplus nis
#shadow:    db files nisplus nis
#group:     db files nisplus nis

passwd:     files
shadow:     files
group:      files

#hosts:     db files nisplus nis dns
hosts:      files dns

# Example - obey only what nisplus tells us...
#services:   nisplus [NOTFOUND=return] files
#networks:   nisplus [NOTFOUND=return] files
#protocols:  nisplus [NOTFOUND=return] files
#rpc:        nisplus [NOTFOUND=return] files
#ethers:     nisplus [NOTFOUND=return] files
#netmasks:   nisplus [NOTFOUND=return] files

bootparams: nisplus [NOTFOUND=return] files

ethers:     files
netmasks:   files
networks:   files
protocols:  files
rpc:        files
services:   files

netgroup:   nisplus

publickey:  nisplus

automount:  files nisplus
aliases:    files nisplus

[root@localhost ~]# cat /etc/sysconfig/network
NETWORKING=yes
HOSTNAME=geidiprime.servebeer.com
[root@localhost ~]# cat /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.

127.0.0.1               geidiprime servebeer.com


[root@localhost ~]# /etc/init.d/xinetd restart
Stopping xinetd:                                           [  OK  ]
Starting xinetd:                                           [  OK  ]
[root@localhost ~]# date
Sun Aug 20 00:04:43 IST 2006
[root@localhost ~]# hostname
localhost.localdomain
[root@localhost ~]#



-Thufir
Re: (was Re: setting FQDN in /etc/hosts)
#189515
Author: Thufir
Date: Sun, 20 Aug 2006 06:10
14 lines
1840 bytes
Whiskers wrote:
[...]
> /etc/host.conf could be involved.
[...]

[root@localhost ~]# cat /etc/host.conf
order hosts,bind
[root@localhost ~]#
[root@localhost ~]# date
Sun Aug 20 00:10:27 IST 2006
[root@localhost ~]#

-Thufir
Re: (was Re: setting FQDN in /etc/hosts)
#189516
Author: Thufir
Date: Sun, 20 Aug 2006 06:19
56 lines
2956 bytes
Whiskers wrote:
[...]
> Leafnode can't find a suitable hostname for the system it's running
> on.

Only because I commented out the hostname setting in the
/etc/leafnode/config file.

[...]
> > ##  hostname = geidiprime.servebeer.com
> >
> >   initialfetch = 30
>
> OK

Which is why leafnode can't find a suitable hostname.

[...]
> Something happened that means that now Leafnode can detect an acceptable
> hostname for the system.  It should run happily now.

Only because I uncommented the hostname setting of the
/etc/leafnode/config file.

> Curiously, the command prompt doesn't reflect the same hostname.  Try
> typing in this command (at a normal user prompt, not root for the time
> being) and show us what happens to the prompt (it will be only temporary):
>
> PS1='[\h \t \u \w]$ '
>
> (PS1 is the system variable that tells your 'shell' what to put in the
> prompt).

[thufir@localhost ~]$ PS1='[\h \t \u \w]$ '
[localhost 00:15:04 thufir ~]$ date
Sun Aug 20 00:15:07 IST 2006
[localhost 00:15:07 thufir ~]$
[localhost 00:15:09 thufir ~]$


(I changed the prompt after editing other files, FWIW.)

[...]
> For what it's worth, here are some shell commands and their output from my
> system:
[...]

Thanks :)

I didn't have a chance today, won't have time tomorrow, hopefully will
have time on monday to research this thouroughly.



-Thufir
Re: (was Re: setting FQDN in /etc/hosts)
#189518
Author: Thufir
Date: Sun, 20 Aug 2006 06:30
35 lines
2534 bytes
Thufir wrote:
[...]
> I didn't have a chance today, won't have time tomorrow, hopefully will
> have time on monday to research this thouroughly.
[...]

I did find a cheat sheet by googling on:

/etc/host.conf /etc/init.d/xinetd restart /etc/sysconfig/network
/etc/nsswitch.conf

'
DOMAIN NAME SERVICES (DNS)
-----------------------------------------------------
commands:
 /etc/init.d/named restart   | start | stop
 /sbin/service/named restart | start | stop  | restart | status
 /sbin/chkconfig named on    | off
 host       replacement for nslookup of IP address(es)
data:
 /etc/named.conf             DNS parameters
 /etc/resolv.conf            IP addresses of DNS servers
 /var/named/*
'
<http://mysite.verizon.net/gjcullen/COMS148notes.html>

None of the above files seemed to shed any light on this, for me at
least.

However, I've yet to read any background information on hosts :(



-Thufir
Re: (was Re: setting FQDN in /etc/hosts)
#189527
Author: Whiskers
Date: Sun, 20 Aug 2006 11:24
29 lines
2081 bytes
On 2006-08-20, Thufir <hawat.thufir@gmail.com> wrote:
> Whiskers wrote:
> [...]
>> /etc/host.conf could be involved.
> [...]
>
> [root@localhost ~]# cat /etc/host.conf
> order hosts,bind
> [root@localhost ~]#
> [root@localhost ~]# date
> Sun Aug 20 00:10:27 IST 2006
> [root@localhost ~]#
>
> -Thufir
>

Try adding a line

multi on

(without that, the system will only 'read' one 'hostname' from /etc/hosts, 
no matter how many are present).

Se man host.conf

-- 
-- ^^^^^^^^^^
--  Whiskers 
-- ~~~~~~~~~~
Re: (was Re: setting FQDN in /etc/hosts)
#189532
Author: Whiskers
Date: Sun, 20 Aug 2006 12:29
106 lines
5472 bytes
On 2006-08-20, Thufir <hawat.thufir@gmail.com> wrote:
> Whiskers wrote:

snip

>> Something happened that means that now Leafnode can detect an acceptable
>> hostname for the system.  It should run happily now.
>
> Only because I uncommented the hostname setting of the
> /etc/leafnode/config file.

As I understand it, changes to the hostname setting within leafnode's 
config should not have any effect on what leafnode reads as the hostname 
of the system it is running on.

It would be easier to spot where your leafnode is getting the system 
hostname from, if you put different values in /etc/leafnode/config and 
/etc/hosts - you'll see from what I posted earlier that on my system, the 
system's hostname is "tavy.mobile.private", which is set on boot-up by an 
entry in /etc/sysconfog/network and is read thereafter from /etc/hosts.  
The 'hostname' setting within my /etc/leafnode/config is 

    hostname = ID-107770.user.individual.net

which is used by leafnode only for constructing Message-ID headers (and 
for the Path header which is usually dropped or re-labeled by the upstream 
server, which allocates it's own starting entry for the Path header).

In my opinion, it is very unfortunate that the setting used by leafnode 
for creating an FQDN that is different from the hostname of the system it 
is running on, has been given the label 'hostname' in the config file; why 
not use FQDN as the label, as that is what it is used for?

>> Curiously, the command prompt doesn't reflect the same hostname.  Try
>> typing in this command (at a normal user prompt, not root for the time
>> being) and show us what happens to the prompt (it will be only temporary):
>>
>> PS1='[\h \t \u \w]$ '
>>
>> (PS1 is the system variable that tells your 'shell' what to put in the
>> prompt).
>
> [thufir@localhost ~]$ PS1='[\h \t \u \w]$ '
> [localhost 00:15:04 thufir ~]$ date
> Sun Aug 20 00:15:07 IST 2006
> [localhost 00:15:07 thufir ~]$
> [localhost 00:15:09 thufir ~]$
>
>
> (I changed the prompt after editing other files, FWIW.)

Your system is not picking up the hostname setting that you are trying to 
establish.  If it were, then that is the hostname that would appear in the 
prompt where you have 'localhost'.

For comparison, I get:

[mark@tavy ~]$ PS1='[\h \t \u \w]$ '
[tavy 12:51:49 mark ~]$ 

(I wanted to make sure that the default setting for your shell prompt 
wasn't '[\u@localhost \w]$ ' instead of '[\u@\h \w]$ ').

As I've suggested elsewhere, I think your file /etc/host.conf should 
include the line

multi on

to make sure that all the possible hostnames in /etc/hosts are picked up, 
rather than just one.

> [...]
>> For what it's worth, here are some shell commands and their output from my
>> system:
> [...]
>
> Thanks :)
>
> I didn't have a chance today, won't have time tomorrow, hopefully will
> have time on monday to research this thouroughly.

It's best to learn slowly and in your own time.

These are really 'Linux basics' rather than anything to do with newsreader 
software.  If you want to get involved in your operating system's inner 
workings like this, rather than stick to using the latest and greated GUI 
applications, then I suggest that you do some reading.  I've found 'The 
Linux Cookbook' by Micheal Stutz (publisher No Starch Press) to be very 
helpful, along with 'Running Linux' (multiple authors, publisher 
O'Reilly).  There are also many on-line resources, including 'HOWTOs' eg 
at 'the Linux documentation project' <http://www.tldp.org/>.  Your own 
system should have a manual file for most of the essential tools - just
type

man leafnode

at the command line, for example.  

This highly-regarded book can be downloaded freely or read on-line, and may
even be on the installation CDs for your distro
<http://linux.2038bug.com/rute-home.html>.

-- 
-- ^^^^^^^^^^
--  Whiskers 
-- ~~~~~~~~~~
Re: (was Re: setting FQDN in /etc/hosts)
#189543
Author: Jack Cuyler
Date: Sun, 20 Aug 2006 17:11
65 lines
3189 bytes
On Sun, 20 Aug 2006 12:24:01 +0100, Whiskers wrote:

> On 2006-08-20, Thufir <hawat.thufir@gmail.com> wrote:
>> Whiskers wrote:
>> [...]
>>> /etc/host.conf could be involved.
>> [...]
>>
>> [root@localhost ~]# cat /etc/host.conf
>> order hosts,bind
>> [root@localhost ~]#
>> [root@localhost ~]# date
>> Sun Aug 20 00:10:27 IST 2006
>> [root@localhost ~]#
>>
>> -Thufir
>>
> 
> Try adding a line
> 
> multi on
> 
> (without that, the system will only 'read' one 'hostname' from /etc/hosts, 
> no matter how many are present).
> 
> Se man host.conf
>

You have that backwards.  /etc/hosts does not set the hostname.  It is
used to look up the IP address of a hostname, as a supplement to DNS. 
Take the following example.

/etc/hosts
127.0.0.1	foobar.com foobar localhost
192.168.1.100	somehost.com somehost
192.168.1.101	foobar.com foobar

Without multi, a hostname lookup of "foobar" would return 127.0.0.1.
With multi, a hostname lookup of "foobar" would return both 127.0.0.1
and 192.168.1.101.

Likewise, without multi, a reverse lookup of 127.0.0.1 would return
foobar.com, but with multi, it would return foobar.com, foobar and
localhost.


In Fedora, the system's hostname is set in /etc/sysconfig/network, with a
line like

HOSTNAME=myhostname

-- 
Cheers,
Jack

I WILL NOT CUT CORNERS
"  "    "   "   "   "
"  "    "   "   "   "
"  "    "   "   "   "

	Bart Simpson on chalkboard in episode 7F11

-- 
Posted via a free Usenet account from http://www.teranews.com
Re: (was Re: setting FQDN in /etc/hosts)
#189547
Author: Whiskers
Date: Sun, 20 Aug 2006 18:57
28 lines
2340 bytes
On 2006-08-20, Jack Cuyler <jjvcuyler@REMOVEdrunkenbastards.com> wrote:
> On Sun, 20 Aug 2006 12:24:01 +0100, Whiskers wrote:

snip

>> Try adding a line
>> 
>> multi on
>> 
>> (without that, the system will only 'read' one 'hostname' from /etc/hosts, 
>> no matter how many are present).
>> 
>> Se man host.conf
>>
>
> You have that backwards.  /etc/hosts does not set the hostname.  It is
> used to look up the IP address of a hostname, as a supplement to DNS. 
> Take the following example.

snip

Upon reflection you could be right.  {note to self - stop reading the 
reflection, you get things sdrawkcab}

-- 
-- ^^^^^^^^^^
--  Whiskers 
-- ~~~~~~~~~~
Re: (was Re: setting FQDN in /etc/hosts)
#189581
Author: Thufir
Date: Mon, 21 Aug 2006 04:15
14 lines
2036 bytes
Apparently, the hostname set itself after a reboot:

[thufir@geidiprime ~]$ hostname
geidiprime.servebeer.com
[thufir@geidiprime ~]$ date
Sun Aug 20 22:12:32 IST 2006
[thufir@geidiprime ~]$


thanks,


Thufir
Re: (was Re: setting FQDN in /etc/hosts)
#189585
Author: Thufir
Date: Mon, 21 Aug 2006 04:55
46 lines
3264 bytes
I'm not sure why xinetd must be on to connect with leafnode, I'll have
to look into this.

[root@geidiprime ~]#
[root@geidiprime ~]# telnet localhost 119
Trying 127.0.0.1...
telnet: connect to address 127.0.0.1: Connection refused
[root@geidiprime ~]# /etc/init.d/xinetd restart
Stopping xinetd:                                           [FAILED]
Starting xinetd:                                           [  OK  ]
[root@geidiprime ~]# telnet localhost 119
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
200 Leafnode NNTP Daemon, version 1.11.5 running at servebeer.com (my
fqdn: geidiprime.servebeer.com)
^]

telnet> quit
Connection closed.
[root@geidiprime ~]# /etc/init.d/xinetd stop
Stopping xinetd:                                           [  OK  ]
[root@geidiprime ~]# telnet localhost 119
Trying 127.0.0.1...
telnet: connect to address 127.0.0.1: Connection refused
[root@geidiprime ~]# /etc/init.d/xinetd start
Starting xinetd:                                           [  OK  ]
[root@geidiprime ~]# telnet localhost 119
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
200 Leafnode NNTP Daemon, version 1.11.5 running at servebeer.com (my
fqdn: geidiprime.servebeer.com)
^]

telnet> quit
Connection closed.
[root@geidiprime ~]# date
Sun Aug 20 22:51:40 IST 2006
[root@geidiprime ~]#




-Thufir
Re: (was Re: setting FQDN in /etc/hosts)
#189588
Author: Thufir
Date: Mon, 21 Aug 2006 05:17
27 lines
2690 bytes
Is it significant that "telnet geidiprime.servebeer.com" didn't work?
I found mention of someone trying to set it up so that telnet'ing to
their FQDN or localhost (with nntp) would give the same result
(leafnode).

[thufir@geidiprime ~]$
[thufir@geidiprime ~]$ telnet localhost 119
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
200 Leafnode NNTP Daemon, version 1.11.5 running at servebeer.com (my
fqdn: geidiprime.servebeer.com)
^]

telnet> quit
Connection closed.
[thufir@geidiprime ~]$ telnet geidiprime.servebeer.com 119
telnet: geidiprime.servebeer.com: Name or service not known
geidiprime.servebeer.com: Unknown host
[thufir@geidiprime ~]$ date
Sun Aug 20 23:10:25 IST 2006
[thufir@geidiprime ~]$



-Thufir
Re: (was Re: setting FQDN in /etc/hosts)
#189599
Author: Whiskers
Date: Mon, 21 Aug 2006 12:48
12 lines
2027 bytes
On 2006-08-21, Thufir <hawat.thufir@gmail.com> wrote:
> I'm not sure why xinetd must be on to connect with leafnode, I'll have
> to look into this.

snip

See man xinetd  ;))

-- 
-- ^^^^^^^^^^
--  Whiskers 
-- ~~~~~~~~~~
Re: (was Re: setting FQDN in /etc/hosts)
#189600
Author: Whiskers
Date: Mon, 21 Aug 2006 12:52
18 lines
2342 bytes
On 2006-08-21, Thufir <hawat.thufir@gmail.com> wrote:
> Is it significant that "telnet geidiprime.servebeer.com" didn't work?

Puzzling, certainly.  Is there a difference in the way the entry in your 
/etc/hosts is spelled?

> I found mention of someone trying to set it up so that telnet'ing to
> their FQDN or localhost (with nntp) would give the same result
> (leafnode).

snip

Should work if things are set up correctly.

-- 
-- ^^^^^^^^^^
--  Whiskers 
-- ~~~~~~~~~~
Re: (was Re: setting FQDN in /etc/hosts)
#189644
Author: Thufir
Date: Tue, 22 Aug 2006 02:12
52 lines
3406 bytes
Whiskers wrote:
> On 2006-08-21, Thufir <hawat.thufir@gmail.com> wrote:
> > Is it significant that "telnet geidiprime.servebeer.com" didn't work?
>
> Puzzling, certainly.  Is there a difference in the way the entry in your
> /etc/hosts is spelled?
[...]

There was a while back, but that wasn't causing this problem.  Here's
the fix:

[thufir@geidiprime ~]$ hostname
geidiprime.servebeer.com
[thufir@geidiprime ~]$ telnet localhost nntp
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
200 Leafnode NNTP Daemon, version 1.11.5 running at
geidiprime.servebeer.com (my fqdn: geidiprime.servebeer.com)
^]

telnet> quit
Connection closed.
[thufir@geidiprime ~]$ telnet geidiprime.servebeer.com nntp
Trying 127.0.0.1...
Connected to geidiprime.servebeer.com.
Escape character is '^]'.
200 Leafnode NNTP Daemon, version 1.11.5 running at
geidiprime.servebeer.com (my fqdn: geidiprime.servebeer.com)
^]

telnet> quit
Connection closed.
[thufir@geidiprime ~]$ cat /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.

127.0.0.1               geidiprime.servebeer.com localhost


[thufir@geidiprime ~]$ date
Tue Aug 22 03:10:51 IST 2006
[thufir@geidiprime ~]$
[thufir@geidiprime ~]$
[thufir@geidiprime ~]$


Slightly different /etc/hosts file.


-Thufir
Re: (was Re: setting FQDN in /etc/hosts)
#189663
Author: Whiskers
Date: Tue, 22 Aug 2006 09:23
24 lines
2695 bytes
On 2006-08-22, Thufir <hawat.thufir@gmail.com> wrote:
> Whiskers wrote:
>> On 2006-08-21, Thufir <hawat.thufir@gmail.com> wrote:
>> > Is it significant that "telnet geidiprime.servebeer.com" didn't work?
>>
>> Puzzling, certainly.  Is there a difference in the way the entry in your
>> /etc/hosts is spelled?
> [...]
>
> There was a while back, but that wasn't causing this problem.  Here's
> the fix:

snip

> Slightly different /etc/hosts file.

I'm glad you seem to have things working properly, but it might help 
others in future if you were to explain what change you made to your 
/etc/hosts file.

-- 
-- ^^^^^^^^^^
--  Whiskers 
-- ~~~~~~~~~~
Re: (was Re: setting FQDN in /etc/hosts)
#189701
Author: hawat.thufir
Date: Tue, 22 Aug 2006 17:41
65 lines
4123 bytes
On Tue, 22 Aug 2006, Whiskers wrote:
[...]
> I'm glad you seem to have things working properly, but it might help
> others in future if you were to explain what change you made to your
> /etc/hosts file.

And for my own notes ;)

I went with a new FQDN, from <http://www.dyndns.com/> instead of 
<http://www.no-ip.com/> primarily to signal that things now work :)

One thing I don't understand is if I change these files I must reboot for 
the changes to take effect, apparently.  This is for FC5 (Fedora Core 5):


[thufir@arrakis ~]$
[thufir@arrakis ~]$ hostname
arrakis.homelinux.org
[thufir@arrakis ~]$ cat /etc/sysconfig/network
NETWORKING=yes
HOSTNAME=arrakis.homelinux.org

[thufir@arrakis ~]$ cat /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.

127.0.0.1               arrakis.homelinux.org localhost


[thufir@arrakis ~]$ whoami
thufir
[thufir@arrakis ~]$ su -
Password:
[root@arrakis ~]# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:16:EC:1C:8E:11
           inet addr:192.168.2.145  Bcast:192.168.2.255  Mask:255.255.255.0
           inet6 addr: fe80::216:ecff:fe1c:8e11/64 Scope:Link
           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
           RX packets:1500 errors:0 dropped:0 overruns:0 frame:0
           TX packets:1168 errors:0 dropped:0 overruns:0 carrier:0
           collisions:0 txqueuelen:1000
           RX bytes:942682 (920.5 KiB)  TX bytes:101520 (99.1 KiB)
           Interrupt:185 Base address:0xb000

lo        Link encap:Local Loopback
           inet addr:127.0.0.1  Mask:255.0.0.0
           inet6 addr: ::1/128 Scope:Host
           UP LOOPBACK RUNNING  MTU:16436  Metric:1
           RX packets:714 errors:0 dropped:0 overruns:0 frame:0
           TX packets:714 errors:0 dropped:0 overruns:0 carrier:0
           collisions:0 txqueuelen:0
           RX bytes:376666 (367.8 KiB)  TX bytes:376666 (367.8 KiB)

[root@arrakis ~]# exit
logout

[thufir@arrakis ~]$ date
Tue Aug 22 04:12:32 IST 2006
[thufir@arrakis ~]$
[thufir@arrakis ~]$


-- 
Thufir
<http://hawat.thufir.googlepages.com/>
Re: (was Re: setting FQDN in /etc/hosts)
#189724
Author: Whiskers
Date: Tue, 22 Aug 2006 19:42
25 lines
2893 bytes
On 2006-08-22, hawat.thufir@gmail.com <hawat.thufir@gmail.com> wrote:
> On Tue, 22 Aug 2006, Whiskers wrote:
> [...]
>> I'm glad you seem to have things working properly, but it might help
>> others in future if you were to explain what change you made to your
>> /etc/hosts file.
>
> And for my own notes ;)
>
> I went with a new FQDN, from <http://www.dyndns.com/> instead of 
> <http://www.no-ip.com/> primarily to signal that things now work :)
>
> One thing I don't understand is if I change these files I must reboot for 
> the changes to take effect, apparently.  This is for FC5 (Fedora Core 5):

snip

Read man hostname.  You can use that command to set the hostname without 
re-booting - but it is probably a good idea to restart X and network 
services.

-- 
-- ^^^^^^^^^^
--  Whiskers 
-- ~~~~~~~~~~
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads