Snapins hash does not match on wireless
-
Hello,
fog version 1.59 - RC
linux centos 7I 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 itthank you in advance!
-
@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.
-
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? -
@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.