Starting rng-tools in SLES guest in VirtualBox

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP












1















I am trying to start rng-tools in a SLES 11 SP3 installation inside of VirtualBox.



vagrant@sles11sp3x64:~> uname -a
Linux sles11sp3x64 3.0.93-0.8-default #1 SMP Tue Aug 27 08:44:18 UTC 2013 (70ed288) x86_64 x86_64 x86_64 GNU/Linux


All attempts have been un-successful, with the following output:



vagrant@sles11sp3x64:/etc/init.d> sudo /sbin/service rng-tools status
Checking for RNG daemon unused
vagrant@sles11sp3x64:/etc/init.d> sudo /sbin/service rng-tools start
Starting RNG daemon No Hardware RNG support available skipped


here is the contents of /etc/default/rng-tools :



vagrant@sles11sp3x64:~> cat /etc/default/rng-tools
HRNGDEVICE=/dev/urandom


What am I missing to get VirtualBox to expose my hardware correctly?










share|improve this question
























  • What exactly do you expect should happen? In a VM there usually are no HWRNGs. Clarify please.

    – peterph
    Oct 10 '13 at 15:20












  • @peterph For a VM, the “hardware RNG” is the RNG of the host.

    – Gilles
    Oct 10 '13 at 21:43











  • @Gilles not really - you would have to emulate the HWRNG in the VM (feeding through it the entropy from the host system). /dev/random is not a HWRNG, by the way.

    – peterph
    Oct 11 '13 at 11:49















1















I am trying to start rng-tools in a SLES 11 SP3 installation inside of VirtualBox.



vagrant@sles11sp3x64:~> uname -a
Linux sles11sp3x64 3.0.93-0.8-default #1 SMP Tue Aug 27 08:44:18 UTC 2013 (70ed288) x86_64 x86_64 x86_64 GNU/Linux


All attempts have been un-successful, with the following output:



vagrant@sles11sp3x64:/etc/init.d> sudo /sbin/service rng-tools status
Checking for RNG daemon unused
vagrant@sles11sp3x64:/etc/init.d> sudo /sbin/service rng-tools start
Starting RNG daemon No Hardware RNG support available skipped


here is the contents of /etc/default/rng-tools :



vagrant@sles11sp3x64:~> cat /etc/default/rng-tools
HRNGDEVICE=/dev/urandom


What am I missing to get VirtualBox to expose my hardware correctly?










share|improve this question
























  • What exactly do you expect should happen? In a VM there usually are no HWRNGs. Clarify please.

    – peterph
    Oct 10 '13 at 15:20












  • @peterph For a VM, the “hardware RNG” is the RNG of the host.

    – Gilles
    Oct 10 '13 at 21:43











  • @Gilles not really - you would have to emulate the HWRNG in the VM (feeding through it the entropy from the host system). /dev/random is not a HWRNG, by the way.

    – peterph
    Oct 11 '13 at 11:49













1












1








1








I am trying to start rng-tools in a SLES 11 SP3 installation inside of VirtualBox.



vagrant@sles11sp3x64:~> uname -a
Linux sles11sp3x64 3.0.93-0.8-default #1 SMP Tue Aug 27 08:44:18 UTC 2013 (70ed288) x86_64 x86_64 x86_64 GNU/Linux


All attempts have been un-successful, with the following output:



vagrant@sles11sp3x64:/etc/init.d> sudo /sbin/service rng-tools status
Checking for RNG daemon unused
vagrant@sles11sp3x64:/etc/init.d> sudo /sbin/service rng-tools start
Starting RNG daemon No Hardware RNG support available skipped


here is the contents of /etc/default/rng-tools :



vagrant@sles11sp3x64:~> cat /etc/default/rng-tools
HRNGDEVICE=/dev/urandom


What am I missing to get VirtualBox to expose my hardware correctly?










share|improve this question
















I am trying to start rng-tools in a SLES 11 SP3 installation inside of VirtualBox.



vagrant@sles11sp3x64:~> uname -a
Linux sles11sp3x64 3.0.93-0.8-default #1 SMP Tue Aug 27 08:44:18 UTC 2013 (70ed288) x86_64 x86_64 x86_64 GNU/Linux


All attempts have been un-successful, with the following output:



vagrant@sles11sp3x64:/etc/init.d> sudo /sbin/service rng-tools status
Checking for RNG daemon unused
vagrant@sles11sp3x64:/etc/init.d> sudo /sbin/service rng-tools start
Starting RNG daemon No Hardware RNG support available skipped


