• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

bmc-device/H03-May-2022-4,9094,204

bmc-info/H03-May-2022-2,6182,125

bmc-watchdog/H03-May-2022-3,1122,578

common/H03-May-2022-36,11526,154

config/H20-May-2021-34,96629,677

contrib/H03-May-2022-4,1633,141

doc/H03-May-2022-2,9272,409

etc/H03-May-2022-4,5381,289

ipmi-chassis/H03-May-2022-3,2892,774

ipmi-config/H03-May-2022-38,74130,707

ipmi-dcmi/H03-May-2022-3,8193,066

ipmi-fru/H03-May-2022-5,5044,600

ipmi-locate/H03-May-2022-1,5461,268

ipmi-oem/H03-May-2022-34,13726,050

ipmi-pet/H03-May-2022-3,5922,927

ipmi-raw/H03-May-2022-1,6041,301

ipmi-sel/H03-May-2022-4,2533,464

ipmi-sensors/H03-May-2022-10,1487,926

ipmiconsole/H03-May-2022-1,7711,421

ipmidetect/H03-May-2022-1,5501,165

ipmidetectd/H03-May-2022-2,0191,501

ipmiping/H03-May-2022-1,2681,071

ipmipower/H03-May-2022-12,5859,271

ipmiseld/H03-May-2022-5,1823,920

libfreeipmi/H03-May-2022-228,889186,830

libipmiconsole/H03-May-2022-17,65313,089

libipmidetect/H03-May-2022-1,8961,546

libipmimonitoring/H03-May-2022-9,2407,632

man/H03-May-2022-14,31713,434

rmcpping/H03-May-2022-1,062885

AUTHORSH A D10-Feb-20211.7 KiB5851

COPYINGH A D10-Feb-202134.3 KiB675553

COPYING.ZRESEARCHH A D10-Feb-202134.3 KiB675553

COPYING.bmc-watchdogH A D10-Feb-202134.3 KiB675553

COPYING.ipmi-dcmiH A D10-Feb-202134.3 KiB675553

COPYING.ipmi-fruH A D10-Feb-202134.3 KiB675553

COPYING.ipmiconsoleH A D10-Feb-202134.3 KiB675553

COPYING.ipmidetectH A D10-Feb-202134.3 KiB675553

COPYING.ipmimonitoringH A D10-Feb-202134.3 KiB675553

COPYING.ipmipingH A D10-Feb-202134.3 KiB675553

COPYING.ipmipowerH A D10-Feb-202134.3 KiB675553

COPYING.ipmiseldH A D10-Feb-202134.3 KiB675553

COPYING.pstdoutH A D10-Feb-202134.3 KiB675553

COPYING.sunbmcH A D10-Feb-20211.6 KiB3629

ChangeLogH A D20-May-2021713.2 KiB22,85414,924

ChangeLog.0H A D10-Feb-202144.6 KiB1,481921

DISCLAIMER.bmc-watchdogH A D10-Feb-20211.3 KiB2521

DISCLAIMER.bmc-watchdog.UCH A D10-Feb-20212.2 KiB4637

DISCLAIMER.ipmi-dcmiH A D10-Feb-20211.3 KiB2521

DISCLAIMER.ipmi-fruH A D10-Feb-20211.3 KiB2521

DISCLAIMER.ipmi-fru.UCH A D10-Feb-20212.2 KiB4738

DISCLAIMER.ipmiconsoleH A D10-Feb-20211.3 KiB2521

DISCLAIMER.ipmiconsole.UCH A D10-Feb-20212.2 KiB4637

DISCLAIMER.ipmidetectH A D10-Feb-20211.3 KiB2521

DISCLAIMER.ipmidetect.UCH A D10-Feb-20212.2 KiB4637

DISCLAIMER.ipmimonitoringH A D10-Feb-20211.3 KiB2521

DISCLAIMER.ipmimonitoring.UCH A D10-Feb-20212.2 KiB4738

DISCLAIMER.ipmipingH A D10-Feb-20211.3 KiB2521

DISCLAIMER.ipmiping.UCH A D10-Feb-20212.2 KiB4637

DISCLAIMER.ipmipowerH A D10-Feb-20211.3 KiB2521

DISCLAIMER.ipmipower.UCH A D10-Feb-20212.1 KiB4637

DISCLAIMER.ipmiseldH A D10-Feb-20211.3 KiB2521

DISCLAIMER.pstdoutH A D10-Feb-20211.3 KiB2521

DISCLAIMER.pstdout.UCH A D10-Feb-20212.2 KiB4738

INSTALLH A D10-Feb-20219.3 KiB237179

Makefile.amH A D10-Feb-20211.5 KiB9381

Makefile.inH A D20-May-202132.3 KiB1,023920

