The IBM Remote Supervisor Adapter

In a hurry; will write more later.

The IBM Remove Supervisor Adapter is a nifty piece of hardware, but its remote keyboard/mouse function uses a proprietary protocol, and the only client is a java applet that has problems with many modern browsers. Here's how to run the client directly from the command line:

This tutorial assumes that your service processor is gentzen-sp.megacz.com (mine is).

export SP=gentzen-sp.megacz.com
export USER=root

First, download mcs.jar. If you don't have https enabled, drop the -k and change https to http.

curl -k -O https://$SP/private/mcs.jar

Then, create a policy file. Here, you'll need to

cat > policy <<\EOF
grant {
  permission java.net.SocketPermission "*", "connect";
  permission java.net.SocketPermission "*", "resolve";
  permission java.net.SocketPermission "*", "accept";
  permission java.util.PropertyPermission "*", "read";
  permission java.io.FilePermission "${user.home}/-", "read, write";
};
EOF

Finally, create your html file. Don't forget to change $SP to the name of your service processor and megacz to the username you use when logging in to your service processor.

cat > mcs.html <<EOF
<html>
<applet code="mcsClient.McsClient"
        archive="mcs.jar"
        width="1120"
        height="815">
  <param name="host" value="$SP:2000">
  <param name="userid" value="$USER">
  <param name="ac" value="">
  <param name="enc" value="off">
</applet>
</html>
EOF

FIXME: show them how to grab the ac field.

Finally, launch it:

appletviewer -J-Djava.security.policy=policy file://`pwd`/mcs.html

Apparently this won't work with Java 1.6 or later. Lame.