hostname of my computer is "unknown-d8-5d-4c-e4-76-2"

hostname of my computer is "unknown-d8-5d-4c-e4-76-2"

Postby mabz » Jan 21st, '14, 09:07

I have searched the web for this and have not been able to fix this. It is really weird and I would not describe myself as a newbie. I have changed hostname and hosts file as recommended and still no luck.
Code: Select all
[root@unknown-d8-5d-4c-e4-76-2b ~]# lsb_release -a
LSB Version:    *
Distributor ID: Mageia
Description:    Mageia 3
Release:        3
Codename:       thornicroft
[root@unknown-d8-5d-4c-e4-76-2b ~]#



Code: Select all
[root@unknown-d8-5d-4c-e4-76-2b ~]# uname -a
Linux unknown-d8-5d-4c-e4-76-2b.lan 3.10.24-desktop586-2.mga3 #1 SMP Fri Dec 13 20:38:16 UTC 2013 i686 i686 i686 GNU/Linux
[root@unknown-d8-5d-4c-e4-76-2b ~]#


Code: Select all
[root@unknown-d8-5d-4c-e4-76-2b ~]# vi /etc/hosts
# generated by drakhosts
127.0.0.1 localhost localhost.localdomain savea
~


Code: Select all
[root@unknown-d8-5d-4c-e4-76-2b ~]# vi /etc/hostname
savea


As you can see I want to name my machine 'savea'

Any help appreciated

Cheers
Byron
mabz
 
Posts: 1
Joined: Jan 21st, '14, 08:54

Re: hostname of my computer is "unknown-d8-5d-4c-e4-76-2"

Postby wintpe » Jan 21st, '14, 11:20

hostname is contained in

/etc/sysconfig/network as

HOSTNAME=myhost

this is standard with all fedora derived linux distributions, including centos, scientific, redhat, mageia fedora and many others if you look at distrowatch.

alternatively it can be set in your wifi or networks connection advanced settings under DHCP hostname or as you are getting by dhcp itself.

regards peter
Redhat 6 Certified Engineer (RHCE)
Sometimes my posts will sound short, or snappy, however its realy not my intention to offend, so accept my apologies in advance.
wintpe
 
Posts: 1204
Joined: May 22nd, '11, 17:08
Location: Rayleigh,, Essex , UK


Return to Networking

Who is online

Users browsing this forum: No registered users and 1 guest

cron