kxylxp / grub4dos-chenall

Automatically exported from code.google.com/p/grub4dos-chenall
0 stars 0 forks source link

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

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
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.

Original issue reported on code.google.com by ruymbeke on 17 Feb 2013 at 11:00

Attachments:

GoogleCodeExporter commented 8 years ago
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?

Original comment by tinyb...@gmail.com on 1 Mar 2013 at 3:31

GoogleCodeExporter commented 8 years ago
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.

Original comment by ruymbeke on 1 Mar 2013 at 3:50

GoogleCodeExporter commented 8 years ago
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

Original comment by ruymbeke on 11 Mar 2013 at 6:09

GoogleCodeExporter commented 8 years ago
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.

Original comment by tinyb...@gmail.com on 12 Mar 2013 at 6:58

GoogleCodeExporter commented 8 years ago
Maybe supported after 2014-10-17.
http://grub4dos.chenall.net/downloads/grub4dos-0.4.5c-2014-10-17/

Original comment by chenall.cn on 17 Oct 2014 at 9:39