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

    Snapins hash does not match on wireless

    Scheduled Pinned Locked Moved
    FOG Problems
    2
    4
    495
    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.
    • M
      Mightmar
      last edited by

      Hello,
      fog version 1.59 - RC
      linux centos 7

      I am recently strugling with WPKG installation on wireless computers, ended up with Idea to run script via fog snapins, but I met with a problem

      ------------------------------------------------------------------------------
      ---------------------------------SnapinClient---------------------------------
      ------------------------------------------------------------------------------
       25.02.2022 10:46:19 Client-Info Client Version: 0.12.0
       25.02.2022 10:46:19 Client-Info Client OS:      Windows
       25.02.2022 10:46:19 Client-Info Server Version: 1.5.9-RC2
       25.02.2022 10:46:19 Middleware::Response Success
       25.02.2022 10:46:19 SnapinClient Running snapin run_wpkg
       25.02.2022 10:46:19 Middleware::Communication Download: http://10.180.8.90//fog/service/snapins.file.php?mac=F4:39:09:07:E3:D8|D2:37:45:4E:D9:E3|D0:37:45:4E:D9:E3|D0:37:45:4E:D9:E3&taskid=454
       25.02.2022 10:46:19 SnapinClient C:\Program Files (x86)\FOG\tmp\run_wpkg.bat
       25.02.2022 10:46:19 SnapinClient ERROR: Hash does not match
       25.02.2022 10:46:19 SnapinClient ERROR: --> Ideal: A38A276FC3F8F3BA03094495668B7459C56ED1B5DCBD77774BBA22A3CDCF0B9CE3B33C612C824220E0C2156864332C1F9E0A3C18A190A6BA6F17D9C239122626
       25.02.2022 10:46:19 SnapinClient ERROR: --> Actual: 94C85322BD7EC5FE201F52064A78C58BFA99C10AC316EC557BE010FF88D3AD5F3F3BF220FFCB07CAF77F89A9E0F4A44CE1CF9343DBFD0C7E582C5DC0C7AF42B5
       25.02.2022 10:46:19 Middleware::Communication URL: https://10.180.8.90/fog/service/snapins.checkin.php?taskid=454&exitcode=-1&mac=F4:39:09:07:E3:D8|D2:37:45:4E:D9:E3|D0:37:45:4E:D9:E3|D0:37:45:4E:D9:E3&newService&json
      ------------------------------------------------------------------------------
      

      this is showing only once I trying to run the snapin on wireless. Snapin on the same machine on wired network goes through nicely (well beside script failing to work).
      So I want to ask, if snaping will always fail when I switch network card and mac address? Can I have it work on both? If laptops only work on wireless should I try to image them via wireless too?
      Please give some hints, explanations how to solve it

      thank you in advance!

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

        @mightmar said in Snapins hash does not match on wireless:

        this is showing only once I trying to run the snapin on wireless.

        This is pretty strange because the hash is a simple file checksum (code ref) an does not include MAC address or anything else.

        Since the file is a simple batch I can imagine some anti virus or other security software might mess with the file when it’s downloaded via wireless LAN (different network segment).

        From the information we have so far I can’t see FOG or the fog-client to cause this issue.

        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
        • M
          Mightmar
          last edited by

          Sorry for no response till now, I tested with antivirus disabled, created new snapin, and add new file again. Old end up with hash error.
          This machine have build in wifi and lan, now its error on both. In snapin history all task end with return code -1 after around 1 min time. What else I can check?

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

            @Mightmar Sorry for the long delay. Have been pretty busy.

            I suggest you try to figure out what hash sums should be correct. Grab a copy of the file on the host machine, e.g. C:\Program Files (x86)\FOG\tmp\run_wpkg.bat and calculate the SHA256 hash sum for it. Also check the contents of the file on the host.

            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

            194

            Online

            12.0k

            Users

            17.3k

            Topics

            155.2k

            Posts
            Copyright © 2012-2024 FOG Project