ollie at eillo.org wrote:
> Hello Everyone,
>> I have some questions about uname, hostname and /etc/hosts
>> on a Linux box output of the commadn uname -a is:
>> Linux one04 2.6.16.54 . . . . . . #Im not typing the whole thing
Copy paste :-)
>> What exactly is dub04 and where does it come from?
Probably dhcp.
>> On the same box the output of the command "hostname" is "two04"
>> In /etc/hosts only "two04" is present.
Check /etc/sysconfig/network as there may be a different hostname
defined in there.
>> - The names are made up but correspond to the situation im seeing.
> - This is some kind of Hi Availability system - im not sure what.
>> In this case where could "two04" coming from and why is it different
> to what I see in uname -a?
You can use hostname to change the, er, hostname ;-0
>> Im just trying to satisfy my curiosity :)
>> Best Regards,
>> Oliver.
Conor.
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!