VirtualBox

Opened 14 years ago

Closed 14 years ago

#7384 closed defect (fixed)

PXE fails if ~/.VirtualBox/TFTP/ is missing => Fixed in SVN

Reported by: Luiz Angelo Daros de Luca Owned by:
Component: network/NAT Version: VirtualBox 3.2.8
Keywords: Cc:
Guest type: other Host type: Linux

Description (last modified by vasily Levchenko)

Hello,

I configured my machine to use a external TFTP server:

VBoxManage modifyvm "Diskless NAT" --nattftpserver1 10.9.1.31 VBoxManage modifyvm "Diskless NAT" --nattftpfile1 /pxelinux.0

However, according to vbox code, it still checks for TFTP directory:

./src/VBox/Devices/Network/slirp/bootp.c:

248     /*DHCP Offer specific*/
249     if (   tftp_prefix
250         && RTDirExists(tftp_prefix)
251         && bootp_filename)
252         RTStrPrintf((char*)rbp->bp_file, sizeof(rbp->bp_file), "%s", bootp_filename);
253 

Please, if tftp_server is defined, ignore tftp_prefix.

Change History (7)

comment:1 by vasily Levchenko, 14 years ago

Description: modified (diff)

comment:2 by vasily Levchenko, 14 years ago

Indeed this code should be changed in manner to validate folder in case it's built-in server only.

comment:3 by vasily Levchenko, 14 years ago

Could you please check that r32747 fixes issue for you?

comment:4 by Frank Mehnert, 14 years ago

Summary: PXE fails if ~/.VirtualBox/TFTP/ is missingPXE fails if ~/.VirtualBox/TFTP/ is missing => Fixed in SVN

The fix will be included in the next maintenance release.

comment:5 by Luiz Angelo Daros de Luca, 14 years ago

Confirmed! This patch fixed the bug. Thanks.

comment:6 by vasily Levchenko, 14 years ago

Thanks for feedback.

comment:7 by Sander van Leeuwen, 14 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use