setup a 9front cpu server

configuring 9front as a cpu server will allow drawterm'ing in

table of contents

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.

vulpine is eepy says
make sure the password you use is valid! with this setup, it needs to be equal to hostowner (glenda by default)'s password for the hostowner to login to drawterm, and accounts have minimum password requirements. if you need to change it you can use the command 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.

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