Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[solved] Variable in boot menu
2019-10-17, 18:40 (This post was last modified: 2019-10-17 18:46 by MultimediaMan.)
Post: #12
RE: Variable in boot menu
OK, this problem is easy to fix. But the real problem is your DHCP server configuration. If you have configured an iPXE class in the DHCP Server, please check your settings there.

Can you post up your /etc/dhcp/dhcp.conf for the Subnet for PXE/iPXE and any global settings?

The Issue Is DHCP Option 66 ${next-server} is set to 192.168.10.1 but it should be set to 192.168.10.118

There are a couple of different ways to address this...

1: Use DHCP Option 17 ${root-path} (Best way IMHO) instead of relying on DHCP option 66 ${next-server}. ${root-path} is a string variable and can be anything up to 255 characters.

2: Fix your DHCP Option 66/ iPXE class.

3: Ghetto method (not using any DHCP-passed variables, using values burned into iPXE):

Code:
#!ipxe

dhcp

set menu-url http://192.168.10.118/menu.ipxe

#debugging lines below
echo initrd ${menu-url}
initrd ${menu-url} && goto success || goto failure

:success
echo Success!
sleep 5
goto command

:failure
echo Failure!
sleep 5

:command
#Actual Command...
chain ${menu-url} ||

#For Troubleshooting after Failure...
shell

"Thus far, you have been adrift within the sheltered harbor of my patience..."
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
[solved] Variable in boot menu - fred - 2019-10-11, 21:37
RE: Variable in boot menu - NiKiZe - 2019-10-13, 02:26
RE: Variable in boot menu - fred - 2019-10-14, 20:49
RE: Variable in boot menu - NiKiZe - 2019-10-14, 23:20
RE: Variable in boot menu - fred - 2019-10-15, 08:03
RE: Variable in boot menu - cckp - 2019-10-15, 11:38
RE: Variable in boot menu - fred - 2019-10-15, 12:27
RE: Variable in boot menu - fred - 2019-10-17, 07:56
RE: Variable in boot menu - fred - 2019-10-17, 08:19
RE: Variable in boot menu - MultimediaMan - 2019-10-17 18:40
RE: Variable in boot menu - fred - 2019-10-18, 10:00
RE: Variable in boot menu - fred - 2019-10-18, 11:06
RE: Variable in boot menu - fred - 2019-10-18, 12:36
RE: Variable in boot menu - fred - 2019-10-20, 15:07



User(s) browsing this thread: 1 Guest(s)