Does anyone know if it's possible to setup dev/random when running the OS within a VM (VMWare in this case)?
+3
A:
What do you mean by "setup"? /dev/random will be available in the VM, and work just fine.
Martin v. Löwis
2008-11-05 19:54:56
I was using OpenSolaris in a VM (on windows) and it complained it couldn't find dev/random. However I upgraded OpenSolaris to a dev build and it seems to work. Not really sure where the problem was and how it got solved but it was.
Robert Gould
2008-11-06 08:59:37
Anyways +1 for answering the question.
Robert Gould
2008-11-06 09:01:17
+1
A:
For me the question is not yet answered. I have a Ubuntu VM (VMware) and /dev/random is there, but it provides far too less bytes. E.g. if I want to generate a GPG key, gpg complains "Not enough random bytes available. Please do some other work to give the OS a chance to collect more entropy! (Need 300 more bytes)". Since it is a VM I can do what I want, GPG will just keep on waiting...
chiccodoro
2009-01-16 10:01:44
oh, sorry, this is a typo. Of course I tried to use /dev/random, not /etc/random. Edited accordingly.
chiccodoro
2009-01-19 07:36:19
Try /dev/urandom. /dev/random is limited to certain sources of entropy, AFAIK. http://en.wikipedia.org/wiki/Urandom#Linux
Andrew Ferrier
2009-03-10 14:06:32
Don't use /dev/urandom for security applications! You could get some random data at random.org
Georg
2009-03-16 12:23:15
Hm... Don't know how to change the random input for GPG generator... Anyway thank you for the hints. Probably posting my question as an "answer" to Robert Gould's one was not such a good idea.
chiccodoro
2009-03-17 07:22:12
+1
A:
Tis is not an answer but a workaround: When I had the same problem I generated the keys on a physical machine and copied it.
Senad Uka
2009-03-16 12:05:16