On Local Machine:
ssh -l root {RPi-IP} *
pass: woofwoof*
On RPi through SSH:
modprobe bcm2708-rng
/etc/init.d/rng-tools start *
cat /dev/hwrng | nc -l -p 1337*
On Local Machine: Code:
mkfifo -m 0666 /dev/hwrng *
nc {RPi-IP} 1337 > /dev/hwrng*
The device is now ready, however be aware that data transfer will ONLY begin once you start trying to get data from /dev/hwrng
It'll burn up about ~120KB/s on your network. Also ensure your RPi has proper cooling, as running cat /dev/hwrng will max the ARM CPU. Due to this, I would not recommend overclocking your RPi. However you want to try, you can uncomment the lines in config.txt that is in the 1st partition.
When you [Ctrl-C] your terminal on local machine it'll terminate the NetCat session on the RPi. When you discontinue pulling from /dev/hwrng on your local machine, this will also terminate the NetCat session on the RPi.
If you need to start and stop you're pulling data from /dev/hwrng on your local machine. You will need to restart netcat on both RPi and local machine. Your other option is to leave the initial cat /dev/hwrng open (minimize it). You can spawn new terminals and pull from /dev/hwrng starting and stoping as many times as you'd like. As long as the initial terminal remains open there will be no 'short write' error on the RPi.
Shutdown on the RPi: **
nohup poweroff &