From 562dadea9ed80822979d20b155d0774fa9a18415 Mon Sep 17 00:00:00 2001 From: ma Date: Mon, 13 Jun 2022 16:11:04 +0200 Subject: [PATCH] add ipmitool --- sheets/ipmitool | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 sheets/ipmitool diff --git a/sheets/ipmitool b/sheets/ipmitool new file mode 100644 index 0000000..66666c3 --- /dev/null +++ b/sheets/ipmitool @@ -0,0 +1,26 @@ +# ipmitool +# ipmi configuration and remote client +# +# Connect IPMI/BMC board via lan +ipmitool -I lanplus -U USER -a -H ADDR + +# Check power status +ipmitool -I lanplus -U USER -a -H ADDR chassis power status + +# Power on system +ipmitool -I lanplus -U USER -a -H ADDR chassis power on + +# Configure local IPMI board with static IP Address +ipmitool lan set 1 ipsrc static +ipmitool lan set 1 ipaddr ADDR +ipmitool lan set 1 netmask 255.255.255.0 +ipmitool lan set 1 defgw ipaddr GATEWAYW_ADDR + +# Show configuration for first configured LAN interface +ipmitool lan print 1 + +# Configure access to channel with admin rights +ipmitool user set name 2 admin +ipmitool user set password 2 +ipmitool channel setaccess 1 2 link=on ipmi=on callin=on privilege=4 +ipmitool user enable 2