Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[SOLVED] RE: iPXE & WDS [Prestaged: false]
2014-03-29, 02:57
Post: #15
RE: iPXE & WDS [Prestaged: false]
(2014-03-24 12:59)KingBonecrusher Wrote:  I have only WDS, no SCCM. I have applied the patches to the bcd files. I have used your code...

Code:
dhcp
set 252:string \Boot\BCD
imgexec tftp://${next-server}/Boot\${arch}\wdsnbp.com

Normally i have loaded the wdsnbp.com from an alternate server, direct loading fails instantly.... :huh!

Ipxe show the following error code:


(Error code 3d1260)

->
Error: Inappropriate I/O control operation


case TFTP_ERR_ILLEGAL_OP: return -ENOTTY;

i got this error too, and i know why:
iPXE send TFTP Request is this: /Boot\${arch}\wdsnbp.com
the "/" is reason, WDS TFTP dosn't locate "/", but "\" or "" is ok

so, modify source code tftp.c

static int tftp_send_rrq ( struct tftp_request *tftp ) {
const char *path = tftp->uri->path;

modify to:

static int tftp_send_rrq ( struct tftp_request *tftp ) {
const char *path = tftp->uri->path + 1;

BTW: i'm sorry, my english is very poor. Sad
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: iPXE & WDS [Prestaged: false] - BloodFox - 2014-03-29 02:57



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