here is the contents of /etc/default/rng-tools :



vagrant@sles11sp3x64:~> cat /etc/default/rng-tools
HRNGDEVICE=/dev/urandom


What am I missing to get VirtualBox to expose my hardware correctly?







linux virtualbox virtual-machine random






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Oct 10 '13 at 21:44









Gilles

544k12811041621




544k12811041621










asked Oct 10 '13 at 14:33









Jarrod RobersonJarrod Roberson

1066




1066












  • What exactly do you expect should happen? In a VM there usually are no HWRNGs. Clarify please.

    – peterph
    Oct 10 '13 at 15:20












  • @peterph For a VM, the “hardware RNG” is the RNG of the host.

    – Gilles
    Oct 10 '13 at 21:43











  • @Gilles not really - you would have to emulate the HWRNG in the VM (feeding through it the entropy from the host system). /dev/random is not a HWRNG, by the way.

    – peterph
    Oct 11 '13 at 11:49

















  • What exactly do you expect should happen? In a VM there usually are no HWRNGs. Clarify please.

    – peterph
    Oct 10 '13 at 15:20












  • @peterph For a VM, the “hardware RNG” is the RNG of the host.

    – Gilles
    Oct 10 '13 at 21:43











  • @Gilles not really - you would have to emulate the HWRNG in the VM (feeding through it the entropy from the host system). /dev/random is not a HWRNG, by the way.

    – peterph
    Oct 11 '13 at 11:49
















What exactly do you expect should happen? In a VM there usually are no HWRNGs. Clarify please.

– peterph
Oct 10 '13 at 15:20






What exactly do you expect should happen? In a VM there usually are no HWRNGs. Clarify please.

– peterph
Oct 10 '13 at 15:20














@peterph For a VM, the “hardware RNG” is the RNG of the host.

– Gilles
Oct 10 '13 at 21:43





@peterph For a VM, the “hardware RNG” is the RNG of the host.

– Gilles
Oct 10 '13 at 21:43













@Gilles not really - you would have to emulate the HWRNG in the VM (feeding through it the entropy from the host system). /dev/random is not a HWRNG, by the way.

– peterph
Oct 11 '13 at 11:49





@Gilles not really - you would have to emulate the HWRNG in the VM (feeding through it the entropy from the host system). /dev/random is not a HWRNG, by the way.

– peterph
Oct 11 '13 at 11:49










1 Answer
1






active

oldest

votes


















0














You should be able to use the virtio-rng kernel module (in the guest). See this article for more details. I'm not sure whether VirtualBox supports it yet - if not, you might want to give QEMU a try.






share|improve this answer






















    Your Answer








    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "106"
    ;
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function()
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled)
    StackExchange.using("snippets", function()
    createEditor();
    );

    else
    createEditor();

    );

    function createEditor()
    StackExchange.prepareEditor(
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: false,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: null,
    bindNavPrevention: true,
    postfix: "",
    imageUploader:
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    ,
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );













    draft saved

    draft discarded


















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f94449%2fstarting-rng-tools-in-sles-guest-in-virtualbox%23new-answer', 'question_page');

    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0














    You should be able to use the virtio-rng kernel module (in the guest). See this article for more details. I'm not sure whether VirtualBox supports it yet - if not, you might want to give QEMU a try.






    share|improve this answer



























      0














      You should be able to use the virtio-rng kernel module (in the guest). See this article for more details. I'm not sure whether VirtualBox supports it yet - if not, you might want to give QEMU a try.






      share|improve this answer

























        0












        0








        0







        You should be able to use the virtio-rng kernel module (in the guest). See this article for more details. I'm not sure whether VirtualBox supports it yet - if not, you might want to give QEMU a try.






        share|improve this answer













        You should be able to use the virtio-rng kernel module (in the guest). See this article for more details. I'm not sure whether VirtualBox supports it yet - if not, you might want to give QEMU a try.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Oct 10 '13 at 15:41









        peterphpeterph

        23.8k24558




        23.8k24558



























            draft saved

            draft discarded
















































            Thanks for contributing an answer to Unix & Linux Stack Exchange!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid


            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.

            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f94449%2fstarting-rng-tools-in-sles-guest-in-virtualbox%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown






            Popular posts from this blog

            How to check contact read email or not when send email to Individual?

            Bahrain

            Postfix configuration issue with fips on centos 7; mailgun relay