TFTP Issues "File not Found"
-
Did you set up your DHCP server for options 66 and 67? If so read below, if not determine if you can modify your DHCP server and make the changes. If you can not modify your dhcp server come back and let me know.
Run the tftp get command from windows, if it’s windows 7 enable the tftp client in the add/remove features section of windows, open a command prompt and type
tftp x.x.x.x get undionly.kpxe
where x.x.x.x is the ip address of your FOG server
-
Yes I did set option 66 to my host name fogserver and option 67 to pxelinux.0
tftp 10.10.10.35 get undionly.kpxe returned “Transfer successful: 104009 bytes in 1 second , 104009 bytes/s” -
set option 67 to undionly.kpxe
-
This did get me farther, but still failed saying it could not start download, operation not supported. I did get frustrated and keep hitting F1 to retry and once it came up with the FOG Menu but crashed out before I could do anything.
[url=“/_imported_xf_attachments/1/1025_photo.JPG?:”]photo.JPG[/url]
-
[quote=“Mike M, post: 30849, member: 24694”]This did get me farther, but still failed saying it could not start download, operation not supported. I did get frustrated and keep hitting F1 to retry and once it came up with the FOG Menu but crashed out before I could do anything.[/quote]
Now you need to try a different undionly.kpxe, try the undionly.kkpxe and the ipxe.kpxe and ipxe.kkpxe files and see if this helps with the issue, if not search here on the forums, there is a file out there that Tom has edited and added more commands to alleviate the issues with “Option not supported” and the console errors.
-
Not sure if this is progress, I updated my option 67 on my DHCP server to “ipxe.kpxe” and now instead of the “option not supported” the PC reboots automatically.
-
So what files have you tried?
In the /tftpboot folder there’s many files.
-
what does the content of your /tftpboot/default.ipxe file look like?
is the /tftpboot folder and the files in it set to 755 permissions and owner of fog:root? -
Here is the default.ipxe now as for the other question, sorry I don’t know what that is or how to check it, sorry I am an old MCSA and just returning to the linux world.
#!ipxe
cpuid --ext 29 && set arch x86_64 || set arch i386
params
param mac0 ${net0/mac}
param arch ${arch}
isset ${net1/mac} && param mac1 ${net1/mac} || goto bootme
isset ${net2/mac} && param mac2 ${net2/mac} || goto bootme
:bootme
chain [url]http://10.10.10.35/fog/service/ipxe/boot.php##params[/url] -
it looks like ownership of 644 should work as well, so…
ownership and permissions set appropriately
[CODE]
sudo chown -R fog:root /tftpboot
sudo chmod -R 644 /tftpboot
[/CODE] -
I am having a similar issue, I upgraded from 0.32 to 1.1.1 running on Ubuntu 14.04LTS my new Dell Optiplex 3020’s will enter into the fog splash screen but the slightly older Optiplex 3010 I get file not found see attached. I have tried every file in the tftpboot folder and the permissions are 777 accross the board for the tftpboot folder and all files contained. Thoughts.
[url=“/_imported_xf_attachments/1/1059_TFTP error.jpg?:”]TFTP error.jpg[/url]
-
Did these commands, now I have no access to the tftpboot folder. returns error permission denied in WinSCP when I try and look at the content. "Server returned empty listing for directory ‘/tftpboot’
Knew I should have stayed in bed but no I had to wake up and say, “Lets play with Linux this week”
-
[FONT=Consolas]sudo chmod -R 777 /tftpboot for lowest security settings, should allow you access[/FONT]
-
Thannk you that restored my access to the tftpboot folder.
-
Now that I have access again I have tr8ied every file in the tftpboot folder. Some give me “option not supported”, some just start a reboot, and default.ipxe makes it just freeze. Not sure at this point if there is any more to try or start from scratch.
-
Can you tell us what your switches are?
It is possible that portfast is disabled or STP is enabled on your network gear.
-
what model of computer are you having these problems on?
-
My core switch (Layer 3) is a Netgear GSM7328FS and my building (layer 2) switches are netgear GS748TP. The Two computers I am trying are Dell OptiPlex 520, 745. I have 755, 750, 960, and 990 as well but have not tested it on the new stuff yet as they are the smaller groups. Yes we do have STP enabled on the switches.
-
your switches are the problem then.
those computers work, i have tested at least half of those models personally. -
Would not supprise me, they cause me all kinds of other issues over the past 4 years, I said Cisco but my Budget said Netgear.