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

    MAC already exists

    Scheduled Pinned Locked Moved
    FOG Problems
    2
    5
    778
    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.
    • A
      astrugatch
      last edited by

      Running FOG 1.5.8 on Ubuntu 18.04

      Removed a Mac address from a machine so I could use a usb network adapter to image it. When I went to put the built in Wifi MAC address back into the machine config it says that it is already in use, but it is no longer on that machine’s entry or in use anywhere else.

      1 Reply Last reply Reply Quote 0
      • S
        Sebastian Roth Moderator
        last edited by

        @astrugatch Please run the following two mysql querys on the command line to see if you can find it in the database:

        SELECT * FROM hostMAC WHERE hmMAC LIKE '%aa:bb:cc:dd:ee:ff%';
        SELECT * FROM hosts WHERE hostID IN (SELECT hmHostID FROM hostMAC WHERE hmMAC LIKE '%aa:bb:cc:dd:ee:ff%');
        

        Put in the adapters MAC address instead of aa:bb:cc:dd:ee:ff.

        I am wondering why you say “Wifi MAC address” at one point. Just a typo?

        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
        • A
          astrugatch
          last edited by

          @Sebastian-Roth

          The Mac shows up in the table. Assigned to my device, but under pending. So I went to pending and approved the Mac addresses. Though when I went back and tried to remove the temporary Mac that is in the primary field and move the built in MAC address to the primary field but it still gives the error when I save that the Mac is already assigned (to the machine who’s page I’m on).

          There are 3 Mac addresses in the mix.

          1. The temporary usb adapter
          2. another USB adapter that the user usually has. This one doesn’t support PXE hence the temp adapter.
          3. The Wifi Mac that I keep as a secondary because we use the client and I want the machine to still check in while on Wifi.
          1 Reply Last reply Reply Quote 0
          • S
            Sebastian Roth Moderator
            last edited by

            @astrugatch As far as I remember there was an issue in this part of the web UI which is fixed in the latest release candidate version. Though we can’t be sure if it’s the same unless you update to the latest and test.

            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

            A 1 Reply Last reply Reply Quote 0
            • A
              astrugatch @Sebastian Roth
              last edited by

              @Sebastian-Roth

              Now that I have the necessary MAC addresses at least associated with the machine I am good for now. I will wait for a final release before I move. This isn’t a deal breaker kind of issue for me.

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

              162

              Online

              12.0k

              Users

              17.3k

              Topics

              155.2k

              Posts
              Copyright © 2012-2024 FOG Project