[onerng talk] OneRNG blinking and no data

Paul Campbell paul at taniwha.com
Fri Jul 6 00:09:08 BST 2018


On Friday, 6 July 2018 1:01:51 AM NZST andreas.livet wrote:
> Hope my key is not dead...
> 
> Can you give me a little help ?
> 
> For info, I use OneRNG for research purpose (and not security) and wanted to
> only listen on OneRNG raw entropy, not other entropy sources that might be
> used by the linux kernel, so I always read data by accessing /dev/ttyACM0,
> the doc says it's not recommended, but is there another way to do what I
> want to do ?

It does sound like it's dead - the flashing light is intended to give you 
warning that the primary entropy source is not passing the ongoing sanity 
tests.

If you're not totally paranoid about your entropy sources (sounds like with 
your application you're not), you can switch over to the secondary source that 
uses RF environmental noise (my testing shows that it actually tends to make 
slightly better quality entropy). 

If you're using the usual linux startup code you can switch by editing /etc/
onerng.conf and changing the line:

	ONERNG_MODE_COMMAND="cmd0"

to:

	ONERNG_MODE_COMMAND="cmd6"

then remove your OneRNG and plug it in again. If you're using in directly 
you'll have to send the 'cmd6' option as part of your startup

I hope this helps

	Paul




More information about the Discuss mailing list