Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Oct 2008 07:25:00 +0100
From:      Markus Hitter <mah@jump-ing.de>
To:        Espartano <espartano.mail@gmail.com>
Cc:        freebsd-embedded@freebsd.org
Subject:   Re: Problem with NanoBSD login
Message-ID:  <42AA8307-6A3D-4ABC-B962-870E83090199@jump-ing.de>
In-Reply-To: <d353bd50810272238o7e27e878i597297f16dbc4cb9@mail.gmail.com>
References:  <d353bd50810272238o7e27e878i597297f16dbc4cb9@mail.gmail.com>

index | next in thread | previous in thread | raw e-mail


Am 28.10.2008 um 06:38 schrieb Espartano:

> hi people, i have created a NanoBSD image, it boot pretty well.
>
> I'm trying to authenticate as root using a serial console but NanoBSD
> doesn't show the correct login prompt, instead NanoBSD show strange
> chars and it doesn't let me login in the system.

[...]
> cp: utimes: /var/var: No such file or directory
> cp: chown: /var/var: No such file or directory
> cp: chmod: /var/var: No such file or directory
> cp: chflags: /var/var: No such file or directory

Why is it looking for /var/var ? This dir usually doesn't exist.

> Sat Jan  1 00:01:04 UTC 2000
> àààà

Looks like you did something wrong in /etc/ttys, especially in it's  
line for /dev/ttyd0. Did you perhaps configure it to dial a modem?

> At this point the keyboard doesn't respond me and i can't authenticate
> as root and change the password for use ssh later,

There are switches in /etc/ssh/sshd_config with the self-explaining  
names PermitRootLogin and AllowEmptyPassword. This could help you.


HTH,
MarKus

- - - - - - - - - - - - - - - - - - -
Dipl. Ing. Markus Hitter
http://www.jump-ing.de/






help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?42AA8307-6A3D-4ABC-B962-870E83090199>