Manually updating oui.txt (MAC list)



  • 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


  • Senior Developer

    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.


  • Moderator

    [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?



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


  • Testers

    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]



  • 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?


  • Senior Developer

    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.


Log in to reply
 

363
Online

38984
Users

10712
Topics

101687
Posts

Looks like your connection to FOG Project was lost, please wait while we try to reconnect.