Unable to connect to LAN from inside an LFS system

Nikolai brkamikaze at gmail.com
Tue Oct 10 09:35:53 PDT 2006

2006/10/10, Jibon Doley <jibondoley at gmail.com>:
> I have not installed the DHCP client. Is not it possible to connect to
> a network from the LFS system alone without installing packages from
It is possible to connect to a static network, but to connect to a
network with a DHCP server it is needed. But it is a really small
package and doesn't have any depedencies besides the LFS ones.

Or you can figure out what address is Qemu giving to the emulated
ethernet card as your host system and configure it to use the card.
For example, if Qemu gives the address "" to connect to
your host, configure the network with the following commands, assuming
your ip will be "":
# ifconfig eth0 <your ip> broadcast <first 3 numbers of your ip>.255
# route add default eth0
It is important that the first 3 numbers of your ip are the same of
the host's emulated ip.

Install DHCPCD or DHClient ASAP so you can get your "net" to work
automatically :)

More information about the lfs-support mailing list