On Jun 20, 2012 7:31 PM, "Omar" <vicpli
<[email protected]>@<[email protected]>
yahoo.com.cn <[email protected]>> wrote:
>
> >>  This is the content of /etc/hosts which is completed in the LFS 7.1.
How to
>
> > fix it? Is it with some errors?
> >>
> >>  # Begin /etc/hosts (network card version)
> >>  127.0.0.1 localhost
> >>  192.168.0.100 lfs.example.org lfs1
> >>  # End /etc/hosts (network card version)
> >
> > Change lfs.example.org for your fully qualified domain name. If you
> > don't have a fully qualified domain name, remove lfs.example.org
> > from /etc/hosts. Change lfs1 to your actual hostname. Is 192.168.0.100
> > your IP address on your local network?
> >
> Thanks, Andy.
> But what is my actual hostname? I set up LFS step by step on VMware, not
by cdrom. How would I confirm hostname?
> 192.168.0.100 is my IP on LAN. I change /etc/hosts to the following but
still have errors as before.
>
> # Begin /etc/hosts (network card version)
> 127.0.0.1 localhost
> 192.168.0.100 omar
> # End /etc/hosts (network card version

You need to set HOSTNAME in either /etc/sysconfig/hostname or rc.site.

  --Bruce
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to