Seeding /dev/random not working

2007-05-29 Thread M Macnair
In brief: Adding entropy by writing to /dev/[u]random doesn't appear to be working. I am aware that the reported available entropy (via /proc/sys/kernel/random/entropy_avail) will not increase; the symptom is /dev/random keeps spitting out the same numbers. I have two embedded boards (one ARM, o

Re: Seeding /dev/random not working

2007-05-29 Thread M Macnair
On 5/29/07, Theodore Tso <[EMAIL PROTECTED]> wrote: On Tue, May 29, 2007 at 12:53:10PM +0100, M Macnair wrote: Ok, so this is telling me a couple of things. First of all, if you're only getting three outputs, it means that you don't have any peripherals feeding entropy into the

Re: Seeding /dev/random not working

2007-05-29 Thread M Macnair
On 5/29/07, Pavel Machek <[EMAIL PROTECTED]> wrote: Hi! > > I have two embedded boards (one ARM, one PowerPC), running two > > different versions of 2.6. They have no hard drives, keyboards or > > mice. They each have a NIC, but I understand these make no > > contribution to the entropy pool.

Re: Seeding /dev/random not working

2007-05-29 Thread M Macnair
On 29 May 2007 18:58:59 +0200, Andi Kleen <[EMAIL PROTECTED]> wrote: "M Macnair" <[EMAIL PROTECTED]> writes: > > Many distros ship with an init script that saves and restores the > entropy pool on startup and shutdown. The bit that interests me that > is