UNSOLVED TFTP Issues
Running 1.3.0 on Ubuntu. Everything running fine. Console is running no issues. I boot laptopo to NIC. It gets an IP address but when the TFTP runs it times out. The settings in the tftpd-hpa is as follows:
The ip address is correct. On the fog server the path for the image file is set to /var/www/fog/service/ipxe which i added to the file since it wasnt working. I can manually GET files on windows and it sends. So the TFTP server is working.
The question is why is it failing to boot into fog client?
The files of /var/www/fog/service/ipxe are in your /var/lib/tftpboot folder and the the /tftpboot folder does not exist.
Try running the FOG installer again and hope it can fix this mess.
Wayne Workman last edited by
@pencils those files are not files from fog 1.3.0
Did the installer even complete for you? Fog puts the boot files at
/tftpbootand nowhere else.
Also the switch is doing is leasing IP address and have just got it to work with the two options. Question on Option 67, the wiki says to use file name UNDIONLY.kpxe. Is this correct?
Wayne Workman last edited by Wayne Workman
@pencils I’m pretty sure there is zero code in any version of fog that puts boot files anywhere but
What is the output of:
ls -lahRt /var/lib/tftpboot
What is doing DHCP in your setup?
@Tom-Elliott sorry tom. I meant the TFTP service. I installed 1.3 RC release and it installed it the the DIR i have already mentioned. On the FOG server the TFTP PXE KERNEL DIR is set to /var/www/fog/sservice/ipxe?
Should i make a copy of the folder to the root?
@pencils And what do you mean ftp service? TFTP and FTP are 2 VERY different things.
I’m very confused. Why is TFTP setup for /var/lib/tftpboot? If you installed fog, it defaults to /tftpboot, not /var/lib/tftpboot.
OK. The Dir is actually /var/lib/tftboot. Which was i assume installed when fog was installed.
I have changed to reflect that now. however, Im still no closer to get the TFTP side to work.
added the line. now the ftp service wont load. Its saying that /tftpboot is missing.
comments out the option (aka makes it so it doesn’t get used)
Also, on the default FOG install, the PXE boot files are in /tftpboot
TFTP_DIRECTORY needs to be:
Once changed restart the tftpd-hpa service.