* Red Hat and my hostname
@ Lorenzo Prince
` jude dashiell
0 siblings, 1 reply; 3+ messages in thread
From: Lorenzo Prince @ UTC (permalink / raw)
To: blinux-list
Hi. I recently installed RH9 on my laptop and love it! Now I want to
install it on my tower which acts as a server for FTP, Mail, NFS to my
laptop and www. However, the one thing that holds up progress now is the
fact that I need to be able to use a consistent hostname even though my
computer gets its IP from a DHCP server. This was fine with Slack, as the
hostname could still be set with netconfig. However, RH only asks for a
hostname if the IP is static, and if not, it picks a seemingly random
hostname out of the air that is a big bunch of numbers and mess. What can
I do to fix this? Is there a program that will configure this for me, or
if not what script(s) do I need to edit to change this behaviour?
Thanks,
Lorenzo
-----
> I'm an idiot.. At least this [bug] took about 5 minutes to find..
Surely, Linus is talking about the kind of idiocy that others aspire to :-).
-- Bruce Perens in response to Linus Torvalds's
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Red Hat and my hostname
Red Hat and my hostname Lorenzo Prince
@ ` jude dashiell
` L. C. Robinson
0 siblings, 1 reply; 3+ messages in thread
From: jude dashiell @ UTC (permalink / raw)
To: blinux-list
Have a look at /etc/HOSTNAME note case.
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: Red Hat and my hostname
` jude dashiell
@ ` L. C. Robinson
0 siblings, 0 replies; 3+ messages in thread
From: L. C. Robinson @ UTC (permalink / raw)
To: blinux-list
On Mon, 2 Jun 2003, jude dashiell wrote:
> Have a look at /etc/HOSTNAME note case.
That file is overwritten each boot from the info
in the correct config file. All the RedHat GUI
front ends simply edit text files that can be hand
edited, and the documentation for these files is
found in the initscripts package, under (you
guessed it), /usr/share/doc/initscripts-6.67/,
in this case, specifically, in sysconfig.txt
Even more particularly, that file says, in part:
/etc/sysconfig/network:
NETWORKING=yes|no
HOSTNAME=<fqdn by default, but whatever hostname you want>
That should help, not only with hostname setting,
but with anything else you need to set up. Just
search in that file for what you need. For
instance, do:
grep -5in HOSTNAME /usr/share/doc/initscripts-*/sysconfig.txt
LCR
--
L. C. Robinson
reply to no_spam+munged_lcr@onewest.net.invalid
People buy MicroShaft for compatibility, but get incompatibility and
instability instead. This is award winning "innovation". Find
out how MS holds your data hostage with "The *Lens*"; see
"CyberSnare" at http://www.netaction.org/msoft/cybersnare.html
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~ UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
Red Hat and my hostname Lorenzo Prince
` jude dashiell
` L. C. Robinson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).