# HG changeset patch # User Peter Mikkelsen # Date 1594733128 -7200 # Tue Jul 14 15:25:28 2020 +0200 # Node ID 951b7e21ad3fd8ef19e2667448f19a9c833b77be # Parent b205bd0bd3ecdf1e709b577ed50206d7eb5da3cb Add note about net booting. diff --git a/sites/pmikkelsen.com/notes/plan9/network_booting.md b/sites/pmikkelsen.com/notes/plan9/network_booting.md new file mode 100644 --- /dev/null +++ b/sites/pmikkelsen.com/notes/plan9/network_booting.md @@ -0,0 +1,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). +