[En-Nut-Discussion] eboot doesn't boot :-(
Andre Albsmeier
andre.albsmeier at siemens.com
Mon May 19 16:32:27 CEST 2003
On Sun, 18-May-2003 at 14:57:41 -0500, petersander at despammed.com wrote:
> Hi,
> I'm trying to boot via the network with eboot but dhcp doesn't work :-(
>
> May 18 19:42:22 en dhcpd: DHCPDISCOVER from 00:06:98:00:00:00 via eth0
> May 18 19:42:22 en dhcpd: DHCPOFFER on 10.0.0.2 to 00:06:98:00:00:00 via eth0
> May 18 19:42:24 en dhcpd: DHCPDISCOVER from 00:06:98:00:00:00 via eth0
> May 18 19:42:24 en dhcpd: DHCPOFFER on 10.0.0.2 to 00:06:98:00:00:00 via eth0
> [...]
>
> I'm using the ISC-DHCP V3.0 server on Linux.
>
> The nutos-3.2.1 httpserv demo works fine!
>
> Anybody knows whats wrong with eboot-3.2.1?
Maybe my fix hasn't made it into eboot. In this case something
like this might help:
--- eboot/dhcp.c.ORI Mon May 19 16:27:35 2003
+++ eboot/dhcp.c Mon May 19 16:28:08 2003
@@ -207,6 +207,7 @@
bp->bp_xid = 0x04030201;
bp->bp_htype = 1;
bp->bp_hlen = sizeof(mac);
+ bp->bp_flags = htons(0x8000);
for (i = 0; i < 6; i++)
bp->bp_chaddr[i] = mac[i];
Warning: This is untested. However, it should be the right
place...
-Andre
More information about the En-Nut-Discussion
mailing list