From f9dedfd41f6a4eb779e038fb7ccccae9667359e2 Mon Sep 17 00:00:00 2001 From: Matthias Wachs Date: Fri, 12 Apr 2013 13:44:49 +0000 Subject: changes thx to SAP --- doc/figs/Service.pdf | Bin 0 -> 7303 bytes doc/figs/System.pdf | Bin 0 -> 7897 bytes doc/gnunet-c-tutorial.pdf | Bin 329226 -> 328988 bytes doc/gnunet-c-tutorial.tex | 6 +++--- 4 files changed, 3 insertions(+), 3 deletions(-) create mode 100644 doc/figs/Service.pdf create mode 100644 doc/figs/System.pdf (limited to 'doc') diff --git a/doc/figs/Service.pdf b/doc/figs/Service.pdf new file mode 100644 index 000000000..e9569cc7a Binary files /dev/null and b/doc/figs/Service.pdf differ diff --git a/doc/figs/System.pdf b/doc/figs/System.pdf new file mode 100644 index 000000000..70dc6ff2b Binary files /dev/null and b/doc/figs/System.pdf differ diff --git a/doc/gnunet-c-tutorial.pdf b/doc/gnunet-c-tutorial.pdf index 5636dde4c..5f3b21ca2 100644 Binary files a/doc/gnunet-c-tutorial.pdf and b/doc/gnunet-c-tutorial.pdf differ diff --git a/doc/gnunet-c-tutorial.tex b/doc/gnunet-c-tutorial.tex index 73c376b0b..714333672 100644 --- a/doc/gnunet-c-tutorial.tex +++ b/doc/gnunet-c-tutorial.tex @@ -262,13 +262,13 @@ your own peer's DHT with respect to the specified KEY: $ gnunet-arm -c ~/peer1.conf -s # start gnunet with all default services $ gnunet-arm -c ~/peer1.conf -i dht # start DHT service $ cd ~/gnunet/src/dht; -$ ./gnunet-dht-monitor -c ~/gnunet1/peer1.conf -k KEY +$ ./gnunet-dht-monitor -c ~/peer1.conf -k KEY \end{lstlisting} Now open a separate terminal and change again to the \lstinline|gnunet/src/dht| directory: \begin{lstlisting} $ cd ~/gnunet/src/dht $ ./gnunet-dht-put -c ~/peer1.conf -k KEY -d VALUE # put VALUE under KEY in the DHT -$ ./gnunet/src/dht/gnunet-dht-get -k KEY # get key KEY from the DHT +$ ./gnunet/src/dht/gnunet-dht-get ~/peer1.conf -k KEY # get key KEY from the DHT $ gnunet-statistics -c ~/peer1.conf # print statistics about current GNUnet state $ gnunet-statistics -c ~/peer1.conf -s dht # print statistics about DHT service \end{lstlisting} @@ -279,7 +279,7 @@ We will now start a second peer on your machine. For the second peer, you will need to manually create a modified configuration file to avoid conflicts with ports and directories. A peers configuration file is by default located in {\tt ~/.gnunet/gnunet.conf}. -This file is typically very short or event empty as only the differences to the +This file is typically very short or even empty as only the differences to the defaults need to be specified. The defaults are located in many files in the {\tt \$GNUNET\_PREFIX/share/gnunet/config.d} directory. -- cgit v1.2.3