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

    FOG Server host registration issues

    Scheduled Pinned Locked Moved Unsolved
    FOG Problems
    3
    21
    4.5k
    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.
    • Wayne WorkmanW
      Wayne Workman @TTellez
      last edited by Wayne Workman

      @TTellez said in FOG Server host registration issues:

      @Wayne-Workman Updated to the 1.3.5 official.

      The Model of the host is a Dell E5570

      Now that I have updated from the RC, it is asking me to enter the tftp server?

      Usually, when the tftp server is requested, you have two or more dhcp servers serving the subnet and at least one of them isn’t configured correctly.

      Follow along with George, he’s on the right path and more available than me.

      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 1
      • T
        TTellez @george1421
        last edited by

        @george1421 Yes, told the installer to manage DHCP

        george1421G 1 Reply Last reply Reply Quote 0
        • george1421G
          george1421 Moderator @TTellez
          last edited by george1421

          @TTellez will you post the contents of this config file? /etc/dhcp/dhcpd.conf

          This is the dhcp server configuration file running on FOG.

          <edit> also post the results of ps aux|grep 67

          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!

          T 1 Reply Last reply Reply Quote 0
          • T
            TTellez @george1421
            last edited by

            @george1421aux|grep

            root        67  0.0  0.0      0     0 ?        S<   Mar17   0:00 [ata_sff]
            systemd+   767  0.0  0.0 102384  2536 ?        Ssl  Mar17   0:00 /lib/systemd/systemd-timesyncd
            whoopsie   967  0.0  0.1 525900 12920 ?        Ssl  Mar17   0:01 /usr/bin/whoopsie -f
            impact    2206  0.2  0.6 2675320 49684 ?       Sl   Mar17  15:56 c:\TeamViewer\TeamViewer.exe
            impact    2438  0.0  0.0 353672  8008 ?        Sl   Mar17   0:00 /usr/lib/at-spi2-core/at-spi-bus-launcher
            impact    2522  0.0  0.1 367784 11160 ?        Ssl  Mar17   0:00 /usr/lib/x86_64-linux-gnu/indicator-power/indicator-power-service
            impact    2594  0.0  0.0 178672  4744 ?        Sl   Mar17   0:00 /usr/lib/dconf/dconf-service
            impact    2767  0.0  0.0 266600  4552 ?        Sl   Mar17   0:00 /usr/lib/gvfs/gvfs-mtp-volume-monitor
            dhcpd     7671  0.0  0.1  35488 13368 ?        Ss   11:20   0:00 dhcpd -user dhcpd -group dhcpd -f -4 -pf /run/dhcp-server/dhcpd.pid -cf /etc/dhcp/dhcpd.conf
            impact    8305  3.6  5.1 1598228 413676 ?      Sl   Mar17 261:08 /usr/lib/firefox/plugin-container -greomni /usr/lib/firefox/omni.ja -appomni /usr/lib/firefox/browser/omni.ja -appdir /usr/lib/firefox/browser 8250 true tab
            impact   17477  0.0  0.2 679764 17548 ?        Sl   11:14   0:00 /usr/lib/x86_64-linux-gnu/unity-lens-files/unity-files-daemon
            impact   25118  0.0  0.0  14232   976 pts/1    S+   14:43   0:00 grep --color=auto 67
            
            
            T george1421G 2 Replies Last reply Reply Quote 0
            • T
              TTellez @TTellez
              last edited by TTellez

              Not sure if this is right. 😕

              # DHCP Server Configuration file\n#see /usr/share/doc/dhcp*/dhcpd.conf.sample
              # This file was created by FOG
              #Definition of PXE-specific options
              # Code 1: Multicast IP Address of bootfile
              # Code 2: UDP Port that client should monitor for MTFTP Responses
              # Code 3: UDP Port that MTFTP servers are using to listen for MTFTP requests
              # Code 4: Number of seconds a client must listen for activity before trying
              #         to start a new MTFTP transfer
              # Code 5: Number of seconds a client must listen before trying to restart
              #         a MTFTP transfer
              option space PXE;
              option PXE.mtftp-ip code 1 = ip-address;
              option PXE.mtftp-cport code 2 = unsigned integer 16;
              option PXE.mtftp-sport code 3 = unsigned integer 16;
              option PXE.mtftp-tmout code 4 = unsigned integer 8;
              option PXE.mtftp-delay code 5 = unsigned integer 8;
              option arch code 93 = unsigned integer 16;
              use-host-decl-names on;
              ddns-update-style interim;
              ignore client-updates;
              # Specify subnet of ether device you do NOT want service.
              # For systems with two or more ethernet devices.
              # subnet 136.165.0.0 netmask 255.255.0.0 {}
              subnet 10.1.1.0 netmask 255.255.255.0{
                  option subnet-mask 255.255.255.0;
                  range dynamic-bootp 10.1.1.10 10.1.1.254;
                  default-lease-time 21600;
                  max-lease-time 43200;
                  option routers 10.1.1.1;
                  option domain-name-servers 127.0.1.1;
                  next-server 10.1.1.164;
                  class "Legacy" {
                      match if substring(option vendor-class-identifier, 0, 20) = "PXEClient:Arch:00000";
                      filename "undionly.kkpxe";
                  }
                  class "UEFI-32-2" {
                      match if substring(option vendor-class-identifier, 0, 20) = "PXEClient:Arch:00002";
                      filename "i386-efi/ipxe.efi";
                  }
                  class "UEFI-32-1" {
                      match if substring(option vendor-class-identifier, 0, 20) = "PXEClient:Arch:00006";
                      filename "i386-efi/ipxe.efi";
                  }
                  class "UEFI-64-1" {
                      match if substring(option vendor-class-identifier, 0, 20) = "PXEClient:Arch:00007";
                      filename "ipxe.efi";
                  }
                  class "UEFI-64-2" {
                      match if substring(option vendor-class-identifier, 0, 20) = "PXEClient:Arch:00008";
                      filename "ipxe.efi";
                  }
                  class "UEFI-64-3" {
                      match if substring(option vendor-class-identifier, 0, 20) = "PXEClient:Arch:00009";
                      filename "ipxe.efi";
                  }
                  class "SURFACE-PRO-4" {
                      match if substring(option vendor-class-identifier, 0, 32) = "PXEClient:Arch:00007:UNDI:003016";
                      filename "ipxe7156.efi";
                  }
                  class "Apple-Intel-Netboot" {
                      match if substring(option vendor-class-identifier, 0, 14) = "AAPLBSDPC/i386";
                      option dhcp-parameter-request-list 1,3,17,43,60;
                      if (option dhcp-message-type = 8) {
                          option vendor-class-identifier "AAPLBSDPC";
                          if (substring(option vendor-encapsulated-options, 0, 3) = 01:01:01) {
                              # BSDP List
                              option vendor-encapsulated-options 01:01:01:04:02:80:00:07:04:81:00:05:2a:09:0D:81:00:05:2a:08:69:50:58:45:2d:46:4f:47;
                              filename "ipxe.efi";
                          }
                      }
                  }
              }
              
              Wayne WorkmanW 1 Reply Last reply Reply Quote 0
              • george1421G
                george1421 Moderator @TTellez
                last edited by

                @TTellez Well this one is really wrong. Not sure where my head was when I gave you that command, but the initial command was wrong. Lets try netstat -an|grep 67 That should show us if the dhcp server is running on your FOG server.

                Your dhcp config file looks right. Just to confirm the following

                1. Your fog server is at IP address 10.1.1.164 and it is a static IP address. To see the current IP address of your fog server ip addr show
                2. You have no other dhcp server on the 10.1.1.x/24 subnet?
                3. Your router off this network is 10.1.1.1?
                4. Is this an isolated imaging network?

                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!

                T 2 Replies Last reply Reply Quote 1
                • T
                  TTellez @george1421
                  last edited by TTellez

                  @george1421

                  • FOG server address is 10.1.1.164 or localhost

                  • Hmmm, to answer 2,3, & 4 in the same one there IS another DHCP server. Yes, the router is 10.1.1.1, and NO this isn’t isolated, unless I remove the net connection, and use localhost

                  EDIT: in typing this response I realized what you were asking. So I removed the external network, created the isolated imaging network, used localhost instead of the IP and BOOM we are imaging.

                  george1421G 1 Reply Last reply Reply Quote 0
                  • T
                    TTellez @george1421
                    last edited by

                    @george1421 better?

                    # DHCP Server Configuration file\n#see /usr/share/doc/dhcp*/dhcpd.conf.sample
                    # This file was created by FOG
                    #Definition of PXE-specific options
                    # Code 1: Multicast IP Address of bootfile
                    # Code 2: UDP Port that client should monitor for MTFTP Responses
                    # Code 3: UDP Port that MTFTP servers are using to listen for MTFTP requests
                    # Code 4: Number of seconds a client must listen for activity before trying
                    #         to start a new MTFTP transfer
                    # Code 5: Number of seconds a client must listen before trying to restart
                    #         a MTFTP transfer
                    option space PXE;
                    option PXE.mtftp-ip code 1 = ip-address;
                    option PXE.mtftp-cport code 2 = unsigned integer 16;
                    option PXE.mtftp-sport code 3 = unsigned integer 16;
                    option PXE.mtftp-tmout code 4 = unsigned integer 8;
                    option PXE.mtftp-delay code 5 = unsigned integer 8;
                    option arch code 93 = unsigned integer 16;
                    use-host-decl-names on;
                    ddns-update-style interim;
                    ignore client-updates;
                    # Specify subnet of ether device you do NOT want service.
                    # For systems with two or more ethernet devices.
                    # subnet 136.165.0.0 netmask 255.255.0.0 {}
                    subnet 10.1.1.0 netmask 255.255.255.0{
                       option subnet-mask 255.255.255.0;
                       range dynamic-bootp 10.1.1.10 10.1.1.254;
                       default-lease-time 21600;
                       max-lease-time 43200;
                       option routers 10.1.1.1;
                       option domain-name-servers 127.0.1.1;
                       next-server 10.1.1.164;
                       class "Legacy" {
                           match if substring(option vendor-class-identifier, 0, 20) = "PXEClient:Arch:00000";
                           filename "undionly.kkpxe";
                       }
                       class "UEFI-32-2" {
                           match if substring(option vendor-class-identifier, 0, 20) = "PXEClient:Arch:00002";
                           filename "i386-efi/ipxe.efi";
                       }
                       class "UEFI-32-1" {
                           match if substring(option vendor-class-identifier, 0, 20) = "PXEClient:Arch:00006";
                           filename "i386-efi/ipxe.efi";
                       }
                       class "UEFI-64-1" {
                           match if substring(option vendor-class-identifier, 0, 20) = "PXEClient:Arch:00007";
                           filename "ipxe.efi";
                       }
                       class "UEFI-64-2" {
                           match if substring(option vendor-class-identifier, 0, 20) = "PXEClient:Arch:00008";
                           filename "ipxe.efi";
                       }
                       class "UEFI-64-3" {
                           match if substring(option vendor-class-identifier, 0, 20) = "PXEClient:Arch:00009";
                           filename "ipxe.efi";
                       }
                       class "SURFACE-PRO-4" {
                           match if substring(option vendor-class-identifier, 0, 32) = "PXEClient:Arch:00007:UNDI:003016";
                           filename "ipxe7156.efi";
                       }
                       class "Apple-Intel-Netboot" {
                           match if substring(option vendor-class-identifier, 0, 14) = "AAPLBSDPC/i386";
                           option dhcp-parameter-request-list 1,3,17,43,60;
                           if (option dhcp-message-type = 8) {
                               option vendor-class-identifier "AAPLBSDPC";
                               if (substring(option vendor-encapsulated-options, 0, 3) = 01:01:01) {
                                   # BSDP List
                                   option vendor-encapsulated-options 01:01:01:04:02:80:00:07:04:81:00:05:2a:09:0D:81:00:05:2a:08:69:50:58:45:2d:46:4f:47;
                                   filename "ipxe.efi";
                               }
                           }
                       }
                    }```
                    1 Reply Last reply Reply Quote 0
                    • george1421G
                      george1421 Moderator @TTellez
                      last edited by

                      @TTellez I’m not sure what you changed in the second config file.

                      But again what I’m trying to drive to ground is if you have 2 dhcp servers on the same network. We’ve established that the FOG server is one dhcp server. The question is there a second one? We can make FOG work if there is a second one (or original one) we just need to know it. You have now confirmed that this is not an isolated network.

                      I keep asking if you setup a deployment network just for FOG? That was to try to determine again, is there another dhcp server some place (maybe your ISP router??)

                      In your config file for the dhcp server, I see your dhcp range is .10 to .254, but your FOG server is at .163 (inside your dhcp range, which is a bit suspicious since you said it was static).

                      It sounds like you unplugged something and now imaging works. Did you unplug your router? The localhost statement has me a bit confused.

                      It sounds like you have imaging working now, but is this how you want it to be long term? My next step was to have you run a tcpdump to capture the pxe booting process that would tell us what is going on the wire.

                      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!

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

                        @TTellez said in FOG Server host registration issues:

                        option domain-name-servers 127.0.1.1;

                        That is surely incorrect.

                        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 1
                        • T
                          TTellez @george1421
                          last edited by

                          @george1421 The switch we were using also had a network connection connected to it. So when I pulled the connection, instead of using the IP address we used localhost.

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

                          156

                          Online

                          12.0k

                          Users

                          17.3k

                          Topics

                          155.2k

                          Posts
                          Copyright © 2012-2024 FOG Project