----- Original Message ----- 
From: <[email protected]>
To: <[email protected]>
Sent: Saturday, April 24, 2010 4:36 PM
Subject: networking with busybox


> Hello,
>
> I would like to use busybox in a custom initramfs environment, where some
> networking tasks need to be done. This includes:
> - requesting an ip address from a dhcp server
> - resolving some hostnames (not necessarily through a nameserver - could
> be statically via a hosts file)
> - run some services
> All should run within a xen domU.
>
> Can this be achieved with the busybox tools?
yes
> As far, I have built a complete busybox binary (statically linked) and got
> an ash running within the initramfs. I can assign a static address to my
> eth0 interface, but udhcpc doesn't get any ip address from the dhcp
> server. Do I have to load some kernel module to get the card working? Atm,
> there are no additional modules loaded...

you have to deal with udev (external of busybox) or mdev (inside busybox) to
load the module required by your hardware.

Gilles

_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to