• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Yes another TFTP issue..

    Scheduled Pinned Locked Moved
    FOG Problems
    4
    18
    6.1k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      Sebastian Roth Moderator
      last edited by

      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

      Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

      Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

      1 Reply Last reply Reply Quote 0
      • Wayne WorkmanW
        Wayne Workman
        last edited by

        [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.

        Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
        Daily Clean Installation Results:
        https://fogtesting.fogproject.us/
        FOG Reporting:
        https://fog-external-reporting-results.fogproject.us/

        1 Reply Last reply Reply Quote 0
        • S
          sourceminer
          last edited by

          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.

          1 Reply Last reply Reply Quote 0
          • Wayne WorkmanW
            Wayne Workman
            last edited by

            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?

            Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
            Daily Clean Installation Results:
            https://fogtesting.fogproject.us/
            FOG Reporting:
            https://fog-external-reporting-results.fogproject.us/

            1 Reply Last reply Reply Quote 0
            • S
              sourceminer
              last edited by

              @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.

              1 Reply Last reply Reply Quote 0
              • S
                Sebastian Roth Moderator
                last edited by

                You can use wireshark to check which options are set in the DHCP answers…

                Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                1 Reply Last reply Reply Quote 0
                • S
                  sourceminer
                  last edited by

                  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.

                  1 Reply Last reply Reply Quote 0
                  • S
                    sourceminer
                    last edited by

                    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.

                    1 Reply Last reply Reply Quote 0
                    • Tom ElliottT
                      Tom Elliott
                      last edited by

                      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.

                      Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                      Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                      Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                      1 Reply Last reply Reply Quote 0
                      • S
                        sourceminer
                        last edited by

                        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 🙂

                        1 Reply Last reply Reply Quote 0
                        • S
                          sourceminer
                          last edited by

                          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]

                          1 Reply Last reply Reply Quote 0
                          • 1 / 1
                          • First post
                            Last post

                          166

                          Online

                          12.0k

                          Users

                          17.3k

                          Topics

                          155.2k

                          Posts
                          Copyright © 2012-2024 FOG Project