dodo networking hints

1 view
Skip to first unread message

Nick Briggs

unread,
May 19, 2026, 4:58:38 PM (13 days ago) May 19
to Lisp Core
Check out the dodo code from https://github.com/devhawala/dodo.git, unpack "dist.zip" (it will unpack into ./dist/*), then you might want to rename dist to something like dodo-xns-services in the directory where you keep software installations (my dodo-xns-services is parallel to medley, maiko, etc.) Then the startup script can be

export PATH=${PATH}:your-path-to/dodo-xns-services

#!/bin/sh
# This is start-dodo.sh
#
run-nethub.sh &
sleep 10
run-dodoserver.sh &

% start-dodo.sh
[lots of tracing output]

and then shut it down (kill both processes) - if you're on macOS, or other system with "pkill" you can use

% pkill -9 -f dev.hawala

For configuration of the servers, I changed the following:

% diff ../dodo/dist/dodo.properties dodo.properties
7c7
< networkNo = 1050
---
> networkNo = 3
17a18
> netHubHost = localhost
20a22
> netHubPort = 3333
24c26
< localTimeOffsetMinutes = 120
---
> localTimeOffsetMinutes = -420
37c39
< printService.paperSizes = a4, usLetter
---
> printService.paperSizes = usLetter,a4

and

% diff ../dodo/dist/machines.cfg machines.cfg
44c44
< + pup.hostAddress = 131#5#
---
> + pup.hostAddress = 3#5#

because the default port we're using for dodo in maiko is 3333, I'm going to run it on net 3, we're currently -7h from UTC, and I find it more useful to have USLetter paper as the default paper size.

You can add users to the clearinghouse by creating a chs-database/u~username.properties file (copy an existing one to start). the "username" (from ~ to .) is the first alias for the user. For example, I might create "chs-database/u~briggs.properties".
I gave myself a mailbox on "postman:dev:hawala" so I could run Lafite again.

I just tried using Lisp's NSMAINTAIN tool -- and Dodo's clearinghouse doesn't implement (m)any of the management calls, and doesn't actually correctly set up identities like users with domain management attributes.

-- Nick



Reply all
Reply to author
Forward
0 new messages