Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
tftp in ipxe script ?
2015-05-08, 01:57
Post: #1
tftp in ipxe script ?
Hi,
I have a script like:

------
#!ipxe
kernel http://192.168.59.3:9999/coreos_production_pxe.vmlinuz
initrd http://192.168.59.3:9999/coreos_producti...ge.cpio.gz
boot
--------
Files hosted on http seems to work fine how do i do files hosted on tftp ?

In other words,
if I host a files in my /tftpboot/

The statement
kernel tftp://192.168.59.3/coreos_production_pxe.vmlinuz

doesnt work .

I verified that the file can be transfered when tested using a tftpclient but doesnt work from ipxe.

Any idea?

Thanks.
Find all posts by this user
Quote this message in a reply
2015-05-08, 08:31
Post: #2
RE: tftp in ipxe script ?
(2015-05-08 01:57)purpletech Wrote:  The statement
kernel tftp://192.168.59.3/coreos_production_pxe.vmlinuz

doesnt work .

Have you checked the logs of the tftpserver?
also what does "doesnt work" mean? what is the error message and error url you get from iPXE.

Use GitHub Discussions
VRAM bin
Visit this user's website Find all posts by this user
Quote this message in a reply
2015-05-08, 19:15 (This post was last modified: 2015-05-08 19:17 by purpletech.)
Post: #3
RE: tftp in ipxe script ?
oops Iam sorry

The command that doesnt work is :
kernel /coreos_production_pxe.vmlinuz

This goes as a http request rather than tftp request. I dont see requests going to my http server and not tftp server.

What happens when i dont give any http or tftp in there ?
which IP and protocol does it assume ?

explicitly providing
tftp://

works.

sorry again.

Thanks.
Find all posts by this user
Quote this message in a reply
2016-03-17, 11:54
Post: #4
RE: tftp in ipxe script ?
There are been some patches recently that fix the TFTP url resolution, so you should probably try again with the latest git version of ipxe.
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 




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