Re: /dev/random in 2.4.6

Steve Hill (steve@navaho.co.uk)
Thu, 16 Aug 2001 09:37:58 +0100 (BST)


On Wed, 15 Aug 2001, Andreas Dilger wrote:

> Yes, it is possible to increase the size of the in-kernel entropy pool
> by changing the value in linux/drivers/char/random.c. You will likely
> also need to fix up the user-space scripts that save and restore the
> entropy on shutdown/startup (they can check /proc/sys/kernel/random/poolsize,
> if available, to see how many bytes to read/write).

It didn't help - there just isn't enough entropy data being generated
between boot time and when I extract the random numbers. This is
basically a system to install a linux distribution, so it's booted off the
network with a readonly root NFS, so there is no saved entropy data to
load, so I'm starting off with an empty entropy pool and having to rely on
the kernel to generate the data from scratch. The random numbers are used
to initialise the ssh and VPN keys.

-- 

- Steve Hill System Administrator Email: steve@navaho.co.uk Navaho Technologies Ltd. Tel: +44-870-7034015

... Alcohol and calculus don't mix - Don't drink and derive! ...

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/