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

    Hostname changer "Unable to get subsection" 1.3.0-RC-7

    Scheduled Pinned Locked Moved
    Windows Problems
    3
    36
    7.9k
    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
      Joe Schmitt Senior Developer
      last edited by Joe Schmitt

      @arnaudrigole It’s likely caused by a virtual network adapter (e.g. a TAP driver, virtualbox, vmware, …).

      From the log file, here’s the macs your machine has:

      • B8:08:CF:3C:95:CE
      • 00:A0:C6:00:00:14
      • B8:08:CF:3C:95:CA
      • 28:F1:0E:2D:C4:6A
      • 02:50:41:00:00:01
      • 00:00:00:00:00:00:00:E0

      I would search each one of them in the fog ui under your host list. At least one of them will return multiple hosts.

      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.

      1 Reply Last reply Reply Quote 1
      • arnaudrigoleA
        arnaudrigole @Tom Elliott
        last edited by arnaudrigole

        @Tom-Elliott

        This seems to be the cause.

        I encounter this issue on all our computer, freshly unboxed, never connected on our network and just imaged with fog… No duplicate entries in fog hosts :s

        Look at that error in GUI ! ?
        alt text
        alt text

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

          @arnaudrigole The message is clear. There’s multiple host entries for the mac (or mac’s) in question. This can happen for any number of reasons. If you use a USB NIC, I’m guessing this is “shared” with multiple systems?

          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

          arnaudrigoleA 1 Reply Last reply Reply Quote 1
          • arnaudrigoleA
            arnaudrigole @Tom Elliott
            last edited by

            @Tom-Elliott
            Im not using USB nic…
            I have no duplicate entries in fog hosts, im 100% sure.
            As i said, my test computers are dell laptops just unboxed! There is no duplicate possible

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

              @arnaudrigole The message is clear, there is a Duplicate somewhere. We need you to search for it by searching for the MAC’s that @Joe-Schmitt gave you earlier.

              You can even do a manual sql query if needed.

              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 2
              • arnaudrigoleA
                arnaudrigole
                last edited by

                @Joe-Schmitt
                Maybe the VPN network card

                1 Reply Last reply Reply Quote 0
                • J
                  Joe Schmitt Senior Developer
                  last edited by

                  @arnaudrigole If you search for each mac (individually) that I listed previously in your FOG web ui as Tom and I have been suggesting then you would see those duplicates.

                  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.

                  arnaudrigoleA 1 Reply Last reply Reply Quote 1
                  • arnaudrigoleA
                    arnaudrigole @Joe Schmitt
                    last edited by

                    @Joe-Schmitt @Tom-Elliott
                    Excuse me, i haven’t refreshed that page to see your last messages!
                    The problem come from our VPN network card… but how can i bypass it ?

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

                      You need to find which mac address is currently associated to multiple hosts.

                      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

                      arnaudrigoleA 1 Reply Last reply Reply Quote 1
                      • arnaudrigoleA
                        arnaudrigole @Tom Elliott
                        last edited by arnaudrigole

                        @Tom-Elliott
                        Yes it’s the 02:50:41:00:00:01 : PANGP (vpn) adapter
                        So how can i configure fog to bypass that MAC and only read the ethernet / wifi MAC ?

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

                          Now you need to delete that mac address entirely from the database.

                          This can be done in mysql with:

                          DELETE FROM hostMAC where hmMAC LIKE '02:50:41:00:00:01';

                          Then add the MAC to be filtered:

                          Something like:

                          UPDATE globalSettings SET settingValue='02:50:41:00:00:01' WHERE settingKey='FOG_QUICKREG_PENDING_MAC_FILTER';

                          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

                            The GUI can also be used to add “filtered MAC’s” this is simply a comma separated list (e.g. mac1,mac2,mac3,etc…)

                            The GUI accessible portion to add the filtered mac is:
                            FOG Configuration Page ->
                            FOG Settings ->
                            FOG Client - Host Register ->
                            FOG_QUICKREG_PENDING_MAC_FILTER

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

                            150

                            Online

                            12.0k

                            Users

                            17.3k

                            Topics

                            155.2k

                            Posts
                            Copyright © 2012-2024 FOG Project