NEWSH A D20-May-2021110.9 KiB2,5982,437

READMEH A D10-Feb-20218.8 KiB275191

README.argpH A D10-Feb-2021240 75

README.buildH A D10-Feb-20213.4 KiB10871

README.openipmiH A D10-Feb-2021528 2618

TODOH A D10-Feb-202114.4 KiB405348

aclocal.m4H A D20-May-202146.9 KiB1,3111,191

configureH A D03-May-2022512.8 KiB17,78814,694

configure.acH A D20-May-202124.3 KiB773692

freeipmi.specH A D20-May-202118.4 KiB605527

freeipmi.spec.inH A D20-May-202118.4 KiB605545

README

1FreeIPMI - Copyright (C) 2003-2015 FreeIPMI Core Team
2
3FreeIPMI
4--------
5
6FreeIPMI provides in-band and out-of-band IPMI software based on the
7IPMI v1.5/2.0 specification.
8
9What is IPMI?
10-------------
11
12The IPMI specification defines a set of interfaces for platform
13management.  It is utilized by a wide variety of vendors for system
14management on motherboards.  The features of IPMI that most users will
15be interested in are sensor monitoring, remote power control,
16serial-over-LAN (SOL), and system debugging.  The FreeIPMI tools and
17libraries listed below should provide users with the ability to access
18and utilize these features.
19
20Getting Started with IPMI
21-------------------------
22
23IPMI can be used in-band (i.e. running on a machine locally) or
24out-of-band (i.e. connecting remotely).
25
26Most FreeIPMI tools can operate in-band by using one of the in-band
27drivers included.  These in-band drivers include a userspace KCS
28interface driver, a SSIF driver through the Linux SSIF device
29(i.e. /dev/i2c-0), the OpenIPMI Linux kernel driver (i.e. /dev/ipmi0),
30the Sun/Solaris BMC driver (i.e. /dev/bmc), and the Intel DCMI/MEI
31driver (i.e. /dev/dcmi).  If your system requires the use of installed
32drivers, those appropriate modules must be installed ahead of time.
33However, most systems should automatically load these drivers when
34appropriate.
35
36Under most scenarios, the FreeIPMI tools should automatically discover
37which in-band interface to use and the proper settings to use.  Users
38may execute the tools on the command line to begin using them.  Some
39motherboards may require you to determine driver type, addresses,
40paths, etc. on your own and pass them as command line options to the
41tools.  You may use ipmi-locate(8) to help determine this information.
42Other tools such as dmidecode(8) may also provide this information.
43
44To use IPMI out-of-band with tools such as ipmipower(8) or
45ipmi-sensors(8), the remote machine's BMC must first be configured for
46out of band communication.  Typically, this involves setting a
47username, password, IP address, MAC address, and a few other
48parameters.  This can be done using the tool ipmi-config(8).
49Additional information on how to configure with ipmi-config(8) can be
50found in the ipmi-config.conf(5) manpage.  Some vendors may
51pre-configure their motherboards with default values so that
52ipmi-config(8) can be used remotely to configure the machine.  However,
53most of the time, the BMC must be configured in-band before
54out-of-band access can be allowed (for example, the correct IP address
55and MAC address must be configured).
56
57In order to remotely connect to a machine, you typically must specify
58the host, username, and password for the tool in order to connect.
59Depending on configuration settings, a K_g key, privilege level,
60authentication type, cipher suite id, or protocol version may need to
61be specified.
62
63Some vendors may have not implemented IPMI properly and a workaround
64must be specified into FreeIPMI to ensure the tool can execute
65properly.  For example, a fair number of vendors have populated their
66FRU records with invalid checksums.  To properly ignore these set of
67checksums a 'skipchecks' workaround has been added to ipmi-fru(8).
68Please see each of the tool manpages to see a list of available
69workarounds.
70
71Additional information, examples, and general trouble-shooting can be
72found in each of the tool manpages.
73
74General Use
75-----------
76
77The primary tools that most users of FreeIPMI will be interested in
78for system management are the following:
79
80ipmi-sensors
81
82A tool to read IPMI sensor readings to aid in system monitoring.
83
84ipmi-sel
85
86A tool to read and manage IPMI System Event Log (SEL) records to aid
87in system debugging.
88
89ipmipower
90
91A tool for remote power control.
92
93ipmiconsole
94
95A tool for Serial-over-Lan (SOL) console access.
96
97Many other tools and libraries are listed below that cover additional
98features and areas of IPMI.
99
100Additional information, examples, and general trouble-shooting can be
101found in each of the tool manpages.
102
103Configuration
104-------------
105
106In order to avoid typing in a long list of command line options to
107specify IPMI communication requirements every time a command is
108executed (e.g. driver paths, usernames, passwords, etc.), an
109alternate set of default values can be set for most FreeIPMI
110tools in the FreeIPMI configuration file.  See freeipmi.conf(5)
111for more information.
112
113HPC Support
114-----------
115
116Much of FreeIPMI was written with HPC support in mind.  Ipmi-config(8)
117comes with file input/output support so that configuration can be
118copied and verified across nodes in a cluster.  Most tools (like
119ipmipower(8) and ipmi-sensors(8)) come with hostrange support so
120multiple hosts can be specified on the command line at the same time
121and IPMI can be executed against the hosts in parallel.  See tool
122manpages for more information.  Also see the document
123freeipmi-hostrange.txt for detailed usage and explanation.
124Ipmi-sensors(8) and the libipmimonitoring(3) library support the
125ability to interpret sensor readings as well as just reporting them.
126By mapping sensor readings into NOMINAL, WARNING, or CRITICAL states,
127it makes monitoring sensors easier across large numbers of nodes.
128
129Development
130-----------
131
132For information on the libraries that can be used to program IPMI
133applications with, please see, please see libfreeipmi(3),
134libipmiconsole(3), libipmimonitoring(3), and libipmidetect(3).  Or
135see the document freeipmi-libraries.txt.
136
137Project Tools
138-------------
139
140The following tools are distributed and supported by FreeIPMI.
141
142bmc-info
143
144A tool to read information about a BMC such as device version numbers,
145device support, and globally unique IDs (guids).
146
147bmc-watchdog
148
149A tool/daemon to manage a BMC Watchdog. This tool is typically used
150for system timeout management and automatic system restarts in the
151event of a system crash.
152
153ipmi-chassis
154
155A tool to manage/monitor a chassis, such as chassis power,
156identification (i.e. LED control), and status.
157
158ipmi-fru
159
160A tool to read field replaceable unit (FRU) information from a
161motherboard/machine.
162
163ipmi-sel
164
165A tool to read and manage IPMI System Event Log (SEL) records.  SEL
166records store system event information and may be useful for debugging
167problems.
168
169ipmi-sensors
170
171A tool to read IPMI sensor readings and sensor data repository (SDR)
172information.
173
174ipmipower
175
176A tool for remote power control.
177
178ipmiconsole
179
180A tool for Serial-over-Lan (SOL) console access.
181
182ipmi-config
183
184A tool to configure BMC and IPMI information.  In can be used to
185configured usernames, passwords, networking information, security,
186Serial-over-LAN (SOL), Platform Event Filtering (PEF), boot devices,
187power restoration policy, sensor thresholds, sensor events, and many
188more configuration options.
189
190ipmi-raw
191
192A tool that provides hex input/output of IPMI commands.
193
194ipmi-locate
195
196A tool that can probe for information about the location of a BMC
197device, such as device addresses.
198
199ipmi-pet
200
201A tool to parse and interpret Platform Event Traps (PET).
202
203ipmi-dcmi
204
205A tool to perform Data Center Manageability Interface (DCMI) IPMI
206extension commands.  Supports extensions for asset management and
207power usage management.
208
209bmc-device
210
211A tool to perform advanced BMC commands, such as resetting the BMC,
212configuring ACPI, configuring SDR/SEL time, manually generating
213events, re-arming sensors, and configuring manufacturer settings.
214
215ipmiping
216
217An IPMI ping tool for debugging.
218
219rmcpping
220
221A RMCP ping tool for debugging.
222
223ipmi-oem
224
225An IPMI tool for OEM specific commands.
226
227ipmidetect/ipmidetectd
228
229A tool and daemon for IPMI node detection.
230
231ipmiseld
232
233A daemon that regularly polls the SEL and stores the events to the
234local syslog.
235
236Additional information, examples, and general trouble-shooting can be
237found in each of the tool manpages.
238
239Project Libraries
240-----------------
241
242The following libraries are distributed and supported by FreeIPMI.
243
244libfreeipmi
245
246A C library that includes KCS, SSIF, OpenIPMI Linux, and Solaris BMC
247drivers, IPMI 1.5 and IPMI 2.0 LAN communication interfaces, IPMI
248packet building utilities, IPMI command utilities, and utilities for
249reading/interpreting/managing IPMI.  This library is for programmers
250intimately familiar with the IPMI protocol and IPMI specification.
251Most users may wish to use the libraries listed below.
252
253libipmiconsole
254
255A library for Serial-over-Lan (SOL) console access.  SOL console
256access is abstracted into a file descriptor interface, so users may
257read and write console data through a file descriptor.
258
259libipmimonitoring
260
261A library for sensor and system event log (SEL) monitoring that
262abstracts away most IPMI details.  Interpretation of those sensors and
263events is abstracted into an API with an iterator interface.
264
265libipmidetect
266
267A library for IPMI node detection.
268
269Help, Questions, etc.
270---------------------
271
272Please send comments, help, and questions to the freeipmi mailing
273lists, freeipmi-users@gnu.org and freeipmi-devel@gnu.org.  Or see
274our webpage at http://www.gnu.org/software/freeipmi/.
275

