Mesh/Build server

Revision as of 19:44, 28 October 2014 by Juul (talk | contribs)

We use the build server to build firmwares. It is turned off when not in use.

  • Hostname (mDNS): meshbuild.local
  • IP (static): 192.168.42.22

It's a Dell SC1425 with:

  • Dual 2.8 Ghz Xeon processors
  • 8 GB ram
  • 750 GB harddrive.

It is located in the sudo room "server room".

Using the server

SSH into the server (ask juul, aep or maxb to gain access).

To power up the server simply access this URL:

This will cause the server to boot using wake on lan. Bootup takes a few minutes.

The server should be powered off when not in use using the command:

sudo shutdown -h now

wake server script

Here is the wake-up script we use:

<!DOCTYPE html>
<html>
  <head>
    <title>sudo mesh build server wakeup</title>
    <style type="text/css">
      body, html {
        font-family: sans-serif;
        padding: 0.8em 2.5em;
      }
    </style>
  </head>
  <body>
    <h1>sudo mesh build server wakeup</h1>
  <?php
    if($_POST["wake"]) {
      echo("<h3>Waking sudo mesh build server.</h3>");
      exec("/usr/bin/powerwake 00:14:22:b0:25:c2");
    } else {
  ?>
    <form action="wakemesh.php" method="POST">
      <input name="wake" type="submit" value="Click here to wake the server" />
    </form>
  <?php
    }
  ?>
  </body>
</html>