mirror of
https://github.com/Ponce/slackbuilds
synced 2024-12-01 01:00:03 +01:00
a5e0283c5e
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
33 lines
1 KiB
Text
33 lines
1 KiB
Text
The BitBabbler is a hardware True Random Number Generator (TRNG)
|
|
manufactured by Voicetronix of Australia. This package installs the
|
|
software necessary to control and perform basic health checks on both
|
|
White and Black BB devices.
|
|
|
|
After installing this package, you'll need to addgroup "bit-babbler"
|
|
OR: put a modified copy of
|
|
/lib/udev/rules.d/90-bit-babbler.rules
|
|
into /etc/udev/rules.d that uses an existing group (e.g., "wheel").
|
|
(So long as the filename is the same, the modified rules file in this
|
|
directory will override the original installed by this package.)
|
|
|
|
To also have your BitBabbler device(s) start feeding entropy to the
|
|
kernel at boot:
|
|
|
|
1) Add the following lines to /etc/rc.d/rc.local:
|
|
|
|
# Start BitBabbler TRNG.
|
|
if [ -x /etc/rc.d/rc.seedd ]; then
|
|
. /etc/rc.d/rc.seedd start
|
|
fi
|
|
|
|
2) And add the following to /etc/rc.d/rc.local_shutdown:
|
|
|
|
# Stop BitBabbler TRNG.
|
|
if [ -x /etc/rc.d/rc.seedd ]; then
|
|
. /etc/rc.d/rc.seedd stop
|
|
fi
|
|
|
|
3) Then be sure the execute bit is set (chmod) for rc.local,
|
|
rc.local_shutdown, and rc.seedd.
|
|
|
|
Enjoy!
|