• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • 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.
  • J
    jfath
    last edited by Joe Schmitt Mar 27, 2016, 11:38 AM Mar 23, 2016, 1:07 PM

    I’m running server 6751 on Lubuntu 14.04 32 bit and client 0.9.11 on Windows 10 x64 machines in a simple workgroup.

    After image deployment all hosts retained the name of the host stored in the image, not the host name shown in FOG server. The client log shows:

    ------------------------------------------------------------------------------
    --------------------------------HostnameChanger-------------------------------
    ------------------------------------------------------------------------------
     3/20/2016 9:49 AM Client-Info Version: 0.9.11
     3/20/2016 9:49 AM HostnameChanger Running...
     3/20/2016 9:49 AM Middleware::Communication URL: http://fog-server/fog/service/servicemodule-active.php?moduleid=hostnamechanger&mac=A8:A7:95:93:72:87|AA:A7:95:93:72:87|DC:FE:07:06:58:38||00:00:00:00:00:00:00:E0&newService=1
     3/20/2016 9:49 AM Middleware::Communication Response: Success
     3/20/2016 9:49 AM Middleware::Communication URL: http://fog-server/fog/service/hostname.php?moduleid=hostnamechanger&mac=A8:A7:95:93:72:87|AA:A7:95:93:72:87|DC:FE:07:06:58:38||00:00:00:00:00:00:00:E0&newService=1
     3/20/2016 9:49 AM Middleware::Communication Response: Success
     3/20/2016 9:49 AM HostnameChanger Checking Hostname
     3/20/2016 9:49 AM HostnameChanger Hostname is correct
    ------------------------------------------------------------------------------
    
    

    I’m new to FOG, so I suspect operator error, but I’ve not been able to figure out what I’m missing.

    Any help is appreciated.

    Jerry

    W 1 Reply Last reply Mar 23, 2016, 7:54 PM Reply Quote 0
    • W
      Wayne Workman @jfath
      last edited by Mar 23, 2016, 7:54 PM

      @jfath Can you search for each of those MAC address in the fog interface? Right in Host Management, there is a search option. Here are the MACs:

      A8:A7:95:93:72:87
      AA:A7:95:93:72:87
      DC:FE:07:06:58:38
      00:00:00:00:00:00:00:E0

      Not sure why that last one is all 0s and so long… Search for each one of these and see what you find.

      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
      • W
        Wayne Workman
        last edited by Mar 23, 2016, 8:18 PM

        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 Mar 24, 2016, 2:19 PM Reply Quote 0
        • J
          jfath @Wayne Workman
          last edited by Mar 24, 2016, 2:19 PM

          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

          W 1 Reply Last reply Mar 24, 2016, 2:25 PM Reply Quote 0
          • W
            Wayne Workman @jfath
            last edited by Mar 24, 2016, 2:25 PM

            @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 Mar 24, 2016, 5:31 PM Reply Quote 0
            • J
              jfath @Wayne Workman
              last edited by Mar 24, 2016, 5:31 PM

              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 Mar 24, 2016, 5:47 PM Reply Quote 0
              • J
                jfath @jfath
                last edited by Mar 24, 2016, 5:47 PM

                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
                • T
                  Tom Elliott
                  last edited by Mar 24, 2016, 11:25 PM

                  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 Mar 25, 2016, 1:20 AM Reply Quote 1
                  • J
                    jfath @Tom Elliott
                    last edited by Mar 25, 2016, 1:20 AM

                    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

                    T 1 Reply Last reply Mar 25, 2016, 1:23 AM Reply Quote 0
                    • T
                      Tom Elliott @jfath
                      last edited by Mar 25, 2016, 1:23 AM

                      @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 Mar 25, 2016, 7:45 PM

                        @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 Mar 30, 2016, 8:58 PM

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

                          135

                          Online

                          12.1k

                          Users

                          17.3k

                          Topics

                          155.3k

                          Posts
                          Copyright © 2012-2024 FOG Project