Yes another TFTP issue..
-
Seems like you have a setting wrong in the web gui… please check all the IP addresses in FOG settings in the web interface!
Edit: See FOG Settings -> TFTP Server -> FOG_TFTP_HOST
-
[quote=“sourceminer, post: 44331, member: 29126”]Wayne, ran your commands and didnt change anything.
What is interesting is the messaging from the PXE Boot next server: 10.0.7.1 (what happened to 10.0.7.68?)
[IMG]https://www.dropbox.com/s/co56w10cqkakfjy/2015-03-24_13-19-50.jpg?dl=0[/IMG] [url]https://www.dropbox.com/s/co56w10cqkakfjy/2015-03-24_13-19-50.jpg?dl=0[/url]I guess I will have to do a wireshark.[/quote]
the next-server should be the FOG server. That’s set with option 066 (i think) in Windows Server DHCP. There should only be a next-server if you’re using ProxyDHCP. (someone correct me if I’m wrong?) But, the DHCP options shouldn’t stop you from getting a file via tftp.
Maybe back to the basics…
[url]http://fogproject.org/wiki/index.php/Unable_to_connect_to_tftp_server[/url]Double check those fields are right…
I also recommend WireShark, as Uncle Frank suggested.
-
Yes I realize that this seems to be an issue with option 66, as you can see above the DHCP server is sending the correct options.
Will have to do a wireshark.
-
Have you tried this FOG build on a regular machine? Like, a physical machine and not a VM?
Can you walk over to the switch that FOG is using, and plug into (the same v-lan if you have them) a port using a laptop? Try to boot from network and see what happens?
-
@Uncle Frank, I did check the Fog Settings like you suggested and the Host IP is indeed set to the fog servers static IP.
I wanted to include that I created a lab at my location instead of customer and was able to re-produce the issue with the variant of Kerio Control Firewall DHCP
Confirmed that in my lab from my Mac machine I am able to communicate and receive the undionly.kpxe from the tftp client however from a PXE boot this is not the case same issue. Just called and reported an issue with Kerio Control. Halfway tempted to use another DHCP server but that may require more than I want to deal with right now.
-
You can use wireshark to check which options are set in the DHCP answers…
-
Sorry to change the topic but its related to some degree. So I found the option to use Fog with an unmodifiable DHCP server.
[url]http://www.fogproject.org/wiki/index.php?title=Using_FOG_with_an_unmodifiable_DHCP_server/_Using_FOG_with_no_DHCP_server#Environment[/url]So I installed this DHCPProxy on my test server, good news is I am getting some action now. Bad news is still not getting the FOG boot menu.
iPXE starts up and see’s the fog server at 10.0.5.240 attempts to boot to default.ipxe but says still the connection timed out.
The WIki suggests 2 options but I am confused as to which one to use, doesnt seem to make clear when to use one or the other.
Running the latest version of Fog I am to assume its the first ltsp.conf to create. Still no bueno. -
Ran a wire shark, seems to be coming from the Fog server itself. I just dont understand why this seems so hard to get this TFTP server to work. 4 Installs with different flavors and not a single one working. Im running out of time trying to get this project working. I have spent 24 hours researching and havent even started the imaging process. If anyone has some time today, I would be interested in paying someone who has experience with this to help me out. PM me if your interested.
-
Is your FOG Server’s IP address set to 10.0.7.1? If this is the case, you could simply try adjusting the default.ipxe file directly to point to the proper 10.0.7.68 IP you’re expecting tftp to come from.
-
Uncle Frank thank you so much for the 1on1 help with this. So that we have written documentation of the issue at hand.
The customer has a Kerio Control Firewall (8.4.3 Build 3108) which as I suspected was causing the issues with “Next-Server” IP.
The Customer DHCP server would assume control of this rather than Option 67.Uncle Frank found the article : [url]http://forums.kerio.com/t/27905/dhcp-server-kerio-control-and-tftp[/url]
Which suggests that Control does not support TFTP.
Uncle Frank setup DHCP on the Fog server and it worked like a charm.
Currently there is a ticket with Kerio about this issue. I will update when I find out more.
Thanks Uncle Frank, enjoy your dinner out with the GF courtesy of sourceminer -
Wanted to update that I have completly removed Kerio DHCP from the picture and using DHCP MAC filtering to run duel TFTP servers. One for phones and the other for fog works perfect here is config for DHCPd if anyone is interested:
[CODE]ddns-update-style none;
default-lease-time 432000;
max-lease-time 432000;
authoritative;
log-facility local7;class “phones” {
match if binary-to-ascii(16,8,“:”,substring(hardware,0,4)) = “1:0:4:f2”;
}class “other” {
match if not(binary-to-ascii(16,8,“:”,substring(hardware,0,4)) = “1:0:4:f2”);
}subnet
subnet 10.0.7.0 netmask 255.255.255.0 {
option routers 10.0.7.1;
option domain-name-servers 10.0.7.1, 8.8.8.8;
pool {
range dynamic-bootp 10.0.7.45 10.0.7.155;
deny members of “phones”;
allow members of “other”;
next-server 10.0.7.68;
filename “undionly.kpxe”;
}
pool {
range 10.0.7.11 10.0.7.44;
allow members of “phones”;
deny members of “other”;
option tftp-server-name “http://phonepbx.url.com/epmcfg/”;
}
}[/CODE]