No edit summary Tag: Visual edit |
No edit summary Tag: Visual edit |
||
(2 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
== Use of HP ProLiant MicroServer Remote Access Card under Windows 10 64 bit == |
== Use of HP ProLiant MicroServer Remote Access Card under Windows 10 64 bit == |
||
− | Whenever I |
+ | Whenever I tried to use the above named card for KVM access, I get a |
"Connection failed" message. |
"Connection failed" message. |
||
Line 24: | Line 24: | ||
create a kvm.bat file as this one in the kvm folder: |
create a kvm.bat file as this one in the kvm folder: |
||
@echo off |
@echo off |
||
+ | |||
+ | rem set /P drachost="Host: " |
||
+ | set drachost=[https://19216811-router-login.fandom.com/wiki/192.168.1.1_-_Router_Configuation_Setups 192.168.180.52] |
||
+ | set /p dracuser="Username: " |
||
+ | set "psCommand=powershell -Command "$pword = read-host 'Enter Password' -AsSecureString ; ^ |
||
+ | $BSTR=[System.Runtime.InteropServices.Marshal]::SecureStringToBSTR($pword); ^ |
||
+ | [System.Runtime.InteropServices.Marshal]::PtrToStringAuto($BSTR)"" |
||
+ | for /f "usebackq delims=" %%p in (`%psCommand%`) do set dracpwd=%%p |
||
+ | |||
⚫ | |||
⚫ | |||
− | set drachost=192.168.180.52 |
||
− | |||
⚫ | |||
− | |||
⚫ | |||
Now, start Firefox and go to the "launch KVM"-button. |
Now, start Firefox and go to the "launch KVM"-button. |
||
Latest revision as of 19:34, 10 January 2021
Use of HP ProLiant MicroServer Remote Access Card under Windows 10 64 bit[]
Whenever I tried to use the above named card for KVM access, I get a
"Connection failed" message.
There is a workaround to this, inspired by [1].
There are some differences, though.
Here is how to do it:
Install Java 1.6 32bit.
Create a working dir, let's say kvm
Copy "C:\Program Files (x86)\Java\jre6" as folder "jre" in there.
Dowload "http://192.168.180.52:80/software/avctKVMIOWin32.jar" in the kvm folder, IP is the one of your card.
Rename it to .zip and extract the dll out of it, copy it in a "lib" subfolder.
Download "http://192.168.180.52:80/software/avctKVM.jar" in the kvm folder.
create a kvm.bat file as this one in the kvm folder:
@echo off rem set /P drachost="Host: " set drachost=192.168.180.52 set /p dracuser="Username: " set "psCommand=powershell -Command "$pword = read-host 'Enter Password' -AsSecureString ; ^ $BSTR=[System.Runtime.InteropServices.Marshal]::SecureStringToBSTR($pword); ^ [System.Runtime.InteropServices.Marshal]::PtrToStringAuto($BSTR)"" for /f "usebackq delims=" %%p in (`%psCommand%`) do set dracpwd=%%p .\jre\bin\java -cp avctKVM.jar -Djava.library.path=.\lib com.avocent.kvm.client.Main ip=%drachost% kmport=2068 vport=2068 user=%dracuser% passwd=%dracpwd% apcp=1 version=2 vmprivilege=true "helpurl=https://%drachost%:443/help/contents.html" pause
Now, start Firefox and go to the "launch KVM"-button.
Save the file .jnlp-File in the kvm-folder.
The folder should look like this, now:
Now, the card always generates a new user and password! So you have to open this .jnlp file, look the user and password up and replace it in the .bat file!
Then you can start the bat file.
When I have time, I might write a batch routine for this.
This was the only way to get the kvm working!!
Have fun!