Intel® AMT Redirection port or KVM feature is disabled, click here to enable it.
Remote computer is not powered on, click here to issue a power command.
Disconnected
Files -
Disconnected
✓
✗
Intel® AMT -
Events -
Show
General -
General -
Events -
Show
✖
File Selection
Upload File
Agent Remote Desktop
Quality
Scaling
Frame rate
Intel® AMT Hardware KVM
Image Encoding
Show Focus Tool Show Local Mouse Cursor
Other Settings
\ No newline at end of file
diff --git a/views/default.handlebars b/views/default.handlebars
index 0b7fa833..5b370df2 100644
--- a/views/default.handlebars
+++ b/views/default.handlebars
@@ -2389,14 +2389,17 @@
// Setup CIRA using a MeshCommander script (Pretty Simple)
x += "
To add a new Intel® AMT device to device group \"" + EscapeHtml(mesh.name) + "\" with CIRA, download the following script files and use MeshCommander to run the script to configure computers.
";
// Setup CIRA with user/pass authentication (Somewhat difficult)
x += "
To add a new Intel® AMT device to device group \"" + EscapeHtml(mesh.name) + "\" with CIRA, load the following certificate as trusted root within Intel AMT";
if (serverinfo.mpspass) { x += " and authenticate to the server using this username and password.
"; } else { x += " and authenticate to the server using this username and any password.
"; }
- x += addHtmlValue('Root Certificate', 'Root Certificate File');
+ //x += addHtmlValue('Root Certificate', 'Root Certificate File');
+ x += addHtmlValue('Root Certificate', 'Root Certificate File');
x += addHtmlValue('Username', '');
if (serverinfo.mpspass) { x += addHtmlValue('Password', ''); }
if (serverinfo != null) { x += addHtmlValue('MPS Server', ''); }
@@ -2405,13 +2408,14 @@
// Setup CIRA with certificate authentication (Really difficult, only if TLS offload is not used)
if ((features & 16) == 0) {
x += "
To add a new Intel® AMT device to device group \"" + EscapeHtml(mesh.name) + "\" with CIRA, load the following certificate as trusted root within Intel AMT, authenticate using a client certificate with the following common name and connect to the following server.
";
- x += addHtmlValue('Root Certificate', 'Root Certificate File');
+ //x += addHtmlValue('Root Certificate', 'Root Certificate File');
+ x += addHtmlValue('Root Certificate', 'Root Certificate File');
x += addHtmlValue('Organization', '');
if (serverinfo != null) { x += addHtmlValue('MPS Server', ''); }
x += "
";
}
- setDialogMode(2, "Add Intel® AMT CIRA device", 1, null, x);
+ setDialogMode(2, "Add Intel® AMT CIRA device", 2, null, x, 'fileDownload');
}
function dlgAddCiraSelClick() {
@@ -2483,7 +2487,7 @@
//x += addHtmlValue('Mesh Agent', 'Windows (.exe)');
//x += addHtmlValue('Mesh Agent', 'Windows x64 (.exe)');
x += addHtmlValue('Mesh Agent', 'Windows (.exe)');
- x += addHtmlValue('Mesh Agent', 'Windows x64 (.exe)');
+ x += addHtmlValue('Mesh Agent', 'Windows x64 (.exe)');
x += "
";
// Linux agent uninstall
@@ -2491,7 +2495,7 @@
x += '';
x += "";
- setDialogMode(2, "Add Mesh Agent", 2, null, x, 'agentDownload');
+ setDialogMode(2, "Add Mesh Agent", 2, null, x, 'fileDownload');
var servername = serverinfo.name;
if ((servername == 'un-configured') || ((features & 2) != 0)) { servername = window.location.hostname; } // If the server name is not set or it's in LAN-only mode, use the URL hostname as server name.
@@ -2511,16 +2515,23 @@
function fileDownload(path, name, appendFlag) {
var xdr = null, flag = '';
- if (appendFlag == 1) { flag = Q('aginsType').value; }
+ if (appendFlag == 1) {
+ // Download a agent
+ flag = Q('aginsType').value;
+ } else if (appendFlag == 2) {
+ // Download meshcmd
+ flag = Q('aginsSelect').value;
+ if (parseInt(flag) >= 5) { name = name.toLowerCase(); } else { name += '.exe'; }
+ }
try { xdr = new XDomainRequest(); } catch (e) { }
if (!xdr) xdr = new XMLHttpRequest();
xdr.open("GET", window.location.href + path + flag);
xdr.timeout = 15000;
xdr.responseType = "blob";
xdr.onprogress = function (x) { console.log(x); };
- xdr.onload = function (e) { saveAs(new Blob([e.target.response], { type: "application/octet-stream" }), name); if (xxdialogTag == 'agentDownload') { setDialogMode(0); } };
- xdr.onerror = function () { if (xxdialogTag == 'agentDownload') { setDialogMode(0); } alert('Agent downloads timeout.'); };
- xdr.ontimeout = function () { if (xxdialogTag == 'agentDownload') { setDialogMode(0); } alert('Unable to download agent.'); };
+ xdr.onload = function (e) { saveAs(new Blob([e.target.response], { type: "application/octet-stream" }), name); if (xxdialogTag == 'fileDownload') { setDialogMode(0); } };
+ xdr.onerror = function () { if (xxdialogTag == 'fileDownload') { setDialogMode(0); } alert('Agent downloads timeout.'); };
+ xdr.ontimeout = function () { if (xxdialogTag == 'fileDownload') { setDialogMode(0); } alert('Unable to download agent.'); };
xdr.send();
}
@@ -3899,18 +3910,20 @@
if (mode == 0) { x += '
MeshCmd is a command line tool that performs lots of different operations. The action file can optionally be downloaded and edited to provide server information and credentials.
'; }
if (mode == 1) { x += '
Download "meshcmd" with an action file to route traffic thru this server to this device. Make sure to edit meshaction.txt and add your account password or make any changes needed.
'; }
x += addHtmlValue('Operating System', y);
- x += addHtmlValue('MeshCmd', '');
- if (mode == 0) { x += addHtmlValue('Action File', 'MeshAction (.txt)'); }
- if (mode == 1) { x += addHtmlValue('Action File', 'MeshAction (.txt)'); }
+ //x += addHtmlValue('MeshCmd', '');
+ //if (mode == 0) { x += addHtmlValue('Action File', 'MeshAction (.txt)'); }
+ //if (mode == 1) { x += addHtmlValue('Action File', 'MeshAction (.txt)'); }
+ x += addHtmlValue('MeshCmd', '');
+ if (mode == 0) { x += addHtmlValue('Action File', 'MeshAction (.txt)'); }
+ if (mode == 1) { x += addHtmlValue('Action File', 'MeshAction (.txt)'); }
x += "
";
-
- setDialogMode(2, ["Download MeshCmd","Network Router"][mode], 9, null, x);
+ setDialogMode(2, ["Download MeshCmd","Network Router"][mode], 9, null, x, "fileDownload");
meshCmdOsClick();
}
function meshCmdOsClick() {
var os = Q('aginsSelect').value, osn = '';
- Q('meshcmddownloadid').href = "meshagents?meshcmd=" + os;
+ //Q('meshcmddownloadid').href = "meshagents?meshcmd=" + os;
if (os == 3) { osn = 'MeshCmd (Win32 executable)'; }
if (os == 4) { osn = 'MeshCmd (Win64 executable)'; }
if (os == 5) { osn = 'MeshCmd (Linux x86, 32bit)'; }