Ipmitool: Porovnání verzí

Z wiki
Skočit na navigaci Skočit na vyhledávání
založena nová stránka s textem „The following example will show how to configure IPMI on a Linux server. The /dev/ipmi0 device file must exist so that configuration can be carried out. If it does not exist, you should install official package: <pre>apt install ipmitool</pre> Static IP <pre>ipmitool lan set 1 ipsrc static</pre> Set IP addr <pre>ipmitool lan set 1 ipaddr xxx.yyy.zzz.yyy</pre> Set net mask <pre>ipmitool lan set 1 netmask 255.255.254.0</pre> Set gateway <pre>ipmitoo…“
 
Bez shrnutí editace
 
Řádek 31: Řádek 31:
Print LAN options
Print LAN options
<pre>ipmitool lan print 1</pre>
<pre>ipmitool lan print 1</pre>
[[Category:Linux]]

Aktuální verze z 17. 2. 2026, 12:06

The following example will show how to configure IPMI on a Linux server. The /dev/ipmi0 device file must exist so that configuration can be carried out. If it does not exist, you should install official package:

apt install ipmitool

Static IP

ipmitool lan set 1 ipsrc static

Set IP addr

ipmitool lan set 1 ipaddr xxx.yyy.zzz.yyy

Set net mask

ipmitool lan set 1 netmask 255.255.254.0

Set gateway

ipmitool lan set 1 defgw ipaddr 172.16.140.1

Set pwd for usr 2

ipmitool user set password 2 pwd

Enable usr 2

ipmitool user enable 2

Disable usr 3

ipmitool user disable 3

LAN mode dedicated

ipmitool raw 0x30 0x70 0x0c 1 0

LAN mode onboard/shared

ipmitool raw 0x30 0x70 0x0c 1 1

Print LAN options

ipmitool lan print 1