W. Wayne Liauh wrote:
I was helping one of my partners installing Red Hat 8.0. This is a
stand-alone machine with RR cable modem.
I noticed that, instead of the usual "localhost", the computer was
designated, out of the blue, a name called "dhcp-146-41". It was
subsequently concluded that this was the source of all the problems
(including inability to install printer driver, etc.)
If I unplug the cable modem and re-install Red Hat, then everything
would initially appear normal (i.e., it will be given the "localhost"
name). However, as soon as I turn the cable modem back on, the host
name would immediately change to "dhcp-146-41". And during booting or
re-booting, the system would try to load sendmail and samba server,
both of which were never installed. There are also other problems,
including the messages of "cannot find server address dhcp-146-41" and
"this system is controlled by another computer), etc. If I do the
installation with cable modem on, it would automatically install
sendmail and samba, even though I only checked on the "personal"
packages.
Anyone cares to take a crack? I have an identical system at home
which never had any problem.
That's the default behavior of DHCP in Red Hat 8.0. It is probably best
to override that with a set hostname when you use DHCP. However, I
wasn't aware that changing hostnames like that would cause so many
problems for those services. I need to take a closer look at this on my
system.