Changes between Version 29 and Version 30 of xo_serial_access


Ignore:
Timestamp:
Aug 2, 2012, 11:18:42 AM (8 years ago)
Author:
Nat Meysenburg
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • xo_serial_access

    v29 v30  
    44Note: if you are trying to connect to a server in our Telehouse facility, see our [wiki:telehouse_serial_access Telehouse serial access page]; for Sunset Park see [wiki:sunsetpark_serial_access Sunset Park serial acess page].
    55
    6 Coming soon (sometime after 2012-06-09)! roy.mayfirst.org will replace paley as our console server. This transition is in progress. All serial connections are still running through paley.
     6As of August 2, 2012, serial connections are split between `paley` and `roy`. We are still in the process of transitioning away from `paley` to `roy`.
    77
    88== Physical Setup ==
     9Console server: `roy.mayfirst.org`
     10 * /dev/ttyUSB0  : pianeta : (asm)
     11 * /dev/ttyUSB1  : axiom : (`CritPath`)
     12 * /dev/ttyUSB2  : luisa
     13 * /dev/ttyUSB3  : bufflehead : (Riseup)
     14 * /dev/ttyUSB4  : ottorene
     15 * /dev/ttyUSB5  : kato : (in use switch)
     16 * /dev/ttyUSB6  : zuzuncito : (backup switch)
     17 * /dev/ttyUSB7  : finch : (Riseup)
     18 * /dev/ttyUSB8  : clr
     19 * /dev/ttyUSB9  : avocet
     20 * /dev/ttyUSB10 : ramona
     21 * /dev/ttyUSB11 : pietri
     22 * /dev/ttyUSB12 : shaw : (tenant.net)
     23 * /dev/ttyUSB13 : malaka
     24 * /dev/ttyUSB14 : franz : (saharareporters)
     25 * /dev/ttyUSB15 :
    926
    1027Console server: paley.mayfirst.org
    1128
    1229 * Port 1: ochs.mayfirst.org (remote power)
    13  * Port 2: axiom (CritPath)
    14  * Port 3: luisa.mayfirst.org
    15  * Port 4: malaka.mayfirst.org
    16  * Port 5: ottorene.mayfirst.org
    17  * Port 6: ramona.mayfirst.org
    18  * Port 7: pietri.mayfirst.org
    19  * Port 8: nene
    20  * Port 9: finch
    21  * Port 10: clr
    22  * Port 11: pianeta (asm)
    23  * Port 12: shaw (tenant.net)
    2430 * Port 13: zunzuncito (backup switch not in use)
    25  * Port 15: bufflehead (Riseup)
    26  * Port 16: kato (in use switch)
    27  * Port 22: franz (saharareporters)
    2831 * Port 48: odetta.mayfirst.org (remote power)
     32
     33== Connecting via roy ==
     34
     35In order to connect via serial console to one of the servers named above, ssh into `roy.mayfirst.org` as ''servername''`-console`
     36
     37For example:
     38
     39{{{
     40ssh -t ottorene-console@console.mayfirst.org cereal attach ottorene
     41}}}
     42
     43Would give you full read/write access to the console on `ottorene`.
     44
     45Access should mainly be controled via the monkeysphere, though standard SSH keys should work.
     46
     47The SSH RSA host key for `roy.mayfirst.org` should have a fingerprint of:
     48{{{
     492048 37:8d:b6:78:7b:1a:a0:2e:c0:f3:c2:eb:03:84:85:57
     50}}}
     51
     52We can also setup additional users that have read-only access to the sessions created by each of these usernames, should that be desirable.  You can request such access by creating a [/newticket ticket].
     53
     54
     55== Setting up a new console user on roy ==
     56
     57To setup a new console user (this is something only admins can do), do the following as `root@roy.mayfirst.org`:
     58
     59{{{
     60adduser --disabled-password --gecos='franz console user,,,' franz-console
     61cereal-admin create franz /dev/ttyUSB14 115200 franz-console franz-console
     62cereal-admin start franz
     63}}}
     64
     65== Connecting to roy via serial console ==
     66
     67In addition - we have a serial line running from luisa's /dev/ttyUSB0 that goes to roy's built-in serial port 1, so that roy's console itself is remotely accessible, and logged. You can connect to roy's console with:
     68
     69
     70{{{
     71ssh -t roy-console@luisa.mayfirst.org cereal attach roy
     72}}}
     73
     74
    2975
    3076== Connecting to your serial console paley as sysadmin ==
     
    3985To exit from a direction connect, type ESC-A (that's hit and release escape and then shift-a).
    4086
    41 == Connecting to roy via serial console ==
    42 
    43 In addition - we have a serial line running from luisa's /dev/ttyUSB0 that goes to roy's built-in serial port 1, so that roy's console itself is remotely accessible, and logged. You can connect to roy's console with:
    44 
    45 
    46 {{{
    47 ssh -t roy-console@luisa.mayfirst.org cereal attach roy
    48 }}}
    49 
    50 == sysrq ==
    51 
    52 To get the sysrq menu (for [wiki:skinny_elephants_recovery raising skinny elephants]), type ESC-B h (thats hit and release escape and then shift-B and then h to get the sysrq menu)
    53 
    54 == Creating a new serial line/user ==
     87== Creating a new serial line/user on paley ==
    5588
    5689These need to be improved - not sure how to do this via the command line - so far I'm doing this via the web interface at https://paley.mayfirst.org.
     
    72105  * Fill out all fields in the Host and Login for import form.
    73106  * Click apply
     107
     108== sysrq ==
     109
     110To get the sysrq menu (for [wiki:skinny_elephants_recovery raising skinny elephants]), type ESC-B h (thats hit and release escape and then shift-B and then h to get the sysrq menu)
     111