configuring 9front as a cpu server will allow drawterm'ing in
boot into the 9front iso ¶
follow the prompts until it brings you into rio with a little usage graph and a terminal
install it to your disk ¶
run inst/start
to start the installation
configuring it to be a cpu server ¶
this section is heavily borrowed from this github gist.
setup fileserver listening ¶
mount the 9fat partition with 9fs 9fat
and then add service=cpu
to
/n/9fat/plan9.ini
after rebooting (you can do this with the fshalt
command) it will
ask you to create a wrkey. enter the hostowner's username for
authid
. authdom
should be a globally unique "authentication
domain" (although it does not have to be), just use your domain name
if unsure. leave secstore
empty. password
must be the hostowner's
password.

auth/wrkey
however this seems to delete the passwords of all users
if using cwfs, reboot and stick a -c
on the bootargs. then type
noauth
twice to enable requiring authentication. if you do not wish
random people on the internet to be able to access your world-readable
files, also type nonone
to disable the none account. finally, type
end
to exit and resume booting. on hjfs, these have sane defaults.
edit your /n/9fat/plan9.ini
again, this time adding -a tcp!*!564
if using cwfs or -A -a tcp!*!564
if using hjfs to the end of the
bootargs
line. reboot to test if it worked, and if it did, consider
changing bootargs
to nobootprompt
so you will not have to press
enter to boot it up.
setup auth listening ¶
run ndb/query sys <sysname>
and then fill out the information into
/lib/ndb/local
and uncomment the auth and ipnet blocks near the bottom.
set
auth
andcpu
to your sysnameauthdom
must be what we set it to before, setipnet
to the sameipmask
ipgw
anddns
should be set to the values from queryip
should be the subnet id, not your actual ip. if you want to set a static ip, do that at the line outside the block, adding anip
field to thesys=sysname ether=stuff
line
reboot and then you can set a password to your hostowner with
auth/changeuser your-hostowner-name
run netaudit
to make sure everything's setup fine