{"id":857,"date":"2018-12-20T19:04:37","date_gmt":"2018-12-20T15:04:37","guid":{"rendered":"http:\/\/blog.5flor.ru\/?p=857"},"modified":"2018-12-21T19:18:35","modified_gmt":"2018-12-21T15:18:35","slug":"intel-amt-%d0%b8-linux","status":"publish","type":"post","link":"https:\/\/blog.5flor.ru\/?p=857","title":{"rendered":"Intel AMT \u0438 Linux"},"content":{"rendered":"<p>\u0438 \u0435\u0449\u0451 \u043e\u0431\u043d\u0430\u0440\u0443\u0436\u0438\u043b \u043e\u0441\u043e\u0431\u0435\u043d\u043d\u043e\u0441\u0442\u044c intel AMT dhcp \u0430\u0440\u0435\u043d\u0434\u0443 \u043d\u0430\u0434\u043e \u0434\u0430\u0432\u0430\u0442\u044c \u043d\u0430 30 \u043c\u0438\u043d\u0443\u0442 \u0438\u043b\u0438 \u0447\u0430\u0441.<\/p>\n<p>&nbsp;<\/p>\n<p>\u0414\u043b\u044f \u0442\u043e\u0433\u043e \u0447\u0442\u043e\u0431\u044b \u0437\u0430\u0440\u0430\u0431\u043e\u0442\u0430\u043b\u043e intel amt \u043d\u0443\u0436\u043d\u043e:<\/p>\n<p>\u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0443 :<\/p>\n<p>sudo apt-get install -y wsmancli<\/p>\n<pre>\u043f\u043e\u0442\u043e\u043c \u0441\u0444\u043e\u0440\u043c\u0438\u0440\u043e\u0432\u0430\u0442\u044c xml \u0438 \u043e\u0442\u043f\u0440\u0430\u0432\u0438\u0442\u044c \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u0432 amt\r\n\r\n# configure parameter\r\nexport AMT_HOST=192.168.254.10\r\nexport AMT_PASSWORD=Admin123$\r\nexport VNC_PASSWORD=P@ssw0rd\r\n\u00a0\r\n# set the vnc password\r\nwsman put http:\/\/intel.com\/wbem\/wscim\/1\/ips-schema\/1\/IPS_KVMRedirectionSettingData -h ${AMT_HOST} -P 16992 -u admin -p ${AMT_PASSWORD} -k RFBPassword=${VNC_PASSWORD}\r\n\u00a0\r\n# enable KVM redirection to port 5900\r\nwsman put http:\/\/intel.com\/wbem\/wscim\/1\/ips-schema\/1\/IPS_KVMRedirectionSettingData -h ${AMT_HOST} -P 16992 -u admin -p ${AMT_PASSWORD} -k Is5900PortEnabled=true\r\n\u043e\u0442\u043a\u0440\u044b\u0442\u0438\u0435 \u043f\u043e\u0440\u0442\u0430 \u0434\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b \u0447\u0435\u0440\u0435\u0437 VNC\r\n# disable opt-in policy\r\nwsman put http:\/\/intel.com\/wbem\/wscim\/1\/ips-schema\/1\/IPS_KVMRedirectionSettingData -h ${AMT_HOST} -P 16992 -u admin -p ${AMT_PASSWORD} -k OptInPolicy=false\r\n\u00a0\r\n# disable session timeout\r\nwsman put http:\/\/intel.com\/wbem\/wscim\/1\/ips-schema\/1\/IPS_KVMRedirectionSettingData -h ${AMT_HOST} -P 16992 -u admin -p ${AMT_PASSWORD} -k SessionTimeout=0\r\n\u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 \u0442\u0430\u0439\u043c\u0430\u0443\u0442\u0430 \u0434\u043b\u044f vnc \r\n# enable KVM\r\nwsman invoke -a RequestStateChange http:\/\/schemas.dmtf.org\/wbem\/wscim\/1\/cim-schema\/2\/CIM_KVMRedirectionSAP -h ${AMT_HOST} -P 16992 -u admin -p ${AMT_PASSWORD} -k RequestedState=2\r\n\u00a0\r\n# OPTIONAL: view settings\r\nwsman get http:\/\/intel.com\/wbem\/wscim\/1\/ips-schema\/1\/IPS_KVMRedirectionSettingData -h ${AMT_HOST} -P 16992 -u admin -p ${AMT_PASSWORD}\r\n\u00a0\r\n\u0437\u0430\u0442\u0435\u043c \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c vnc Viewer\r\necho $password | xtightvncviewer $AMT_HOST -bgr233 -autopass\r\n\r\n\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\u0438 \u0435\u0449\u0451 \u043e\u0431\u043d\u0430\u0440\u0443\u0436\u0438\u043b \u043e\u0441\u043e\u0431\u0435\u043d\u043d\u043e\u0441\u0442\u044c intel AMT dhcp \u0430\u0440\u0435\u043d\u0434\u0443 \u043d\u0430\u0434\u043e \u0434\u0430\u0432\u0430\u0442\u044c \u043d\u0430 30 \u043c\u0438\u043d\u0443\u0442 \u0438\u043b\u0438 \u0447\u0430\u0441. &nbsp; \u0414\u043b\u044f \u0442\u043e\u0433\u043e \u0447\u0442\u043e\u0431\u044b \u0437\u0430\u0440\u0430\u0431\u043e\u0442\u0430\u043b\u043e intel amt \u043d\u0443\u0436\u043d\u043e: \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0443 : sudo apt-get install -y wsmancli \u043f\u043e\u0442\u043e\u043c \u0441\u0444\u043e\u0440\u043c\u0438\u0440\u043e\u0432\u0430\u0442\u044c xml \u0438 \u043e\u0442\u043f\u0440\u0430\u0432\u0438\u0442\u044c \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u0432 amt # &hellip; <a href=\"https:\/\/blog.5flor.ru\/?p=857\">\u0427\u0438\u0442\u0430\u0442\u044c \u0434\u0430\u043b\u0435\u0435 <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3,1,9,11],"tags":[],"class_list":["post-857","post","type-post","status-publish","format-standard","hentry","category-linux","category-1","category-9","category-11"],"_links":{"self":[{"href":"https:\/\/blog.5flor.ru\/index.php?rest_route=\/wp\/v2\/posts\/857"}],"collection":[{"href":"https:\/\/blog.5flor.ru\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.5flor.ru\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.5flor.ru\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.5flor.ru\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=857"}],"version-history":[{"count":0,"href":"https:\/\/blog.5flor.ru\/index.php?rest_route=\/wp\/v2\/posts\/857\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.5flor.ru\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=857"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.5flor.ru\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=857"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.5flor.ru\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=857"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}