Table of Contents

Setting up the Raspberry Pi as an entropy server

The Raspberry Pi has a hardware random number generator. Quick testing shows it can provide sufficient entropy to read from /dev/random at around 35kB/s.

Setting up an entropy client

Systemd unit file

For systems that use systemd instead of upstart, use the following service definition:

/etc/systemd/system/netrng.service
[Unit]
Description=NetRNG Entropy Client
After=syslog.target
 
[Service]
Type=simple
ExecStart=/opt/NetRNG/env/bin/python /opt/NetRNG/netrng.py
User=root
 
[Install]
WantedBy=multi-user.target

Future Improvements?