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

    Manually updating oui.txt (MAC list)

    Scheduled Pinned Locked Moved
    FOG Problems
    4
    7
    2.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.
    • C
      Carsten Jensen
      last edited by

      I’ve been trying to manually update the oui.txt, copying the file into
      /var/www/fog/management/other

      is the import triggered by a cron, or will it only import after pressing the update button which fails due to it cannot download the file.
      the FOG server is not connected to the internet, so it cannot download the oui.txt thus I have to do it manually.

      cheers

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

        I’ll have to take a look at the code.

        I do purposely tell the GUI to download the oui.txt from the website. This is done not to make things difficult, but ultimately to try making things simpler. I suppose one method, if you can, is to temporarily connect the fog server to the internet, perform the MAC Address Listing Update, then disconnect.

        I didn’t add any checks to see if the file is already present because often times the file is outdated at that point, which is why I attempt to get a new file every time.

        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
        • C
          Carsten Jensen
          last edited by

          Unfortunately it’s not an option for me to connect the FOG server to the internet.
          it’s not critical for me though it’s nice to see the vendor 😉

          Perhaps a file upload form for manually updating would be available in the future?

          1 Reply Last reply Reply Quote 0
          • Joseph HalesJ
            Joseph Hales Testers
            last edited by

            Depending on your flavor of Linux there are several different ways to handle updates and installs for an air gaped server. Some examples here [url]http://unix.stackexchange.com/questions/89152/ways-to-update-ubuntu-debian-based-distros-offline[/url]

            RTFM

            1 Reply Last reply Reply Quote 0
            • C
              Carsten Jensen
              last edited by

              @Joseph
              I guess you didn’t read/understand the problem, but your answer has no relevance for the subject.

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

                [quote=“Tom Elliott, post: 44517, member: 7271”]I’ll have to take a look at the code.

                I do purposely tell the GUI to download the oui.txt from the website. This is done not to make things difficult, but ultimately to try making things simpler. I suppose one method, if you can, is to temporarily connect the fog server to the internet, perform the MAC Address Listing Update, then disconnect.

                I didn’t add any checks to see if the file is already present because often times the file is outdated at that point, which is why I attempt to get a new file every time.[/quote]

                Tom, is this a non-blocking method?

                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
                • Tom ElliottT
                  Tom Elliott
                  last edited by

                  Blocking or non-blocking, shouldn’t matter. I believe, for now the method is a blocking mechanism, but in Carsten’s particular case, the OUI file cannot be downloaded, hence the issue he’s running into.

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

                  232

                  Online

                  12.0k

                  Users

                  17.3k

                  Topics

                  155.2k

                  Posts
                  Copyright © 2012-2024 FOG Project