Hi,
bran...@mathematik.uni-marburg.de wrote,

> Hello,
> 
> > Hi,
> > bran...@mathematik.uni-marburg.de wrote,
> >
> >> 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?
> >> 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,
> >
> > Can you then ping your DHCP server, after assigning a static IP?
> >
> > If yes, you might forgotten to configure your kernel with
> > CONFIG_PACKET=y, which is needed to get DHCP working on your client.
> 
> No, I can't ping any machine on the same subnet. The kernel should be ok,
> it is the same kernel I usually use for starting xen domains. Since it's a
> xen kernel, I assume, that the network modules and the drivers for the xen
> interface cards are already built into the kernel. Atm, I have nothing but
> the busybox binary and a custom init in the initramfs. I can ping the lo
> interface, but once starting udhcpc on eth0, it gets stuck at "Sending
> discover...". Udevd is running, but dmesg dosn't show anything network
> related.

Are you using paravirtualization or full virtualization?
How does your xen config looks like? What kind of networking do you
use to communicate from guest to host? Can you upload a dmesg from
the busybox system? How do you start the kernel from xen dom0?

have fun,
 Waldemar
 
_______________________________________________
busybox mailing list
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to