Changing machine's name

Paul Smith phhs80 at gmail.com
Sat Mar 24 10:04:12 UTC 2007


On 3/24/07, Andy Green <andy at warmcat.com> wrote:
> > After today's updates, the command line is
> >
> > [psmith at unknown-00-14-85-38-2c-93 ~]$
> >
> > and before it was
> >
> > [psmith at mypc ~]$
> >
> > How can I replace unknown-00-14-85-38-2c-93 with mypc?
>
> Looks like your ISP or local DHCP server is setting your hostname.  By
> default dhclient asks to be assigned a new hostname.
>
> man dhclient.conf
>
> shows you can create an /etc/dhclient.conf with a "request" line that
> excludes host-name, that should stop it getting set.

Thanks, Andy and Chris. I do not have any /etc/dhclient.conf file.

A reboot does not improve the situation. The list of today's updates is:

alsa-lib-1.0.14-0.1.rc1.fc6                   Sat 24 Mar 2007 08:21:21 AM WET
gpm-1.20.1-81.fc6                             Sat 24 Mar 2007 08:21:55 AM WET
ruby-libs-1.8.5.35-1.fc6                      Sat 24 Mar 2007 08:21:58 AM WET
evolution-data-server-1.8.3-4.fc6             Sat 24 Mar 2007 08:22:08 AM WET
ruby-1.8.5.35-1.fc6                           Sat 24 Mar 2007 08:22:21 AM WET
cadaver-0.22.3-4.fc6                          Sat 24 Mar 2007 08:22:24 AM WET
tzdata-2007d-1.fc6                            Sat 24 Mar 2007 08:22:30 AM WET
kernel-2.6.20-1.2933.fc6                      Sat 24 Mar 2007 08:22:42 AM WET
gpm-devel-1.20.1-81.fc6                       Sat 24 Mar 2007 08:23:09 AM WET
alsa-utils-1.0.14-0.1.rc1.fc6                 Sat 24 Mar 2007 08:23:10 AM WET
kernel-headers-2.6.20-1.2933.fc6              Sat 24 Mar 2007 08:23:13 AM WET
alsa-lib-devel-1.0.14-0.1.rc1.fc6             Sat 24 Mar 2007 08:23:18 AM WET
kernel-devel-2.6.20-1.2933.fc6                Sat 24 Mar 2007 08:23:33 AM WET
evolution-data-server-devel-1.8.3-4.fc6       Sat 24 Mar 2007 08:23:57 AM WET
netdump-0.7.16-13                             Sat 24 Mar 2007 08:24:01 AM WET

And the Internet works very fine.

Paul




More information about the fedora-list mailing list