linux-mips
[Top] [All Lists]

Re: how to make /dev/random work?

To: loody <miloody@gmail.com>
Subject: Re: how to make /dev/random work?
From: Florian Fainelli <florian@openwrt.org>
Date: Fri, 28 Aug 2009 11:12:05 +0200
Cc: Kernel Newbies <kernelnewbies@nl.linux.org>, Linux MIPS Mailing List <linux-mips@linux-mips.org>
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:from:to:subject:date :user-agent:cc:references:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:message-id; bh=mde6ccVmM1eG7sKYtNL9zcgb/P6DStnRvyvSB2iJxMI=; b=wzrWFmiRiW4VfFuJf3X9Q2xgnJTtT5VCDj8SHp9pq3AUAjwshpX9VNBq+yG6WJa5Oj qglinSUSUTwsR7byNJXswaWDJ3D2pJLvrqGsfuqt1Fc9zp7cFHlh1tdFx67dIao0Imdr SNRhY2i/QyCHjvRJEgeHQGMrrxhc0tsYUjdqI=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:from:to:subject:date:user-agent:cc:references:in-reply-to :mime-version:content-type:content-transfer-encoding :content-disposition:message-id; b=Yejy7QKaqemxpTofXCtjZIhDJBSlC6RhBG3Gu8XN4ju071UimuHIvqeEUXxEJdCSRv LwrmpEpMrkPYUQG72NgODrAp6ElUgxxuX01I7Rg2X5Nji4APf298FZLQDUMs6229Qo4r gbgiHryt7YVzkMu93bNgFFvJn3TGT1xdKrbho=
In-reply-to: <3a665c760908272341h1b3d21afmda7415282c40261b@mail.gmail.com>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <3a665c760908272341h1b3d21afmda7415282c40261b@mail.gmail.com>
Sender: linux-mips-bounce@linux-mips.org
User-agent: KMail/1.9.9
Hi,

Le Friday 28 August 2009 08:41:41 loody, vous avez écrit :
> Dear all:
> I made linux running on Mips machine.
> Right now I found the /dev/random doesn't work properly, since I use
> "dd if=/dev/random of=/tmp/random.txt", it stops working.
> If I use "cat /dev/random", it will not pop out anything.
>
> Is there any setting I forget while make menuconfig or should i add
> another driver for /dev/random such that I can make /dev/random work?
> appreciate your help,

Could it be that your system does not generate enough entropy so you end up in 
having nothing going out from /dev/random ? In case your system has very 
little entropy, better use /dev/urandom.
-- 
Best regards, Florian Fainelli
Email: florian@openwrt.org
Web: http://openwrt.org
IRC: [florian] on irc.freenode.net
-------------------------------

<Prev in Thread] Current Thread [Next in Thread>