FreeBSD IPMI

Posted by: Brad Waite

Tagged in: Untagged 

kldload ipmi or build into kernel to have local access.

To check server event log:
ipmitool sel info

To access remote IPMI server:
-I lan -H [0.0.0.0]

To print channel info for channel 6:
ipmitool channel info 6

To print lan config on channel 7:
ipmitool lan print 7

This set the authentication types on channel 7:
ipmitool lan set 7 auth CALLBACK NONE,MD2,MD5,PASSWORD
ipmitool lan set 7 auth USER NONE,MD2,MD5,PASSWORD
ipmitool lan set 7 auth OPERATOR MD2,MD5
ipmitool lan set 7 auth ADMIN MD2,MD5

This clears out the IPMI on channel 6
ipmitool lan set 6 ipaddr 0.0.0.0
ipmitool lan set 6 netmask 255.255.255.0
ipmitool lan set 6 defgw ipaddr 0.0.0.0
ipmitool lan set 6 ipsrc static
ipmitool lan set 6 snmp public
ipmitool lan set 6 user

ipmitool lan set 7 ipaddr 10.0.0.1
ipmitool lan set 7 netmask 255.255.255.128
ipmitool lan set 7 defgw ipaddr 10.0.0.254
ipmitool lan set 7 ipsrc static
ipmitool lan set 7 snmp public
ipmitool lan set 7 user

 

Comments (0)Add Comment

Write comment
You must be logged in to post a comment. Please register if you do not have an account yet.

busy