linux-mips.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* how to make /dev/random work?
@ 2009-08-28  6:41 loody
  2009-08-28  9:12 ` Florian Fainelli
  0 siblings, 1 reply; 2+ messages in thread
From: loody @ 2009-08-28  6:41 UTC (permalink / raw)
  To: Kernel Newbies, Linux MIPS Mailing List

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,
miloody

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: how to make /dev/random work?
  2009-08-28  6:41 how to make /dev/random work? loody
@ 2009-08-28  9:12 ` Florian Fainelli
  0 siblings, 0 replies; 2+ messages in thread
From: Florian Fainelli @ 2009-08-28  9:12 UTC (permalink / raw)
  To: loody; +Cc: Kernel Newbies, Linux MIPS Mailing List

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
-------------------------------

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-08-28  9:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-28  6:41 how to make /dev/random work? loody
2009-08-28  9:12 ` Florian Fainelli

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).