summaryrefslogtreecommitdiff
path: root/sites/pmikkelsen.com/plan9/network_booting.md
blob: 3bb51b9093bc318d2764d2870558df3d7ca0330e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
## Network booting into the server at pmikkelsen.com

Sometimes it is nice to be able to connect directly to a remote server
from my laptop and have the same root filesystem available.
This is possible by typing `tls` at the boot prompt and then 
typing `pmikkelsen.com` for the fs and auth server.

## Speed

On my internet connection some things can be very slow 
(such as compiling the entire system), because of fs access now happens
over the network. The easy fix is to just start a cpu connection to the server
where the fs access can happen fast since it is on the same machine. This is
done by typing

	rcpu -h pmikkelsen.com

Of course the server has a pretty slow cpu..

## Server settings

Some steps are needed to make this work:

1. The user must be added to the fileserver and auth server.
2. The fileserver must be listening for remote connections.
3. The correct ndb entries must be set (in the beginning I forgot `fs` and I could 
only connect via tcp, not tls)

More information about all those steps can be found in section 7 of [the 9front FQA](http://fqa.9front.org/fqa7.html).