ipmiTool给出"Authentication type NONE not supported"



>我正在从 ubuntu 12.04 执行以下命令并得到错误

ipmitool -H 192.168.0.254 -U 根 -P 根用户列表
身份验证类型不受支持
不支持身份验证类型 无
错误:无法建立局域网会话
获取用户访问命令失败(通道 14,用户 1(

我启用了详细选项并具有以下输出

ipmitool -H 192.168.0.254 -U root -P root user list -vvv
ipmi_lan_send_cmd:opened=[0], open=[134852928]
IPMI LAN host 192.168.0.254 port 623
Sending IPMI/RMCP presence ping packet
send_packet (12 bytes)
06 00 ff 06 00 00 11 be 80 00 00 00
recv_packet (27 bytes)
06 00 ff 06 00 00 11 be 40 00 10 00 00 11 be 00
00 00 00 81 00 00 00 00 00 00 00
Received IPMI/RMCP response packet: 
IPMI NOT Supported
ASF Version unknown
RMCP Version 1.0
RMCP Sequence 255
IANA Enterprise 1162752
ipmi_lan_send_cmd:opened=[1], open=[134852928]
>> IPMI Request Session Header
>>   Authtype   : NONE
>>   Sequence   : 0x00000000
>>   Session ID : 0x00000000
>> IPMI Request Message Header
>>   Rs Addr    : 20
>>   NetFn      : 06
>>   Rs LUN     : 0
>>   Rq Addr    : 81
>>   Rq Seq     : 00
>>   Rq Lun     : 0
>>   Command    : 38
send_packet (23 bytes)
06 00 ff 07 00 00 00 00 00 00 00 00 00 09 20 18
c8 81 00 38 0e 04 35
recv_packet (30 bytes)
06 00 ff 07 00 00 00 00 00 00 00 00 00 10 81 1c
63 20 00 38 00 01 80 18 02 a2 02 00 00 69
ipmi message header (30 bytes)
06 00 ff 07 00 00 00 00 00 00 00 00 00 10 81 1c
 63 20 00 38 00 01 80 18 02 a2 02 00 00 69
<< IPMI Response Session Header
<<   Authtype   : NONE
<<   Sequence   : 0x00000000
<<   Session ID : 0x00000000
<< IPMI Response Message Header
<<   Rq Addr    : 81
<<   NetFn      : 07
<<   Rq LUN     : 0
<<   Rs Addr    : 20
<<   Rq Seq     : 00
<<   Rs Lun     : 0
<<   Command    : 38
<<   Compl Code : 0x00
get_auth_capabilities (8 bytes)
 01 80 18 02 a2 02 00 00
Channel 01 Authentication Capabilities:
  Privilege Level : ADMINISTRATOR
  Auth Types      : 
  Per-msg auth    : disabled
  User level auth : disabled
  Non-null users  : disabled
  Null users      : disabled
  Anonymous login : disabled
Authentication type NONE not supported
ipmi_lan_send_cmd:opened=[1], open=[134852928]
>> IPMI Request Session Header
>>   Authtype   : NONE
>>   Sequence   : 0x00000000
>>   Session ID : 0x00000000
>> IPMI Request Message Header
>>   Rs Addr    : 20
>>   NetFn      : 06
>>   Rs LUN     : 0
>>   Rq Addr    : 81
>>   Rq Seq     : 01
>>   Rq Lun     : 0
>>   Command    : 38
send_packet (23 bytes)
 06 00 ff 07 00 00 00 00 00 00 00 00 00 09 20 18
 c8 81 04 38 0e 04 31
recv_packet (30 bytes)
 06 00 ff 07 00 00 00 00 00 00 00 00 00 10 81 1c
 63 20 04 38 00 01 80 18 02 a2 02 00 00 65
ipmi message header (30 bytes)
 06 00 ff 07 00 00 00 00 00 00 00 00 00 10 81 1c
 63 20 04 38 00 01 80 18 02 a2 02 00 00 65
<< IPMI Response Session Header
<<   Authtype   : NONE
<<   Sequence   : 0x00000000
<<   Session ID : 0x00000000
<< IPMI Response Message Header
<<   Rq Addr    : 81
<<   NetFn      : 07
<<   Rq LUN     : 0
<<   Rs Addr    : 20
<<   Rq Seq     : 01
<<   Rs Lun     : 0
<<   Command    : 38
<<   Compl Code : 0x00
get_auth_capabilities (8 bytes)
 01 80 18 02 a2 02 00 00
Channel 01 Authentication Capabilities:
  Privilege Level : ADMINISTRATOR
  Auth Types      : 
  Per-msg auth    : disabled
  User level auth : disabled
  Non-null users  : disabled
  Null users      : disabled
  Anonymous login : disabled
Authentication type NONE not supported
Error: Unable to establish LAN session
Failed to open LAN interface
Get User Access command failed (channel 14, user 1)

谁能告诉我如何解决这个问题?

请使用 -I lanplus,例如:

ipmitool -I lanplus -H 192.168.0.254 -U root -P root user list

我通过告诉 IPMI IPMI 应该显式使用哪些身份验证方法来解决问题:

ipmitool lan set 1 auth $username MD5,PASSWORD

如果无法从远程位置连接,则只能在本地执行此命令

相关内容

最新更新