Giter Site home page Giter Site logo

rpibmc's Introduction

RPiBMC

ARCHIVED: I no longer use this project, having never gotten the RS232 serial portion to work right, and then replacing the old BMC-less server motherboards I created this for with IPMI-capable ones back in 2019. As I no longer have any need or interest in this project, please consider it obsolete.

If you're looking for a modern replacement, check out https://www.pikvm.org/ which does all the things I wanted this to do, far far better than I could.


A BMC (LOM) created with a Raspberry Pi.

Allows one to build a Raspberry Pi-based BMC unit for an IPMI-less server. The Raspbian system must include the package screen and (via pip) the Python libraries python-daemon and raspberry-gpio-python (installed by default).

More information can be found here: https://www.boniface.me/post/a-raspberry-pi-bmc/

There are three main files:

  1. bmcd - BMC Daemon

    Runs in the background of the system and handles reading and writing GPIO.

  2. bmc.sh - The BMC shell

    Should be set as the default shell of the login user (bmc) and provides user interface to the BMC.

  3. rc.local - The rc.local file

    The system rc.local should be replaced (or symlinked) to this file to start the bmcd daemon and screen console session on boot.

rpibmc's People

Contributors

joshuaboniface avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

rpibmc's Issues

Missing Files and Permission Denied

Thanks for providing this tool. I'm excited to get it working correctly and use it.

I'm having an issue when trying to run it. When I first connect to the bmc user via SSH, this displays:

cat: /etc/bmchost: No such file or directory
cat: /run/bmcd/bmcd.state: No such file or directory

When I try running any of the commands, the following example of power is what displays:

[bmc01]> power
Pressing power switch.
/bin/bmc.sh: line 75: /run/bmcd/bmcd.cmd: Permission denied
cat: /run/bmcd/bmcd.state: No such file or directory
Host state: Off

I have changed all three main files permissions by adding them to the group sudo instead of root. That did not seem to fix what I am seeing above though.

Please let me know what I can troubleshoot or test to help get things working.

Thanks again!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.