How to get network set up correctly?

Don Smith midio at
Sun Mar 24 08:00:11 PST 2002

"Steve Purdy" <spurdy at> wrote in message
news:20020324053112.77670.qmail at
> I've got LFS 3.2 up and running, but I can't connect to the internet
> through the network.
> My LFS box connects to a Windows 98 box which does internet
> connection sharing.  I can ping the Windows box fine, but I can't
> ping anything externally.
> /etc/hosts looks like this:
> localhost.localdomain localhost
> localhost.localdomain localhost

Is this really what your hosts file says or have you modified it for
posting? It really should look like: localhost myhost.mydomain myhost is the default loopback device which is used for intrasystem
TCP/IP. I believe localhost is just a convention but some things may
depend on that name. You definitely do *not* want these two addresses to
have the same name.

> /etc/sysconfig/network looks like this:
> HOSTNAME=localhost

put "myhost" (i.e. the real name of your system) here

> /etc/sysconfig/network-devices/ifconfig.eth0 looks like this:
> ONBOOT=yes
> IP=
> Everything seems to come up fine during boot.  Do I have something
> setup wrong in one of these files, or am I missing something else?
> Thanks,
> Steve

Others have responded with resolv.conf suggestion etc.


Unsubscribe: send email to listar at
and put 'unsubscribe lfs-support' in the subject header of the message

More information about the lfs-support mailing list