2017-03-17 11:16:19 -04:00
|
|
|
# rpibmc
|
2017-03-31 02:08:35 -04:00
|
|
|
A BMC (LOM) created with a Raspberry Pi.
|
|
|
|
|
2017-03-31 02:12:20 -04:00
|
|
|
Allows one to build a Raspberry Pi-based BMC unit for an IPMI-less server. The
|
2017-03-31 02:12:43 -04:00
|
|
|
Raspbian system must include the package `screen` and (via `pip`) the Python
|
2017-03-31 02:12:20 -04:00
|
|
|
libraries `python-daemon` and `raspberry-gpio-python` (installed by default).
|
2017-03-31 02:08:35 -04:00
|
|
|
|
|
|
|
There are three main files:
|
2017-03-31 02:09:04 -04:00
|
|
|
|
2017-03-31 02:08:35 -04:00
|
|
|
1) `bmcd` - BMC Daemon
|
2017-03-31 02:09:04 -04:00
|
|
|
|
2017-03-31 02:08:35 -04:00
|
|
|
Runs in the background of the system and handles reading and writing GPIO.
|
2017-03-31 02:09:04 -04:00
|
|
|
|
2017-03-31 02:08:35 -04:00
|
|
|
2) `bmc.sh` - The BMC shell
|
2017-03-31 02:09:04 -04:00
|
|
|
|
2017-03-31 02:08:35 -04:00
|
|
|
Should be set as the default shell of the login user (`bmc`) and provides
|
|
|
|
user interface to the BMC.
|
2017-03-31 02:09:21 -04:00
|
|
|
|
2017-03-31 02:08:35 -04:00
|
|
|
3) `rc.local` - The rc.local file
|
2017-03-31 02:09:04 -04:00
|
|
|
|
2017-03-31 02:08:35 -04:00
|
|
|
The system `rc.local` should be replaced (or symlinked) to this file to start
|
|
|
|
the `bmcd` daemon and `screen` console session on boot.
|
|
|
|
|