• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • 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 Mar 27, 2015, 10:07 AM

    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
    • T
      Tom Elliott
      last edited by Mar 27, 2015, 10:56 AM

      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 Mar 27, 2015, 1:09 PM

        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
        • J
          Joseph Hales Testers
          last edited by Mar 27, 2015, 1:31 PM

          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 Mar 27, 2015, 4:21 PM

            @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
            • W
              Wayne Workman
              last edited by Mar 27, 2015, 4:56 PM

              [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
              • T
                Tom Elliott
                last edited by Mar 27, 2015, 5:10 PM

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

                158

                Online

                12.0k

                Users

                17.3k

                Topics

                155.2k

                Posts
                Copyright © 2012-2024 FOG Project