Export to GitHub

grub4dos-chenall - issue #116

PXE boot has an empty gateway field instead of the dhcp data


Posted on Feb 17, 2013 by Quick Giraffe

What steps will reproduce the problem? 1. run grldr from PXE boot 2. go in command shell 3. type pxe to check for the gateway info which is empty: 0.0.0.0 (cf attached picture)

What is the expected output? What do you see instead? The dhcp gateway data is expected but instead 0.0.0.0 is used.

What version of the product are you using? On what operating system? latest grldr code feb 2013

Please provide any additional information below. Cf attached picture. My dhcp settings are correct as ipxe gets the correct gateway values.

Attachments

Comment #1

Posted on Mar 1, 2013 by Massive Kangaroo

Could you please give a patch for it, ruymbeke?

It seems the gateway value might be no use in grub4dos. Right?

And the problem needn't solve. Right?

Comment #2

Posted on Mar 1, 2013 by Quick Giraffe

Hi Tinybit, The gateway value is important for routing and is obviously required if the tftp server is on another subnet. This feature is working with iPXE and it would be very useful to have it working with grub4dos as well. Best Regards, Gilles

PS: I am very busy right now but I can try to have a look at the source code during my limited spare time and if not too complicated try to propose a patch.

Comment #3

Posted on Mar 11, 2013 by Quick Giraffe

Hi Tinybit, I started digging into the code and after adding some "grub_printf" debugs in common.c and fsys_pxe.c it looks like that (at least in my case) the pxe code is not returning the gateway data or it is not where grldr is expecting it to be. Do you know what happened to the "bootp" command ? When did it get removed ? I will try to spend a little bit more time on it when ever possible... Cheers, Gilles

Comment #4

Posted on Mar 12, 2013 by Massive Kangaroo

bootp might be removed by me. sorry but I can't remember it rightly.

If you need the bootp command, you may contribute a patch.

Comment #5

Posted on Oct 17, 2014 by Happy Hippo

Maybe supported after 2014-10-17. http://grub4dos.chenall.net/downloads/grub4dos-0.4.5c-2014-10-17/

Status: Started

Labels:
Type-Defect Priority-Medium