networking with busybox
Gilles Espinasse
g.esp at free.fr
Sat Apr 24 15:32:51 UTC 2010
----- Original Message -----
From: <brandlk at Mathematik.Uni-Marburg.de>
To: <busybox at busybox.net>
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
More information about the busybox
mailing list