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

    Fog server not wokring over PXE

    Scheduled Pinned Locked Moved
    FOG Problems
    4
    14
    4.9k
    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.
    • Tom ElliottT
      Tom Elliott
      last edited by

      What are you using for a DHCP server?

      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
      • ?
        A Former User
        last edited by

        TP-LINK
        Firmware Version: 3.12.20 Build 120523 Rel.38790n
        Hardware Version: MR3220 v1 00000000

        But had same problems with Mikrotik RB951Ui-2HnD aswell

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

          If that TP-Link device that is currently running DHCP can’t set options 066 & 067, then you might be best to turn off that service (not the device, just the service) and set up DHCP on your FOG server.

          Is this FOG setup just for learning? I’m assuming so because of the device that’s handing out DHCP.
          If that’s the case, you can simply turn DHCP off for that device, set up FOG /w DHCP for learning purposes, and then turn DHCP on for that device later when you’re done (or continue using FOG’s DHCP).

          I think that’s going to be your golden ticket, honestly. Consumer grade DHCP devices usually aren’t up-to-snuff for advanced stuff; hence Consumer Grade.

          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
          • Wayne WorkmanW
            Wayne Workman
            last edited by

            I’m not sure what your skill level is but, you did ask how to configure 066 & 067.

            Just open a web browser and go to you’re TP-Link’s internally facing interface address.
            For you, that would be [B]192.168.1.1[/B]

            It should ask for credentials at some point. You can probably Google search the default username/password for that device and find it within a minute or two.

            Past that, you just need to look around in there. No two are really laid out the same so you just need to be familiar with the terminology. Look into the DHCP stuff. See if you can configure options 066, or 067. They may not be labeled with numbers.

            If you can’t figure it out, it’s probably best to turn off DHCP (just figure out how to turn just DHCP off), then set it up on the FOG server.

            You’ll need to know about IP ranges, subnet masks, your DNS server, your gateway…
            Just a stab at what those are for you:

            Range: 192.168.1.2 - 192.168.1.254
            Subnet mask: 255.255.255.0
            DNS: 192.168.1.1
            Gateway: 192.168.1.1

            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
            • Wayne WorkmanW
              Wayne Workman
              last edited by

              Here’s more info on DHCP options: [url]http://www.iana.org/assignments/bootp-dhcp-parameters/bootp-dhcp-parameters.xhtml[/url]

              Just for your learning purposes.

              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
              • ?
                A Former User
                last edited by

                This device has very limited options to configure DHCP. No option 66 or 67. Its very easy to blame TP-Link router and recommend to run DHCP on fog server, but in the real world such luxury is often not available. Yes, i did try to run DHCP on fog server and everything worked but that’s not what im really after. Also Windows Server 2012 R2 WDS PXE works fine with same TP-Link device. Ive also read that this particular problem has some ppl look for other solutions for their deployment problems. Really sad if true 😞

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

                  AFAIK PXE boot without Options 066 and 067 is not possible. In fact those two options ARE PXE. You can’t play tennis without some kind of racket, can you?
                  You might want to look into Proxy DHCP if you want to stick to your TP-Link router.
                  [url]http://fogproject.org/wiki/index.php/Using_FOG_with_an_unmodifiable_DHCP_server/_Using_FOG_with_no_DHCP_server[/url]
                  [url]https://help.ubuntu.com/community/UbuntuLTSP/ProxyDHCP[/url]

                  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
                  • ?
                    A Former User
                    last edited by

                    Got it to work finally without DHCP installed on fog server… yay!!!

                    This solution worked:
                    [url]http://fogproject.org/wiki/index.php/Using_FOG_with_an_unmodifiable_DHCP_server/_Using_FOG_with_no_DHCP_server[/url]

                    I still got file pxelinux.0 not found error, which is odd cuz

                    The boot filename.

                    dhcp-boot=undionly.kpxe,192.168.1.107

                    so just did this

                    mv /tftpboot/undionly.kpxe /tftpboot/pxelinux.0

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

                      What kind of switch (maybe more than one) is installed between FOG server and clients?

                      Some “intelligent” switches mess around with PXE information in DHCP packets. So far I have only seen undionly.kpxe -> undionly.0 but maybe yours is doing undionly.kpxe -> pxelinux.0

                      Checkout wireshark/tcpdump if you are really keen and want to see what exactly is going on here. But you should also be fine with what you just did… sometimes renaming or linking the boot file is the only solution if you can’t change your switch configuration!

                      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

                        It’s not a router.

                        It’s a router, switch, DHCP, DNS, Access point Combination device…

                        and real world organizations with over 10 clients don’t use such limited consumer grade devices within their core network infrastructure. They would use an enterprise level solution (like Cisco Small Business devices, or server 2008, 2012.) that allows configuring 066 and 067.

                        What I recommend for you is not necessarily what I’d recommend for others.

                        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
                        • 1 / 1
                        • First post
                          Last post

                        146

                        Online

                        12.1k

                        Users

                        17.3k

                        Topics

                        155.3k

                        Posts
                        Copyright © 2012-2024 FOG Project