Next: , Previous: , Up: First Steps with GNUnet   [Contents]

3.2 Start a peer

Each GNUnet instance (called peer) has an identity (peer ID) based on a cryptographic public private key pair. The peer ID is the printable hash of the public key.

GNUnet services are controlled by a master service, the so called Automatic Restart Manager (ARM). ARM starts, stops and even restarts services automatically or on demand when a client connects. You interact with the ARM service using the gnunet-arm tool. GNUnet can then be started with gnunet-arm -s and stopped with gnunet-arm -e. An additional service not automatically started can be started using gnunet-arm -i <service name> and stopped using gnunet-arm -k <servicename>.

Once you have started your peer, you can use many other GNUnet commands to interact with it. For example, you can run:

$ gnunet-peerinfo -s

to obtain the public key of your peer.

You should see an output containing the peer ID similar to: