Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
IPXE newbie seeks help
2016-02-12, 14:36
Post: #6
RE: IPXE newbie seeks help
(2016-02-11 20:43)balanga Wrote:  Thanks for the code, but I'm not sure where that should go.... Does IPXE look for an equivalent of pxelinux.cfg/default ? If so I'll copy the above code there.

You can direct iPXE to boot that script in a variety of ways:

- get to the iPXE command line and type "chain <URL of script>"
- configure your DHCP server to hand out "<URL of script>" as the boot filename
- include your script as an embedded script at build time.

Quote:It's not immediately obvious how scripts are invoked, where they should be kept or what they should be called.

You can keep them anywhere that iPXE is capable of downloading from (TFTP server, web server, NFS server, etc) and call them whatever you like. The magic "#!ipxe" marker at the start is what marks it as an iPXE script.

[/quote]
As for changing tftp to http, I take your point but not sure how to make that work yet. I currently have pfSense (a FreeBSD based firewall) set up as my PXE boot server, so once I have IPXE working I will look into using http.
[/quote]

OK. It's basically just a case of changing your tftp:// URIs to http:// URIs. iPXE understands both protocols. HTTP is about two orders of magnitude faster: you can reasonably expect to download the theoretical maximum (119MB/s) over a typical GigE link. TFTP will not get anywhere near that speed.

Michael
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
IPXE newbie seeks help - balanga - 2016-02-10, 20:56
RE: IPXE newbie seeks help - mcb30 - 2016-02-11, 16:12
RE: IPXE newbie seeks help - balanga - 2016-02-11, 18:25
RE: IPXE newbie seeks help - mcb30 - 2016-02-11, 20:22
RE: IPXE newbie seeks help - balanga - 2016-02-11, 20:43
RE: IPXE newbie seeks help - mcb30 - 2016-02-12 14:36
RE: IPXE newbie seeks help - balanga - 2016-02-12, 15:09
RE: IPXE newbie seeks help - mcb30 - 2016-02-12, 15:15



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