On Tuesday 08 September 2015 07:24:56, Joe Gidi wrote:
> > It is worth pointing out that amtterm is only useable with AMT
> > versions <= 8
> > as AMT version 9 removed the SOAP interface that amtterm uses.  If
> > anyone knows of anything that can talk the ws-man protocol
> > variant AMT version 9 uses I'd like to hear about it.
> 
> This box has AMT 9, actually.
> 
> amtterm-cli, the SOL client, still works with it. However, as you
> said, the other components of the amtterm package don't work due to
> the SOAP interface being deprecated.
> 
> There apparently is some open-source code for wsman, but I don't see
> any sign that it's been ported to OpenBSD:
> 
> https://openwsman.github.io/
> http://en.community.dell.com/techcenter/b/techcenter/archive/2012/08
> /03/wsmancli-package-for-ubuntu

AIUI, the difference between legacy SOL redirection mode and what 
newer AMT versions do is that with the former, the SOL port is open by 
default while with newer version, one needs to enable it with wsman 
first. So, if the ME-BIOS does not offer "Legacy redirection mode", 
one needs to do these magical incantations:

wsman put  http://intel.com/wbem/wscim/1/amt-schema/1/AMT_RedirectionService \
        -h $HOST -P 16992 -u admin -p $AMT_PASSWORD \
        -k RFBPassword=$AMT_PASSWORD
wsman put  http://intel.com/wbem/wscim/1/amt-schema/1/AMT_RedirectionService \
        -h $HOST -P 16992 -u admin -p $AMT_PASSWORD \
        -k ListenerEnabled=true

After that, amtterm works until the next power down of the device. At 
least that worked with a Fujitsu Q775 (Broadwell). I am not sure about 
the AMT version, but I think it was 10. For wsman, I used the Ubuntu 
packages.

Also, one needs either amtterm 1.4 or the appropriate patches 
backported to 1.3, otherwise amtterm will disconnect at every reboot 
of the machine.

A friend of mine also did some script using curl that does 
powerup/reset/powerdown via the port 16992 AMT web interface and works 
without wsman. If there is interest, I could probably post it here.


Cheers,
Stefan

Reply via email to