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

    SO CLOSE .... "Ensuring node username and passwords match...."

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    3
    13
    2.6k
    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.
    • T
      TTellez @george1421
      last edited by

      @george1421 here is the text of my dhcp.conf file. Anything glaring out at you?

      # 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.10.0 netmask 255.255.255.0{
          option subnet-mask 255.255.255.0;
          range dynamic-bootp 10.1.10.10 10.1.10.254;
          default-lease-time 21600;
          max-lease-time 43200;
          option routers 10.1.1.1;
          option domain-name-servers 127.0.0.1;
          next-server 10.1.1.10;
          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";
                  }
              }
          }
      }```
      Tom ElliottT 1 Reply Last reply Reply Quote 0
      • T
        TTellez @george1421
        last edited by

        @george1421 OK, got my DHCP working. Also have my TFTP active and good, however, on PXE boot, I get the PXE-E11 error still in spite of having green lights on the TFTPD and DHCP statuses. DHCP assigns the client the IP and it moves on to TFTPD and then ffailes with the ARP timeout/

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

          @TTellez I see some glaring issues in your config file.

          First, you have Subnet mask of 10.1.10.0 network of /24 (255.255.255.0)

          Second, your router is defined to 10.1.1.1? What is this router?
          Third, your next-server appears to be 10.1.1.10.

          Well if your FOG Server IS the dhcp controller, this would definitely be the issue. A /24 network can only reside in scope of itself. so your network is being issued an IP in the range of 10.1.10.x, but your server is on network 10.1.1.10. The pxe client’s can’t reach the fog 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

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

            @george1421 ok I know its sunday, so I am sorry for the barrage of responses.

            I think I found something. the Fog server IP/Address is “localhost” or 10.1.1.10 but the DHCP server seems to be assigning the client 10.1.10.X IP addresses. So the subnet is not the same. I am guessing this is an issue. BUT, I don’t know how to change that.

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

              @Tom-Elliott HA we posted the SAME thing at the same time. How can I correct that?

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

                @TTellez said in SO CLOSE .... “Ensuring node username and passwords match....”:
                I’d recommend trying this:

                # DHCP Server Configuration file
                # 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.0.1;
                    next-server 10.1.1.10;
                    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";
                            }
                        }
                    }
                

                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

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

                  @Tom-Elliott is there a simple command to completely replace the dhcpd.conf file? I’ve created a secondary file with the changes you made.

                  (sorry, really an Ubuntu NEWB here, but I am loving this and learning SO MUCH. Thank you.)

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

                    @TTellez You could also try:

                    This one is assuming class A network, but only issuing DHCP outside of your server’s range to ensure no potential duplicate IPs.

                    # DHCP Server Configuration file
                    # 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.0.0.0 netmask 255.0.0.0{
                        option subnet-mask 255.255.255.0;
                        range dynamic-bootp 10.2.1.1 10.254.254.254;
                        default-lease-time 21600;
                        max-lease-time 43200;
                        option routers 10.1.1.1;
                        option domain-name-servers 127.0.0.1;
                        next-server 10.1.1.10;
                        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";
                                }
                            }
                        }
                    

                    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
                    • Tom ElliottT
                      Tom Elliott
                      last edited by

                      So with @TTellez I remoted in and we got things configured.

                      We had to adjust the dhcp a slight bit to correct for the current network vs. the network the server WILL be on.

                      PXE Boot appears to be working properly now. We can even capture an image. Testing deploy currently.

                      We did hit a snag on FTP.

                      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

                      T 1 Reply Last reply Reply Quote 2
                      • T
                        TTellez @Tom Elliott
                        last edited by

                        @Tom-Elliott you’re a gentleman and a scholar. I won’t believe the things they say about you again. Lol.

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

                        182

                        Online

                        12.0k

                        Users

                        17.3k

                        Topics

                        155.2k

                        Posts
                        Copyright © 2012-2024 FOG Project