Redirect output to urandom and link random to urandom

alexandre alexandre at maloteaux.net
Fri May 27 00:05:53 BST 2016


here is the "led" :) behavior i just noticed while testing : 

#with /dev/random
#RNGD_FLAGS=" " 
#unplug / plug / wait a few seconds
# -> led bright
cat /dev/random > /dev/null
# -> led dim

#unplug
echo 0 >/proc/sys/kernel/random/urandom_min_reseed_secs 
#plug / wait a few seconds
#-> led is bright (blink noticed too btw)
cat /dev/urandom > /dev/null 
#-> led dim

#with /dev/urandom
echo 60 >/proc/sys/kernel/random/urandom_min_reseed_secs 
#RNGD_FLAGS="  -o /dev/urandom "
#unplug / plug / wait a few seconds
#-> led is always dim 

Seems like the onerng is always feeding /dev/urandom in this situation


More information about the Discuss mailing list