All of lore.kernel.org
 help / color / mirror / Atom feed
* Fail to start dropbear
@ 2006-10-18  6:17 axel lin
  2006-10-18  6:27 ` Marcin Juszkiewicz
  0 siblings, 1 reply; 6+ messages in thread
From: axel lin @ 2006-10-18  6:17 UTC (permalink / raw)
  To: openembedded-devel

hi list,
I got below messages when start dropbear... ( config is angstrom/mainstone)
how to fix this?

root@mainstone:/$ /etc/init.d/dropbear start
Starting Dropbear SSH server: Will output 1024 bit rsa secret key to
'/etc/dropbear/dropbear_rsa_host_key'
Generating key, this may take a while...
Exited: couldn't open random device

Thanks for your help.
Axel



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Fail to start dropbear
  2006-10-18  6:17 Fail to start dropbear axel lin
@ 2006-10-18  6:27 ` Marcin Juszkiewicz
  2006-10-18  7:22   ` axel lin
  0 siblings, 1 reply; 6+ messages in thread
From: Marcin Juszkiewicz @ 2006-10-18  6:27 UTC (permalink / raw)
  To: openembedded-devel

Dnia środa, 18 października 2006 08:17, axel lin napisał:

> I got below messages when start dropbear... ( config is
> angstrom/mainstone) how to fix this?

> root@mainstone:/$ /etc/init.d/dropbear start
> Starting Dropbear SSH server: Will output 1024 bit rsa secret key to
> '/etc/dropbear/dropbear_rsa_host_key'
> Generating key, this may take a while...
> Exited: couldn't open random device

Looks like your machine system lack /dev/(u)random

-- 
JID: hrw-jabber.org
OpenEmbedded developer/consultant

               Heavy, adj.:
               	Seduced by the chocolate side of the Force.





^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Fail to start dropbear
  2006-10-18  6:27 ` Marcin Juszkiewicz
@ 2006-10-18  7:22   ` axel lin
  2006-10-18 20:34     ` Jamie Lenehan
  0 siblings, 1 reply; 6+ messages in thread
From: axel lin @ 2006-10-18  7:22 UTC (permalink / raw)
  To: openembedded-devel

2006/10/18, Marcin Juszkiewicz <openembedded@hrw.one.pl>:
> Dnia środa, 18 października 2006 08:17, axel lin napisał:
>
> > I got below messages when start dropbear... ( config is
> > angstrom/mainstone) how to fix this?
>
> > root@mainstone:/$ /etc/init.d/dropbear start
> > Starting Dropbear SSH server: Will output 1024 bit rsa secret key to
> > '/etc/dropbear/dropbear_rsa_host_key'
> > Generating key, this may take a while...
> > Exited: couldn't open random device
>
> Looks like your machine system lack /dev/(u)random
>
> --
> JID: hrw-jabber.org
> OpenEmbedded developer/consultant
>
>                Heavy, adj.:
>                 Seduced by the chocolate side of the Force.
>
>
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>

Thanks, Marcin.
I fixed it by manually create the device file.
How to config OE to add a device file, then I don't have to manually add it.

Regards,
Axel

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Fail to start dropbear
  2006-10-18  7:22   ` axel lin
@ 2006-10-18 20:34     ` Jamie Lenehan
  2006-10-18 21:44       ` Erik Hovland
  2006-10-19  9:40       ` axel lin
  0 siblings, 2 replies; 6+ messages in thread
From: Jamie Lenehan @ 2006-10-18 20:34 UTC (permalink / raw)
  To: axel lin; +Cc: openembedded-devel

On Wed, Oct 18, 2006 at 03:22:41PM +0800, "axel lin" wrote:
[...]
> Thanks, Marcin.
> I fixed it by manually create the device file.
> How to config OE to add a device file, then I don't have to manually add it.

If you are using udev then udev should be creating /dev/random and
/dev/urandom (along with lots of other stuff). I don't think anything
special is required to get udev to created this.

If you really do want to add device nodes manually (which is probably wrong)
then see the "Device (/dev) nodes" section of the "image_ipkg class"
in the user manual:

  http://www.openembedded.org/user-manual&dpage=ch07s05

-- 
 Jamie Lenehan <lenehan@twibble.org>



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Fail to start dropbear
  2006-10-18 20:34     ` Jamie Lenehan
@ 2006-10-18 21:44       ` Erik Hovland
  2006-10-19  9:40       ` axel lin
  1 sibling, 0 replies; 6+ messages in thread
From: Erik Hovland @ 2006-10-18 21:44 UTC (permalink / raw)
  To: openembedded-devel

On Thu, Oct 19, 2006 at 06:34:53AM +1000, Jamie Lenehan wrote:
> On Wed, Oct 18, 2006 at 03:22:41PM +0800, "axel lin" wrote:
> [...]
> > Thanks, Marcin.
> > I fixed it by manually create the device file.
> > How to config OE to add a device file, then I don't have to manually add it.
> 
> If you are using udev then udev should be creating /dev/random and
> /dev/urandom (along with lots of other stuff). I don't think anything
> special is required to get udev to created this.
> 
> If you really do want to add device nodes manually (which is probably wrong)
> then see the "Device (/dev) nodes" section of the "image_ipkg class"
> in the user manual:
> 
>   http://www.openembedded.org/user-manual&dpage=ch07s05

I seem to recall that /dev/zero and /dev/console have to be made
manually just to boot an initrd enabled image. Just to give you an idea
of an exception to the rule. Otherwise, I definitely agree.

E

-- 
Erik Hovland
mail: erik AT hovland DOT org
web: http://hovland.org/
PGP/GPG public key available on request



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Fail to start dropbear
  2006-10-18 20:34     ` Jamie Lenehan
  2006-10-18 21:44       ` Erik Hovland
@ 2006-10-19  9:40       ` axel lin
  1 sibling, 0 replies; 6+ messages in thread
From: axel lin @ 2006-10-19  9:40 UTC (permalink / raw)
  To: axel lin, openembedded-devel

Thank you, Jamie.
I found the root cause of missing /dev/(u)random issue.
It is caused by missing "tmpfs" support in my kernel, as a result the
udev doesn't work.

Regards,
Axel


2006/10/19, Jamie Lenehan <lenehan@twibble.org>:
> On Wed, Oct 18, 2006 at 03:22:41PM +0800, "axel lin" wrote:
> [...]
> > Thanks, Marcin.
> > I fixed it by manually create the device file.
> > How to config OE to add a device file, then I don't have to manually add it.
>
> If you are using udev then udev should be creating /dev/random and
> /dev/urandom (along with lots of other stuff). I don't think anything
> special is required to get udev to created this.
>
> If you really do want to add device nodes manually (which is probably wrong)
> then see the "Device (/dev) nodes" section of the "image_ipkg class"
> in the user manual:
>
>   http://www.openembedded.org/user-manual&dpage=ch07s05
>
> --
>  Jamie Lenehan <lenehan@twibble.org>
>



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2006-10-19  9:47 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-10-18  6:17 Fail to start dropbear axel lin
2006-10-18  6:27 ` Marcin Juszkiewicz
2006-10-18  7:22   ` axel lin
2006-10-18 20:34     ` Jamie Lenehan
2006-10-18 21:44       ` Erik Hovland
2006-10-19  9:40       ` axel lin

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.