URL Redirection #1708
Replies: 1 comment 1 reply
|
As described in https://github.com/ipxe/ipxe/blob/master/CONTRIBUTING.md#bug-reports please use discussions for questions. So what you call MBR is So there is no value for ${66} Getting the settings for the DHCP itself isn't really helpful since we don't know specifics of every server, so the best way is also to get a packet dump, use |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
In previous versions, compiling the ipxe project with these codes worked flawlessly. And these codes worked perfectly simultaneously with a central DHCP server and TinyPXE's ProxyDHCP.
Currently, the ipxe-legacy.pxe file compiled in mbr mode cannot download the autoexec.ipxe file from my server.
My DHCP policies (which I believe are fine, as they worked in older ipxe versions)
This problem only occurs when requests are sent in mbr mode. EFI mode works without issues.
autoexec.ipxe file contents:
#!ipxe
dhcp ||
sleep 3
set menu-url http://${66}/autoexec.ipxe
initrd ${menu-url} && goto success || goto failure
sleep 2
goto command
:failure
echo Failure!
sleep 5
:command
chain ${menu-url} ||
shell
My compilation code:
make -j$(nproc) bin/ipxe-legacy.pxe EMBED=autoexec.ipxe
Where am I going wrong?
All reactions