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

    HostNameChanger says hostname is correct

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    4
    12
    4.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.
    • Wayne WorkmanW
      Wayne Workman
      last edited by

      Can you check the actual hostname on the computer and compare it against the hostname set in the web interface? Maybe they are the same? Do you know that by default, fog attempts renaming during imaging?

      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/

      J 1 Reply Last reply Reply Quote 0
      • J
        jfath @Wayne Workman
        last edited by

        Only the DC:FE… address is an actual host. It was the source machine for the log file and does appear in my list of hosts. I also checked the MAC address of the FOG server and it does not match the other addresses from the log.

        The local host names do not match the FOG interface. All of the machines show the same Windows generated host name from the machine that was used to capture the image. In the FOG interface I have registered the hosts as ebgc-001, ebgc-002, …

        Thanks for the reply. Anything else I might check?

        Jerry

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

          @jfath

          http://10.0.0.4/fog/service/ipxe/boot.php?mac0=A8:A7:95:93:72:87

          and

          http://10.0.0.4/fog/service/ipxe/boot.php?mac0=A8:A7:95:93:72:87&mac1=AA:A7:95:93:72:87&mac2=DC:FE:07:06:58:38

          also:
          http://10.0.0.4/fog/service/ipxe/boot.php?mac0=00:00:00:00:00:00:00:E0

          See what name it says the host is registered as, or does it say the host is not registered? What we are doing here is manually passing MAC addresses to the boot.php mechanism, which generates iPXE boot scripts based on the MAC addresses given.

          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/

          J 1 Reply Last reply Reply Quote 0
          • J
            jfath @Wayne Workman
            last edited by

            http://10.0.0.4/fog/service/ipxe/boot.php?mac0=A8:A7:95:93:72:87 -> Host is NOT registered

            http://10.0.0.4/fog/service/ipxe/boot.php?mac0=A8:A7:95:93:72:87&mac1=AA:A7:95:93:72:87&mac2=DC:FE:07:06:58:38 -> Host is registered as EBGC-001

            http://10.0.0.4/fog/service/ipxe/boot.php?mac0=00:00:00:00:00:00:00:E0 -> Host is NOT registered

            The hostname listed for DC:FE… does match what I set when I registered the host and what I see in the FOG host list, but locally that machine still displays the original hostname from the captured image.

            Thanks again.

            Jerry

            J 1 Reply Last reply Reply Quote 0
            • J
              jfath @jfath
              last edited by

              It occurs to me that I’m logging in to the machines running client using a user account that does not have admin rights. Any chance that is keeping the hostname check/set from happening correctly? I’m not on site right now, so I can’t do the simple test of logging in as an admin.

              Jerry

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

                I’m 100% certain that this is not the case of your issues. Your being logged in has no impact on how the hostname changing operates.

                I have, however, found that many different key’s are used even if the “windows path” is the same. Linux, being case sensitive and all, is changing the keys, and most likely the client is checking the very same keys. Those keys are being updated, but it’s not the keys that the main windows system is actually looking at for the display of the names.

                I’m updating the init’s in hopes to better approach this, but I really don’t know.

                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

                J 1 Reply Last reply Reply Quote 1
                • J
                  jfath @Tom Elliott
                  last edited by

                  Thanks Tom.

                  Not a huge problem for me as I can just change the host names manually on a dozen or so machines. I’ll be happy to test any changes you make.

                  Jerry

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

                    @jfath They’ve already been made. Just need a test to confirm if you would like please?

                    Of course there is no requirement, but would be good to know.

                    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
                      Sebastian Roth Moderator
                      last edited by

                      @jfath To see the changes Tom made you probably need to update to the latest version and re-run the installer. Would be great if you can confirm if things are working or not.

                      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
                        Sebastian Roth Moderator
                        last edited by

                        @jfath Have you tried updating to the latest version and tested again? Please let us know!

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

                        121

                        Online

                        12.1k

                        Users

                        17.3k

                        Topics

                        155.3k

                        Posts
                        Copyright © 2012-2024 FOG Project