Unable to connect to LAN from inside an LFS system

Jibon Doley jibondoley at gmail.com
Wed Oct 11 02:32:57 PDT 2006

On 10/10/06, Nikolai <brkamikaze at gmail.com> wrote:
> 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
> > BLFS?
> 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
> netmask
> # 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 :)
I have installed the DHCPCD package and its working fine now.. Thanks
for the help.

More information about the lfs-support mailing list