wiki:remotely_turn_on_or_off_server

Version 8 (modified by Micah Anderson, 11 years ago) (diff)

fix port to be the correct one

How do I remotely turn on or off a server?

Telehouse

This page is intended for MFPL admins only.

In Telehouse, we have two Baytech RPC devices, each with 8 ports: gabriel (RPC4) and karl (RPC3).

Connecting

Connect to gabriel:

ssh gabriel-console@carson.mayfirst.org
cereal attach gabriel

Connect to karl:

ssh karl-console@console.mayfirst.org
cereal attach karl

Commands

List available power outlets:

status

Get help:

help

XO/Bandcon

In our XO/Bandcon space we have a Baytech RPC-27 zero U device named odetta.

Connecting

ssh -p 3048 odetta-console@b.console.mayfirst.org

Or

ssh sysadmin@b.console.mayfirst.org
connect direct deviceport odetta

Wiring details

Thanks to Riseup for setting up our cables. Here are the details for creating an RJ45 to RJ45 cable that properly connects a Lantronix Serial Console server to the Baytech RPC-27 device.

,----
| this end plugs into the lantronix (where x is no wire):
| x/WBr/WBl/O/x/Bl/WO/x   = 1/2/3/4/5/6/7/8
`----

,----
| and the other end (plugs into the baytech) is the standard 568B:
| WO/O/WG/Bl/WBl/G/WBr/Br = 1/2/3/4/5/6/7/8
`----

,----
| Baytech   ->  SLC
| 1 (DTR)  ->   7 (DSR)
| 2 (GND)  ->   4 (GND)
| 3 (RTS)  ->   x
| 4 (Tx)   ->   6 (Rx)
| 5 (Rx)   ->   3 (Tx)
| 6 (N/C)  ->   x
| 7 (DSR)  ->   2 (DTR)
| 8 (DCD)  ->   x
`----

Creating new users on odetta

Some notes from Riseup on creating new users:

  • The max password length appears to be 8 characters, doing a longer password results in an "Invalid password" error.
  • To set a password what you have to do is to create the user as 'admin', then logout of the 'admin' account and then login to the new user account (with no password), then run the 'password' command as that user.
  • By default all new users have access to no recepticles.