# HG changeset patch # User Peter Mikkelsen # Date 1594917059 -7200 # Thu Jul 16 18:30:59 2020 +0200 # Node ID 1a08306cb854bc962fe9d8027e161356166f74f0 # Parent 830cd4a35ee93802a8263057c4dde4ab2202f91d notes/plan9/basic_9p_server.md diff --git a/sites/pmikkelsen.com/notes/plan9/network_booting.md b/sites/pmikkelsen.com/notes/plan9/network_booting.md deleted file mode 100644 --- a/sites/pmikkelsen.com/notes/plan9/network_booting.md +++ /dev/null @@ -1,30 +0,0 @@ -## 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). - diff --git a/sites/pmikkelsen.com/notes/plan9/using_irc.md b/sites/pmikkelsen.com/notes/plan9/using_irc.md deleted file mode 100644 --- a/sites/pmikkelsen.com/notes/plan9/using_irc.md +++ /dev/null @@ -1,37 +0,0 @@ -# Using IRC on 9front - -While 9front comes with an irc client called `ircrc`, it can be quite annoying that it does not -keep a persistent connection. - -A different program `irc7` provides a server part which keeps a connection open to an irc server, -and a client part which allows for connecting to the server. This works great since it makes it possible to -get all the messages on a channel without being online all the time. - -## Setup - -Download the irc7 code via `hg`: - - hg clone https://code.9front.org/hg/irc7/ - -Build and install - - cd irc7 - mk install - -## Usage - -First the server program `ircsrv` must be started, so I would run - - ircsrv pmikkelsen irc.freenode.net - -to connect as `pmikkelsen` to freenode. After this (and maybe logging in), -it is possible to connect to different channels by opening new rio windows -and running - - irc -t '#cat-v' -b - -to connect to the cat-v channel. The `-b` option without any extra arguments -prints the entire conversation since the ircsrv was started, so it might not always be desirable. - -I run this on a remote cpu server that is rarely powered off, and then I just connect via -drawterm from linux to chat. \ No newline at end of file