[CentOS] mac address in prompt

Ralph Angenendt ra+centos at br-online.de
Tue Jun 10 14:12:12 UTC 2008


Gergely Buday wrote:
> [gergoe at x0-13-8f-52-82-28 ~]$ hostname -f
> hostname: Unknown host
> 
> After this I set hostname with the similarly-named command and now it
> works, thanks for the tip.

You might want to add the correct hostname in /etc/sysconfig/network, so
that the change will survive reboots ...

Cheers,

Ralph
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.centos.org/pipermail/centos/attachments/20080610/41407a50/attachment.bin


More information about the CentOS mailing list