List Info

Thread: rndc-confgen -a hangs




rndc-confgen -a hangs
user name
2006-11-05 22:41:13
dieter roelants wrote:
> 
> On Sat, 4 Nov 2006 15:12:28 -0500
> "James K. Lowden" <jklowdenschemamania.org> wrote:
> 
> > The rndc(8) manpage says 'rndc-confgen -a' creates
a default rndc.key
> > file, but on my newly bootable NetBSD 3.0 Soekris
box, it hangs.  I
> > waited a minute or more.  Is it supposed to take
forever, or is
> > something wrong? 
> 
> My guess would be that there isn't enough data
available in
> /dev/random. rndc-config takes a -r option to change
the source of
> randomness. You also might want to look at rndctl to
see what sources
> for entropy are being used.

Thanks, Dieter.  I used /dev/urandom; don't know if that's
sufficient for
my purposes.  

For the record, this is what I'm seeing.  How much entropy
do I need?  

$ sudo rndctl -ls
Source                 Bits Type      Flags
wd1                    6180 disk estimate, collect
wd0                 1641540 disk estimate, collect
sip2                      0 net  
sip1                      0 net  
sip0                      0 net  
          1647730 bits mixed into pool
                0 bits currently stored in pool (max 4096)
          1601306 bits of entropy discarded due to full pool
            46424 hard-random bits generated
           334152 pseudo-random bits generated

Regards, 

--jkl
[1]

about | contact  Other archives ( Real Estate discussion Medical topics )