Re: Changing machine's name

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 3/24/07, Andy Green <andy@xxxxxxxxxxx> wrote:
> After today's updates, the command line is
>
> [psmith@unknown-00-14-85-38-2c-93 ~]$
>
> and before it was
>
> [psmith@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


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux