[Buildroot] ssh: connect to host pi adress port 22: Connection refused

FrAnKenStEiN MC chfakht at gmail.com
Tue Jan 26 00:56:09 UTC 2016


Hi all, the problem is that i have used *ssh pi at 10.42.0.5 <pi at 10.42.0.5> *to
connect (this is because i defined the hostname to be "pi" but it seems
after login with root that the username pi doesn't exist by running
cut -d: -f1 /etc/passwd)
i'm now connected by *ssh root at 10.42.0.5 <root at 10.42.0.5>  *
i want to know why i can't login with the pi (or maybe the hostname means
something else ) ?
and by using HDMI i could see in the last line *pi login : *appears ...
thanks

ᐧ

2016-01-25 22:17 GMT+00:00 Peter Seiderer <ps.report at gmx.net>:

> Hello FrAnKenStEiN MC,
>
> On Mon, 25 Jan 2016 09:37:23 +0100, Thomas Petazzoni <
> thomas.petazzoni at free-electrons.com> wrote:
>
> > Hello,
> >
> > On Mon, 25 Jan 2016 02:37:18 +0000, FrAnKenStEiN MC wrote:
> >
> > > But whe trying ssh i get `connection refused`
> > >
> > >     ssh pi at 10.42.0.5
> > >     ssh: connect to host 10.42.0.5 port 22: Connection refused
> > >
> > > I couldn't solve this problem all the day !!!
> >
> > Plug a serial port adapter on your RPi, and look at the boot messages,
> > and see if dropbear gets started, and if it does, see if there are any
> > error message.
>
> With buildroot from git (as of today) it worked for me (both cases ro and
> rw
> root filesystem)...., any chance to plugin a hdmi monitor (besides from a
> serial console) to get access to the last lines of boot messages?
> Mind to share your buildroot config file? How did you configure your ip
> adress, via cmdline.txt?
>
> Regards,
> Peter
>
> >
> > Best regards,
> >
> > Thomas
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.buildroot.org/pipermail/buildroot/attachments/20160126/9cf71633/attachment-0001.html>


More information about the buildroot mailing list