---------- Forwarded message ----------
Date: Fri, 1 Aug 1997 07:47:01 +0300 (EEST)
From: Heikki Hannikainen <bht.jpolgplaw@kumudith.com>
To: rttksh@predige.ch
Cc: Linux-Hams mailing list <gadtjybn.mszn@stmartin.edu>
Subject: re: ftp site for kernels
On Thu, 31 Jul 1997 pmyr@icasolution.com.au wrote:
> Well you might never believe it but I downloaded the 2.1.43 kernel 3
> weeks ago using only a 1k2 baycom modem !!
> it needed about 26 houres.
Whew. Cool.
> I still have this one very small question: using ttylinkd I noticed that the
> /etc/HOSTNAME isn't well enough on it's own.. I needed to do: hostname [again the hostname] to get ttylinkd working..
> Or maybe I (I would NOT doubt about it) forgot something again..
You are supposed to do that (set the hostname using the `hostname`
command) at bootup. RedHat does it in /etc/rc.d/rc.sysinit, after getting
the hostname from /etc/sysconfig/network:
In /etc/sysconfig/network:
HOSTNAME=hessu.tmt.tele.fi
In /etc/rc.d/rc.sysinit:
# Set the hostname.
hostname ${HOSTNAME}
echo hostname: `hostname`
If your system doesn't do that, you might want to add it somewhere early
in your startup scripts. An alternative is to echo $HOSTNAME >
/proc/sys/kernel/hostname, btw....
--- < Heikki Hannikainen <> ax.25: tjb.fjbyflwh@icc.ne.jp > < Internet: osipjkyc.rmiknr@bflets-fa-west-3-56.dsn.jp <> Amprnet: terhi.victor@logonet.com >