README.argp

1Local FreeIPMI argp modified from argp-standalone-1.3.  Many
2configure.ac autoconfing for the local argp library taken from
3argp-standalone as well.
4
5argp-standalone taken from glibc from Neil Moller.
6http://www.lysator.liu.se/~nisse/misc/
7

README.build

1Building/Install from source
2----------------------------
3
4The instructions below (modified from the INSTALL file) should
5work for most people.
6
7  1. `cd' to the directory containing the package's source code and type
8     `./configure' to configure the package for your system.
9
10     Running `configure' takes awhile.  While running, it prints some
11     messages telling which features it is checking for.  If your system
12     requires additional packages and/or libraries in order for FreeIPMI
13     to be built, appropriate messages should be displayed.  These
14     packages and/or libraries should be installed and `./configure' should
15     be executed again.
16
17  2. Once `./configure' has succeeded, type `make' to compile the
18     package.
19
20  3. Type `make install' to install the programs and any data files and
21     documentation.
22
23     You may need to be root in order for files to be installed into
24     the proper locations on your system.
25
26By default files will typically be installed in /usr/local (binaries
27in /usr/local/bin, libraries in /usr/local/lib, configuration files in
28/usr/local/etc/, etc.).  To install into the more common locations
29such as /usr/bin, /usr/lib/, /etc, etc. the options passed into
30`./configure' must be adjusted.
31
32The following set of options and settings are suitable for most Linux
33systems.
34
35--prefix=/usr --exec-prefix=/usr --sysconfdir=/etc
36--localstatedir=/var --mandir=/usr/share/man
37
38Your mileage may vary depending on your system.
39
40If you install the binaries or libraries in non-standard locations
41(e.g. /usr/local or /opt), you may have to update other system
42configuration to find the files and libraries.  For example, in Linux
43you may need to update your PATH or LD_LIBRARY_PATH environment
44variables.  Or you may need to update your /etc/ld.so.conf files and
45run ldconfig(8) to find libraries globally.  This is highly dependent
46on your operating system.
47
48Building RPMs
49-------------
50
51For most people you can build RPMs one of two ways.
52
53From the source:
54
55rpmbuild -ta freeipmi-X.Y.Z.tar.gz
56
57From the source rpm:
58
59rpmbuild --rebuild freeipmi-X.Y.Z-1.src.rpm
60
61Depending on your default RPM build environment, you may need to be root
62in order for RPMs to be stored in the default locations.
63
64After the RPMs are built, you may install them the normal way:
65
66rpm -i freeipmi-X.Y.Z.ARCH.rpm
67
68Additional configure options
69----------------------------
70
71The following configure options are available to users for more unique
72compilation requirements and environments.
73
74--without-encryption
75
76This option disables compilation of encryption support in FreeIPMI.
77Most notably, this disables encryption support when doing out of band
78IPMI 2.0 communication.
79
80This option may be particularly useful in embedded environments that
81do not have the libraries needed to compile encryption support.
82
83--with-dont-check-for-root
84
85When running tools inband, root access is normally required.  In some
86systems, this may not be desired.  This options removes the check for
87root access in FreeIPMI tools.
88
89--without-random-device
90
91This option disables checks and use of /dev/urandom and /dev/random.
92This may be required for embededded systems without these devices.
93
94--with-pkgconfig-dir
95
96This option can configure an alternate default pkgconfig directory.
97
98--with-bmc-watchdog-logfile
99
100This option can configure an alternate default bmc-watchdog log
101directory.
102
103--with-ipmi-monitoring-sdr-cache-dir
104
105This option can configure an alternate default libipmimonitoring SDR
106cache directory.
107
108

README.openipmi

1The Linux OpenIPMI driver is often loaded via the /etc/init.d/ipmi
2setup script.  If your distribution/environment does not have this
3script, the following script can be used to load/unload the driver.
4
5#!/bin/sh
6
7/sbin/modprobe ipmi_devintf
8
9maj=`cat /proc/devices | awk '/ipmidev/{print $1}'`
10if [ -c /dev/ipmi0 ]
11then
12   rm -f /dev/ipmi0
13   /bin/mknod /dev/ipmi0 c $maj 0
14else
15   /bin/mknod /dev/ipmi0 c $maj 0
16fi
17
18/sbin/modprobe ipmi_si
19
20# do stuff
21
22/sbin/rmmod ipmi_si
23/sbin/rmmod ipmi_devintf
24/sbin/rmmod ipmi_msghandler
25
26