以Fedora release 9 系统为例
加载ipmi驱动模块
modprobe ipmi_msghandler modprobe ipmi_devintf modprobe ipmi_si modprobe ipmi_poweroff modprobe ipmi_watchdog
linux下载ipmitool工具
wget https://downloads.sourceforge.net/project/ipmitool/ipmitool/1.8.18/ipmitool-1.8.18.tar.bz2 tar -jxf ipmitool-1.8.18.tar.bz2 cd ipmitool-1.8.18 ./configure --prefix=/usr/local/dellipmi make make install ln -sf /usr/local/dellipmi/bin/ipmitool /usr/sbin/ipmitool
显示IPMI网络设置
ipmitool lan print
显示IPMI用户
ipmitool user list 1
设置ID位2的用户密码位123456
ipmitool user set password 2 "123456"
设置IPMI通道1的IP地址
ipmitool lan set 1 defgw ipaddr 192.168.3.3
设置IPMI通道1的子网掩码
ipmitool lan set 1 netmask 255.255.255.224
设置IPMI通道1的网关
ipmitool lan set 1 ipaddr 192.168.3.1
设置完成
时间: 2024-10-12 00:12:08