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

    Host not registered" appears again and again

    Scheduled Pinned Locked Moved Unsolved
    FOG Problems
    3
    6
    297
    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.
    • P
      paranoid64
      last edited by paranoid64

      I have a problem with a Computer PRIME H470-PLUS, the client always wants a registration. So LAN Boot works fine, in the boot menu i have selected “quick registration”.
      After booting always the same program. Red at the top “host not registered” -> “quick registration”.

      I have also tested legacy and UEFI always the same, WIFI and Bluetooth is disabled in the bios.
      There is a LAN Realtek onboard and a LAN card from Intel with 4 LAN ports on it.

      To make LAN-Boot work, I used the onboard Realtek. Because I had problems with other pc’s that only allowed booting from onboard LAN cards.

      I can see the correct Mac address in the background of the FOG and everything is also stored correctly in the host “Hardware Inventory”.

      The client registration is successful, why do I only get this message on this one computer?
      And what else can I do to get out of it?

      Fog Version is 1.5.10

      Backend Log:
      [2024-07-16 12:48:06] Host ID: 10 NAME: xxx has been successfully updated.

      JJ FullmerJ 1 Reply Last reply Reply Quote 0
      • JJ FullmerJ
        JJ Fullmer Testers @paranoid64
        last edited by

        @paranoid64 Can you add the macs of the 4 intel lan ports to the host in the web ui? One of those macs may be being used to query the host. It should be able to see all of them and find the match but something is off.

        You could try updating to the latest experimental kernel and init. If you update to the dev-branch or working-1.6 branch you can update the init in the web GUI or you can do it manually by downloading it from https://github.com/FOGProject/fos/releases and putting the init.xz on your server manually.
        See also https://docs.fogproject.org/en/latest/manual-kernel-upgrade
        The reason that might help is we recently added functionality for better handling of pass-thru macs. That’s not quite the case here, as it’s mostly for laptops that require a USB ethernet adapter to pxe boot, enabling mac address passthru in the bios/firmware of such systems now works as intended within fog with the new kernel and init as it will find the correct mac when there’s a passthru mac, but the new behavior may also benefit you here.

        Have you tried the FogApi powershell module? It's pretty cool IMHO
        https://github.com/darksidemilk/FogApi
        https://fogapi.readthedocs.io/en/latest/
        https://www.powershellgallery.com/packages/FogApi
        https://forums.fogproject.org/topic/12026/powershell-api-module

        P 1 Reply Last reply Reply Quote 0
        • P
          paranoid64 @JJ Fullmer
          last edited by

          @JJ-Fullmer i have add the 4 mac’s, but hadn’t changed anything. Unfortunately, I forgot to say that because I’ve been trying for 2 days. Sorry 😞 ! I don’t dare to try the kernels because I don’t understand where these kernels are used. Is this the kernel for the fog client, where the boot menu appears?

          JJ FullmerJ 1 Reply Last reply Reply Quote 0
          • JJ FullmerJ
            JJ Fullmer Testers @paranoid64
            last edited by

            @paranoid64 Technically the menu is just ipxe, but when capturing or deploying images, getting hardware inventory, stuff like that you’re booting into fos which is in the kernel and init.
            You can manually make a backup of the old kernel and init that can be just as easily restored. I believe in working-1.6 this happens automatically but to be safe you can just run this on your fog server linux terminal

            sudo mv /var/www/html/fog/service/ipxe/bzImage /var/www/html/fog/service/ipxe/bzImage.old
            sudo mv /var/www/html/fog/service/ipxe/init.xz /var/www/html/fog/service/ipxe/init.xz.old
            

            To revert you can simply reverse those like this

            sudo mv -f /var/www/html/fog/service/ipxe/bzImage.old /var/www/html/fog/service/ipxe/bzImage
            sudo mv -f /var/www/html/fog/service/ipxe/init.xz.old /var/www/html/fog/service/ipxe/init.xz
            

            You can also name the new kernels different and specify a different kernel per host, but since this is happening before registration is recognized, it’ll be better to update globally to test it out. I am currently using the ‘experimental’ kernels in production with 0 issues.

            Another thing to look at is some log files.
            See if you have anything helpful in /var/log/php-fpm/www-error.log and post it here

            Have you tried the FogApi powershell module? It's pretty cool IMHO
            https://github.com/darksidemilk/FogApi
            https://fogapi.readthedocs.io/en/latest/
            https://www.powershellgallery.com/packages/FogApi
            https://forums.fogproject.org/topic/12026/powershell-api-module

            1 Reply Last reply Reply Quote 0
            • Cire3C
              Cire3
              last edited by

              I just had this issue with a few HP models. If you look in the bios, do you have an option to use a unique system mac address OR adapter address? That one drove me nuts for a minute…

              It’s great if you use a dongle so you aren’t accidentally uploading over the wrong image due to using the dongles MAC address. But it’s only great when you remember it’s a setting.

              When I get off lease systems in, I like to clear the bios and security settings to factory. However doing so will set it to use a system unique MAC address during pxe boot and not the ethernet address.

              I think it’s only on business class models without a lan port.

              Hope it helps.

              1 Reply Last reply Reply Quote 0
              • P
                paranoid64
                last edited by

                I haven’t gotten around to it yet, sorry about that. unfortunately I’m only working part-time.
                But without this one pc, fog is just great 🙂

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

                198

                Online

                12.0k

                Users

                17.3k

                Topics

                155.2k

                Posts
                Copyright © 2012-2024 FOG Project