Setup plan9.ini
- Run
9fs 9fat in order to access
/n/9fat.
- Edit
/n/9fat/plan9.ini with your text editor of choice.
- Add
service=cpu.
- If you are using
hjfs, append
-A -a tcp!*!564 to the current value of
bootargs.
- If you are using
cwfs, append
-a tcp!*!564 to the current value of
bootargs.
Setup connections
- Run
ndb/query sys hostname, where hostname
is the hostname of the machine.
- Edit
/lib/ndb/local with your text editor of choice.
- Uncomment the lines after
# example: adjust to fit your network before the smtp line
and adjust them to the values received from
ndb/query sys hostname.
auth, cpu - hostname
authdom - whatever, remember this for later
ipnet - authdom
ip - last octet should be set to 0 (e.g.
192.168.1.20 becomes 192.168.1.0)
Setup automatic
start of rio upon connection
- Edit
/usr/glenda/lib/profile with your text editor of
choice.
- Go to the end of the
case cpu section. Add the
following below fn cpu% { $* }.
bind -b '#S' /dev
rio -i riostart
- If you would like, you can also add other things such as
webfs.
- Reboot with
fshalt -r.
Final setup
authid - glenda.
authdom - use what you set in
/lib/ndb/local earlier.
- Press enter at
secstore key:.
- Choose any password. You need to use this same password for
glenda in a second.
- Run
auth/changeuser glenda.
Password: - same as the password you just set.
assign Inferno/POP secret? (y/n) - n
- press enter for the rest
- Reboot with
fshalt -r.
- You should now be able to
drawterm into your newly set
up cpu server!