Re: hostname

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

 



bruce wrote:
hi...

does your /etc/hosts file look like:

[root@laptop2 ~]# cat /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.

127.0.0.1       localhost.localdomain   localhost       laptop2


-----Original Message-----
From: fedora-list-bounces@xxxxxxxxxx
[mailto:fedora-list-bounces@xxxxxxxxxx]On Behalf Of Marcelo Magno T.
Sales
Sent: Saturday, November 17, 2007 12:42 PM
To: For users of Fedora
Subject: Re: hostname


Hi, Karl

Em Sáb 17 Nov 2007, Karl Larsen escreveu:
    I forgot that using a root terminal to set hostname didn't work.
So here on F8 I looked and under System -> Administration -> Network
and after giving your root password find the tab that has hostname
listed and replace the one there with what you want. Then save it and
it will be forever, or at least a long time.

Thanks for your help but, as I've said in my first mail, I have set up
the name I want here in system-config-network too, but still the system
thinks it's name is localhost.localdomain. Also, I've set up the
correct name in /etc/sysconfig/network. However, the hostname command
still returns localhost.localdomain and the bash prompt still shows
[marcelo@localhost ~].
I wonder where does the system get this information.

[]'s
Marcelo

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list

   Here are my files and you see what they should be:
[karl@k5di ~]$ cat /etc/sysconfig/network
NETWORKING=yes
HOSTNAME=k5di.com
[karl@k5di ~]$ cat /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1       localhost.localdomain   localhost
192.168.0.2     k5di.com
216.234.192.92  nameserver
216.234.213.130 nameserver

[karl@k5di ~]$



--

	Karl F. Larsen, AKA K5DI
	Linux User
	#450462   http://counter.li.org.

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux