To participate in freenet alphatest we strongly recommend the following : Sun's jre or jdk.
Get it from Java.com.
(Technical users : Blackdown worked fine last time I tried it if Sun's jre isn't an option for some reason, even though it was the ancient 1.4.1, but it's a hassle to set up. It doesn't include needed cryptography providers, so you have to download GNU Crypto and edit the policy files to use it.)
Setting up a 0.7 node:
To set up a node you need do following steps:
2) From within the directory in which you saved these files, start the node with command (parameters in quare brackets [ ] are OPTIONAL):
java -client -Xdebug -Xmx 128 M
-cp freenet-ext.jar:freenet-cvs-snapshot.jar freenet.node.Node [<config filename>]
java -Xmx 128 M
-cp freenet-ext.jar;freenet-cvs-snapshot.jar freenet.node.Node [<config filename>]
Usually you won't need to specify a config file, so you can omit the last part.
Note: Newer builds have a command parser listening on a port (in config file 'tmci.port'). It is possible to connect to this port using netcat hostname tmci-port' or telnet, and enter commands there. It seems no longer possible to enter commands directly via stdin, so you might as well start freenet as a daemon or in the background.
Also, note that all of the following can be done via the webinterface. Simply point a browser to the fproxy host / address, and go to 'configuration' for initial setup, and 'darknet' for connections.
The node will pick a port randomly. You can override this in the config file later on.
3) Once your Freenet node starts, there will be a delay, and you can access its command line interface (newer builds use the tmci port, see above), type HELP to get a list of commands. Type QUIT to exit.
4) Open freenet.ini (or whatever you called the config file) in a text editor, and customize it as necessary. If you need to use a specific port, edit node.listenPort; if you need to tell the node your IP address, edit node.ipAddressOverride; if you need to set a bandwidth limit (outgoing bytes only), set one in node.outputBandwidthLimit. The file should already contain the defaults for all available options. Note the port number from node.listenPort. This is important, and is displayed also when the node starts, and when you type STATUS in the GUI.
5) Start the node up in the same way you did before.
6) give your node a name via the tmci interfae:
NAME:<your new node's name>
7) If possible, open or forward the udp port (the node.listenPort setting) in your firewall or nat (although Freenet should work without this for most NATs)
8) now you need to exchange ID's with other testers to get connected to the network
A good way to achieve this is to use an IRC client to join the #freenet channel on irc.freenode.net
9) type (in the tmci interface) STATUS and press ENTER
You should get some lines similar to the following:
(this is a nodes ID). Copy and paste these lines into IRC.
10) type CONNECT:
Hit enter and then copy and paste the ID of the node you want to connect to. (As mentioned above the ID is [b]
everything[/b] from "lastGoodVersion" to "End".)
You should get response from the node that ID was added.
(to make nodes connected to each other both nodes must have added themselves to each other)
11) type STATUS again, you should now see your new added node/nodes and their state, if
you're lucky you will see something like this:
CONNECTED 188.8.131.52:11999 Dalm 0.9093123123143807 Fred,0.7,1.0,232 bias=1.0 reqs: pRO=1.0 (h=2) ins: pRO=0.0 (h=127)
And now you can participate in the test.
Always use the most recent version.
I wish you Happy Testing :)
Running a node - Tips and Tricks
In able to help with testing of the net, you will need to open/forward the testnet port. It is specified in your node ID under the 'testnetPort' tag.
When your chat program displays the node references like this:
12:34AM <IRCUSERNAME> lastGoodVersion=Fred,0.7,1.0,332
12:34AM <IRCUSERNAME> physical.udp=184.108.40.206:1111
12:34AM <IRCUSERNAME> identity=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
12:34AM <IRCUSERNAME> myName=you_should_set_your_nodes_name_to_something_useful
12:34AM <IRCUSERNAME> location=0.1237634786324
12:34AM <IRCUSERNAME> testnetPort=2111
12:34AM <IRCUSERNAME> testnet=true
12:34AM <IRCUSERNAME> version=Fred,0.7,1.0,336
12:34AM <IRCUSERNAME> End
... just enter "connect:" and [enter]
, and then paste the text like seen above, it works!