This is to modify the BMC IPMI LAN interface from the operating system, so we
don’t have to reboot into the BIOS interface to modify the configuration.
First, find the LAN interface by iterating through the channels until it prints
something other than an error (here my channel is 1):
# i=0 # until ipmitool lan print $i; do i=$(( i + 1)); done # echo $i 1
Then change the network configuration:
# ipmitool lan set 1 ipsrc static # ipmitool lan set 1 ipaddr 192.168.228.76 # ipmitool lan set 1 netmask 255.255.255.0 # ipmitool lan set 1 vlan 1024
Test from a remote host with (ADMIN/ADMIN was the factory default):
ipmitool -I lan -H 192.168.228.76 -U ADMIN -P ADMIN sel list
To change the password, first find the users for this channel
ipmitool user set password 2 FOO
and make sure you test that it worked…