Table of Contents

Plan 9 instance under Xen

Installation or pre-generated

VPS Maintenance Shell

/reveal/bc/VPS/Shell_q
VPS Maintenance Shell for plan9* (xxx.xxx.xx.xx)
no stats collected.
 
[c] - Connect to your console
[l] - list your status
[r] - reset or start
[s] - Force Shutdown (not an OS shutdown)
[t] - toggle your Operating System
[i] - Switch your VPS ID (multiple VPS members only)
[x] - Clean install (destroys data)
[p] - Change your vps.sdf.org password
[u] - View current interface statistics
[U] - View all recorded interface statistics
[q] - Disconnect
 
[30-Oct-20 22:59:17] Command: q
Connection to vps? closed.
$
/reveal/bc/VPS/Shell_r
[30-Oct-20 22:59:17] Command: r
 
Connect to the System Console - To return to the menu, press ^]
bootargs is (tcp, tls, il, local!device)[local!/dev/sdC0/fs]
xPress the enter key to accept the default [ ].
bootargs is (tcp, tls, il, local!device)[local!/dev/sdC0/fs]
user[glenda]:
xPress the enter key to accept the default [ ].

step-by-step installation

/reveal/bc/VPS/step-by-step
Awaiting further step-by-step instructions.

default pre-generated installation

Install

After receiving notification of an allocated VPS slice, connect by ‘$ ssh <SDF member ID>@<VPS slice>.sdf.org’. The password1 is the same as your SDF member login. At the VPS Maintenance Shell menu, type ‘x’ for a Clean Install.

  % WARNING! YOU WILL LOSE YOUR DATA!
  
  This function allows you to completely destroy your plan9 image
  and install a fresh generic distribution.
  
  Do you wish to continue? (yes/no) yes
  % Copying a fresh plan9 image [PLEASE WAIT]
xThis may take time.
 % Copying a fresh plan9 image [PLEASE WAIT] [COMPLETE]
 (continue)
xPress the ‘[Enter]’ key to continue to the VPS Maintenance Shell.

You will now see the Plan 9 VPS console rc prompt (%), Plan 9's shell.

Plan 9 shell

xctl-h is backspace, kind of; ctl-u erases the current line. As seen, with the VPS Plan 9 console prompt ctl-h backspace, the screen output may not be what one would expect.
xTo detach the Plan 9 console prompt (%), while retaining the ability to reattach it without rebooting your server, press ctl-] to close the prompt (%). Then, press ‘q’ to disconnect the VPS Maintenance Shell menu, and ssh connection. You can return again with another ssh to the allocated VPS server, an SDF VPS Maintenance Shell menu review, and a press on the ‘c’ key to connect to the Plan 9 console prompt (%).
Plan 9 Rc shellPlan 9 Rc Survival Guide

Networking

xReview the /usr/glenda/start file, or rc script, from the VPS console prompt (%).
  term% cat /usr/glenda/start
xRun the /usr/glenda/start file, or rc script, from the VPS console prompt (%).
Type ./start to start network and set a password for glenda.
term% ./start
starting ...
setting a password for the user glenda
password:
term%

The mentioned /usr/glenda/start file does not require editing. Any edit1 can be made with % ed, or % sam -d, from the VPS console prompt (%), or later with % ed, % sam, or % acme, from the Drawterm rio rc prompt (%).

xThis shutdown and restart section applies, and may_be_necessary2 after an % fshalt, before the networking is restarted.

1 % man dp9ik 2 % fshalt from an rc prompt (%), then at the “VPS Maintenance Shell” enter ‘s’ - force shutdown, then enter ‘r’ - reset or start.

Shutdown and restart

/reveal/bc/VPS/Shell
VPS Maintenance Shell for plan9* (xxx.xxx.xx.xx)
no stats collected.
 
[c] - Connect to your console
[l] - list your status
[r] - reset or start
[s] - Force Shutdown (not an OS shutdown)
[t] - toggle your Operating System
[i] - Switch your VPS ID (multiple VPS members only)
[x] - Clean install (destroys data)
[p] - Change your vps.sdf.org password
[u] - View current interface statistics
[U] - View all recorded interface statistics
[q] - Disconnect
 
[30-Oct-20 22:59:17] Command: q
Connection to vps? closed.
$
x% fshalt from a Drawterm rio rc prompt (%), is okay. Close the local Drawterm application separately.

From the 9front Drawterm rio rc prompt:

  cpu% fshalt

  halting.../srv/hjfs.cmd...
  done halting
  cpu%
x% fshalt from the 9front VPS console rc prompt (%), then at the “VPS Maintenance Shell” enter ‘s’ - force shutdown, then enter ‘r’ - reset or start.

From the 9front VPS Maintenance Shell console prompt:

  term% fshalt

  halting.../srv/hjfs.cmd...halted at Fri Oct 30 15:58:54 2020.

  done halting
  term% 
1Press ctl-] to continue, if viewing where the VPS console rc prompt (%) was once active. Press the ‘[Enter]’ key to access the VPS Maintenance Shell (may apply).
xFrom the VPS Maintenance Shell enter ‘s’ - force shutdown, then enter ‘r’ - reset or start, or ‘q’ - disconnect. Enter ‘l’ to list your status.
xFrom the VPS Maintenance Shell enter ‘s’ - force shutdown before starting the SDF 9front VPS. Ping the SDF Plan 9 VPS IP address (YOUR_IP) to determine if the VPS is running with networking.
  $ ping YOUR_IP

Reference:

README (slightly outdated) If you think of it as UNIX, you'll often be frustrated because something doesn't exist or works differently.
Plan 9 Boot Camp1. Label: Uriel was right; plan9front2; ANoNradio.

1 NetBSD Xen [ ] running Plan 9 Boot Camp participants' VMs, during the announced Plan 9 Boot Camp occurrences. 2 plan9front running natively on hardware.