How-to: downloading, compiling, configuring and deploying Brunet simplenodes
From BoykinWiki
Contents |
Deprecated
This page is deprecated in favor of How to use BasicNode
Introduction
SimpleNode is part of the IPOP project.
Get SimpleNode
- mkbundle version
- Source Code: IPOP project depends Brunet project so you need to download both projects following the instructions.
Compile SimpleNode
- Compile Brunet with NAnt: Run nant command in Brunet home directory. This generates dlls to <brunet_home_dir>/lib
- Copy Brunet.dll and Brunet.Dht.dll in <brunet_home_dir>/lib to <ipop_home_dir>/lib
- Compile IPOP with NAnt, this generates SimpleNode.exe under <ipop_home_dir>/src/misc/build
- Copy Log.config from <brunet_home_dir>/lib to <ipop_home_dir>/src/misc/build if you want to trace the details or errors
Configure SimpleNode
SimpleNode and IPRouter.exe share the same config file except for several different fields . An example could be found here.
Joining our pool
- Copy one of the config files from <brunet_home_dir>/lib to <ipop_home_dir>/src/misc/build
- Lookup the current valid brunet-namespaces and put a proper one of them in <brunet_namespace> element of the config file
Running under your own namespace
- Start a new config file or modify our sample ones to meet your purpose
- Pick a name for your <brunet_namespace> other than ours listed, otherwise there is a possibility of undesirable private network intersection / merging.
Running SimpleNode
Joining our pool
Just locate the executable and config file and run "mono SimpleNode.exe -c simplenode.config"
Running under your own namespace
To begin, you should place SimpleNode on a few computers, where it can run without hassle. Add these machines to your "RemoteTAs" list. EdgeListeners should be left alone, since data suggests that "udp" is the fastest transport. SimpleNode can then be run by using the command "mono SimpleNode.exe -c simplenode.config".
