{"id":346,"date":"2008-09-20T14:30:59","date_gmt":"2008-09-20T22:30:59","guid":{"rendered":"http:\/\/znark.com\/blog\/?p=346"},"modified":"2008-09-21T11:12:20","modified_gmt":"2008-09-21T19:12:20","slug":"via-rng-on-centos","status":"publish","type":"post","link":"https:\/\/znark.com\/blog\/2008\/09\/via-rng-on-centos\/","title":{"rendered":"VIA RNG on Centos"},"content":{"rendered":"<p>The [J7F4 mini-ITX<br \/>\nmotherboard](http:\/\/www.jetwaycomputer.com\/VIA3.html) that I got for<br \/>\nmy home server has a VIA C7 processor.  One of the feature of the<br \/>\nprocessor is the [PadLock Security<br \/>\nEngine](http:\/\/www.via.com.tw\/en\/initiatives\/padlock\/hardware.jsp)<br \/>\nwith hardware RNG.  This is especially useful on a server since they<br \/>\nare limited in entropy sources.  Linux kernel has support for the VIA<br \/>\nhardware RNG in the `via_rng` module.<\/p>\n<p>Next, install the `rng-utils` package with the rngd daemon.  It<br \/>\nreads entropy from the hardware RNG, `\/dev\/hwrng`, and feeds it to the<br \/>\nkernel entropy pool for `\/dev\/random`.  <\/p>\n<p>Unfortunately, the package is missing an init.d script to start the<br \/>\nservice (see [redhat bug<br \/>\n215371](https:\/\/bugzilla.redhat.com\/show_bug.cgi?id=215371).  The<br \/>\n`\/etc\/rc.d\/rc.sysinit` actually has a commented-out line to start<br \/>\nrngd.  Download the script from the bug and put it in<br \/>\n\/etc\/init.d\/rngd.  Add the service, `chkconfig &#8211;add rngd`, and start it, `service rngd start`.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The [J7F4 mini-ITX motherboard](http:\/\/www.jetwaycomputer.com\/VIA3.html) that I got for my home server has a VIA C7 processor. One of the feature of the processor is the [PadLock Security Engine](http:\/\/www.via.com.tw\/en\/initiatives\/padlock\/hardware.jsp) with hardware RNG. This is especially useful on a server since they are limited in entropy sources. Linux kernel has support for the VIA hardware RNG in [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[57],"tags":[],"class_list":["post-346","post","type-post","status-publish","format-standard","hentry","category-linux"],"_links":{"self":[{"href":"https:\/\/znark.com\/blog\/wp-json\/wp\/v2\/posts\/346","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/znark.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/znark.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/znark.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/znark.com\/blog\/wp-json\/wp\/v2\/comments?post=346"}],"version-history":[{"count":2,"href":"https:\/\/znark.com\/blog\/wp-json\/wp\/v2\/posts\/346\/revisions"}],"predecessor-version":[{"id":351,"href":"https:\/\/znark.com\/blog\/wp-json\/wp\/v2\/posts\/346\/revisions\/351"}],"wp:attachment":[{"href":"https:\/\/znark.com\/blog\/wp-json\/wp\/v2\/media?parent=346"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/znark.com\/blog\/wp-json\/wp\/v2\/categories?post=346"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/znark.com\/blog\/wp-json\/wp\/v2\/tags?post=346"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}