wm: doc

Download patch

ref: 322f65ff04eec4dea271f35b2c169ef5289d5f66
parent: 33cc7d340408417e190d705a99366713083e6798
author: jrmu <jrmu@cloud9p.org>
date: Thu Oct 10 13:25:56 EDT 2024

Add instructions for how to set up cpu server on p9

--- /dev/null
+++ b/cpu-p9.ms
@@ -1,0 +1,44 @@
+Configuring the cpu server for plan 9
+
+term% auth/wrkey
+bad authentication password
+bad authentication id
+bad authentication domain
+authid: glenda
+authdom: fork.inter9.org
+auth password:
+secstore password:
+
+term% mkdir /cfg/$sysname/
+term% dircp /cfg/example /cfg/$sysname/
+
+Then, edit /cfg/$sysname/cpurc to uncomment this line:
+
+# ip/ipconfig -g your-gateway ether /net/ether0 your-ip-address your-subnet-mask
+
+Build the cpu kernel:
+
+cd /sys/src/9/pc
+mk 'CONF=pccpuf'
+term% 9fat:
+term% cp /sys/src/9/pc/9pccpuf /n/9fat/
+Add these lines to the beginning of /n/9fat/plan9.ini
+
+[menu]
+menuitem=cpu, Plan 9 CPU Kernel
+menuitem=terminal, Plan 9 Terminal Kernel
+menudefault=cpu, 10
+
+[cpu]
+bootfile=sdC0/!9fat!9pccpuf
+
+[terminal]
+bootfile=sdC0!9fat!9pcf
+
+[common]
+nobootprompt=local!#S/sdC0/fossil
+
+Make sure to replace sdC0 with your actual disk.
+Make sure also to delete the pre-existing line:
+
+bootfile=sdC0!9fat!9pcf