Better Intel AMT manager status, comments.
Ylian Saint-Hilaire committed
Apr 5, 2021 at 14:59 UTC
eb9b9d7e5399b3ba8a46541ab4460efbe550d46e
1 file changed
+5
-1
amtmanager.js
+5
-1
@@ -453,6 +453,7 @@ module.exports.CreateAmtManager = function (parent) {
453
}
454
455
// See what username/password we need to try
456
+ // We create an efficient strategy for trying different Intel AMT passwords.
457
if (dev.acctry == null) {
458
dev.acctry = [];
459
@@ -661,7 +662,10 @@ module.exports.CreateAmtManager = function (parent) {
662
if (dev.acctry.length > 0) { dev.acctry.shift(); }
663
664
// We have another password to try, hold 20 second and try the next user/password.
664
- if (dev.acctry.length > 0) { setTimeout(function () { if (isAmtDeviceValid(dev)) { attemptInitialContact(dev); } }, 20000); return; }
665
+ if (dev.acctry.length > 0) {
666
+ dev.consoleMsg("Holding 20 seconds and trying again with different credentials...");
667
+ setTimeout(function () { if (isAmtDeviceValid(dev)) { attemptInitialContact(dev); } }, 20000); return;
668
+ }
669
}
670
671
// If this devics is in CCM mode and we have a bad password reset policy, do it now.