Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Nov 2002 10:54:33 -0600
From:      Martin McCormick <martin@dc.cis.okstate.edu>
To:        freebsd-questions@freebsd.org
Subject:   How to Start the Random Number Generator
Message-ID:  <200211211654.gALGsXG30970@dc.cis.okstate.edu>

next in thread | raw e-mail | index | archive | help
	I need to run the application dnssec-keygen which uses
/dev/random to generate keys for signing domain name server
transactions.

	If I run it on any of the FreeBSD systems I have set up
which are all running Version 4.5 or 4.7, this application hangs
due to lack of entropy, or at least that is one reason.

	I was directed to use rndcontrol to turn on various
interrupts in the random number generator such as the keyboard
and IDE controller interrupts and
the system would start to build an entropy pool.  Rndcontrol
showed me that there were no interrupts being sampled right now
so I told it to look at IRQS 3, 14 and 15.

	the man page in section 4 for random mentions a seed to
get everything started, but I can't seem to find any other
information to cause /dev/random to spit out data yet.  The
dnssec-keygen application still hangs so I am obviously missing
some step.

	/dev/random does exist on the systems in question and
seems to return a null which is not what it is supposed to be
doing.

	What else should I look at?

	Thank you.

Martin McCormick

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200211211654.gALGsXG30970>