create new user:
Edit , s/\$user/reed/g
Edit , s/\$fs/hjfs/g
echo newuser $user >> /srv/$fs.cmd
echo newuser upas +$user >> /srv/$fs.cmd
echo newuser sys +$user >> /srv/$fs.cmd
echo newuser adm +$user >> /srv/$fs.cmd
reboot, log in to new user, execute /sys/lib/newuser
enable CPU service:
9fs 9fat
edit /n/9fat/plan9.ini to add service=cpu
reboot.
setup auth server:
authid is $user, authdom can be whatever. remember the secstore key.
9fs 9fat
in /n/9fat/plan9.ini, append -A -a tcp!*!564 (if cwfs, omit the -A)
reboot.
configure network:
ip/ipconfig
ndb/query sys $sysname
edit /lib/ndb/local:33
cpu and auth should be $sysname. authdom, dnsdom, ipnet should be the authdom entered earlier. ip should be the ip from ndb/query, replace last number with 0. ipmask, ipgw, dns match the query.
add ip/ipconfig to /rc/bin/cpurc.local
set up authentication:
auth/keyfs
auth/changeuser $user
/lib/ndb/auth: replace hostid with the hostowner id set as authid in auth/wrkey dialog.
reboot.
done
you may now connect with rcpu or drawterm