Cpu:Auth Server 9front
Cpu:Auth Server 9front
2a79d5dddf41
____
/_ | Building & installing the amd64 kernel
| |
________________________________________________________________
______
| |
|___|
% cd /
% rc /sys/lib/rootstub
% cd /sys/src
% objtype=amd64 mk install
% cd /sys/src/9/pc64
% mk install
Now the amd64 kernel has been built. First, install the new
bootloader to
the 9fat partition:
% 9fs 9fat
% rm /n/9fat/9bootfat # Required, cannot copy over
existing bootloader
% cp /386/9bootfat /n/9fat/
% chmod +al /n/9fat/9bootfat # defrag magic
Next, copy the kernel:
% cp /amd64/9pc64 /n/9fat/
Reboot.
________
\_____ \ cpu/auth server setup
/ ____/
________________________________________________________________
______
/ \
\_______ \
\/
Reboot.
Upon rebooting, you'll get something along the lines of the
following:
Enter `glenda` for authid, `9front` (or anything you want) for
authdom, hit
return for secstore key, and enter a password.
Now you'll be in an rc shell only, no rio GUI. You can run rio -i
riostart if
you prefer to make the rest of the changes using acme or sam,
but I tend to just
use ed to make the edits via the command line.
config: noauth
auth is now disabled
config: noauth
auth is now enabled
config: end
________
\_____ \ Authorize remote connections (auth server)
_(__ <
________________________________________________________________
______
/ \
/______ /
\/
We need to edit the file /lib/ndb/local, but this was a bit tricky
for me at
first. The contents of this file on a fresh install of 9front-
5966.df2c352ae695:
#
# files comprising the data,base, use as many as you like,
see ndb(6)
#
database=
file=/net/ndb
file=/lib/ndb/local
file=/lib/ndb/common
#
# entries defining the dns root. these will be overridden by
any
# authentic info obtained from the root.
#
dom=
ns=A.ROOT-SERVERS.NET
ns=B.ROOT-SERVERS.NET
ns=C.ROOT-SERVERS.NET
ns=D.ROOT-SERVERS.NET
ns=E.ROOT-SERVERS.NET
ns=F.ROOT-SERVERS.NET
ns=G.ROOT-SERVERS.NET
ns=H.ROOT-SERVERS.NET
ns=I.ROOT-SERVERS.NET
ns=J.ROOT-SERVERS.NET
ns=K.ROOT-SERVERS.NET
ns=L.ROOT-SERVERS.NET
ns=M.ROOT-SERVERS.NET
#
# because the public demands the name localsource
#
ip=127.0.0.1 sys=localhost dom=localhost
sys=cirno ether=000c29e16a29
ip=192.168.1.23
ipmask=255.255.255.0
ipgw=192.168.1.1
sys=cirno dns=192.168.1.1
sys=cirno ether=000c29e16a29
#
# files comprising the data,base, use as many as you like,
see ndb(6)
#
database=
file=/net/ndb
file=/lib/ndb/local
file=/lib/ndb/common
#
# entries defining the dns root. these will be overridden by
any
# authentic info obtained from the root.
#
dom=
ns=A.ROOT-SERVERS.NET
ns=B.ROOT-SERVERS.NET
ns=C.ROOT-SERVERS.NET
ns=D.ROOT-SERVERS.NET
ns=E.ROOT-SERVERS.NET
ns=F.ROOT-SERVERS.NET
ns=G.ROOT-SERVERS.NET
ns=H.ROOT-SERVERS.NET
ns=I.ROOT-SERVERS.NET
ns=J.ROOT-SERVERS.NET
ns=K.ROOT-SERVERS.NET
ns=L.ROOT-SERVERS.NET
ns=M.ROOT-SERVERS.NET
#
# because the public demands the name localsource
#
ip=127.0.0.1 sys=localhost dom=localhost
sys=cirno ether=000c29e16a29
Reboot.
After "assign Inferno/POP secret? (y/n) n" you can just hit enter
for everything
else.
_____
/ | | Post-setup configuration
/ | |_
________________________________________________________________
_____
/ ^ /
\____ |
|__|
webfs
bind -b '#S' /dev
rio -i riostart
.________
| ____/ Connecting via drawterm
|____ \
________________________________________________________________
______
/ \
/______ /
\/