Coder Social home page Coder Social logo

jviewer-starter's Introduction

jviewer-starter

Auto download Java Web Start jars for remote console access rather than deal with javaws security warnings and making java work in your web browser. This has saved me a lot of time, hopefull it helps other folks. Works on all American Megatrends Incorporated BIOS systems that I have used. 90% of the time, you need to reboot the BMC before there's any chance of Java app to work. If the Java app does start, but the screen is blank, you might just need to wait a minute. Hit enter a few times and wait a minute, the console will hopefully appear.

Usage

You can either use the shell script "jviewer" which tries to be smart and reboot the BMC if needed before connecting. Or just use the main program: "jviewer-starter.py".

jviewer <ipmi-ip-address> 

Assumes that you did not change default admin password of "admin".

If the java program starts up, but then immeditally says 'Connection Failed' the BMC is in a bad state. To fix it either power cycle the whole server or just reset the BMC card with:

bmc-reset.sh <ipmi-hostname>

Requirements

  • Java 8. Version 10 has issues for some BMC versions. OpenJDK OK.
  • python3: brew install python
    • requests: pip3 install requests
  • FreeIPMI: brew install freeipmi
  • nc: Installed in base OS
  • Mac only
    • brew tap caskroom/versions
    • brew cask install java8
    • brew cask install xquartz
    • brew install coreutils

jviewer-starter's People

Contributors

estecker avatar

Stargazers

Chris Simons avatar

Watchers

 avatar

Forkers

lenz

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.