Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

What password is for this embedded Linux board?

75 views
Skip to first unread message

Robert Willy

unread,
Aug 31, 2015, 4:19:25 PM8/31/15
to
Hi,

The Sitara Starter Kit, which is similar to a BeagleBone Black board, has no
password when I login in at UART serial terminal, i.e. after I enter: root,

m335x-evm login: root

it will login without asking for password.

Now, I want to run a rsync command:

u64@u7696:~$ rsync -rl --delete-after --safe-links p...@192.168.0.112:/{lib,usr} $HOME/rypi/rootfs
p...@192.168.0.112's password:
Permission denied, please try again.
p...@192.168.0.112's password:
Permission denied, please try again.
p...@192.168.0.112's password:
Permission denied (publickey,password).
rsync: connection unexpectedly closed (0 bytes received so far) [Receiver]
rsync error: unexplained error (code 255) at io.c(226) [Receiver=3.1.0]
u64@u7696:~$

it asks for the password. I have tried with direct enter, or something else, all fails.

How to solve this problem?

Thanks,

lasselangwad...@gmail.com

unread,
Aug 31, 2015, 7:26:58 PM8/31/15
to
haven't used rsync, but..

looks like you are trying to login as user "pi"

try as root instead

-Lasse

George Neuner

unread,
Aug 31, 2015, 11:43:14 PM8/31/15
to
From the rsync man page:

Some modules on the remote daemon may require authentication. If so,
you will receive a password prompt when you connect. You can avoid
the password prompt by setting the environment variable
RSYNC_PASSWORD to the password you want to use or using the
--password-file option. This may be useful when scripting rsync.


Also, you should set a password on the root account. Although that is
not the issue here, you may find some commands that simply will not
work under an unsecured account.

George

Robert Willy

unread,
Sep 1, 2015, 10:41:35 AM9/1/15
to
Thanks. I should replace pi with 'root'.
Then, I find that rsync is not installed on the target as it shows:

$ rsync -rl --delete-after --safe-links ro...@192.168.0.112:/{lib,usr} $HOME/rypi/rootfs
sh: rsync: command not found
rsync: connection unexpectedly closed (0 bytes received so far) [Receiver]
rsync error: remote command not found (code 127) at io.c(226) [Receiver=3.1.0]
$

On the host PC, rsync has message, which shows it has been installed.

The above command is a surprise to me, as I run it at the host computer, it says
command not found. But when I simply enter (without the following arguments),
it has echo:
............
$ rsync
rsync version 3.1.0 protocol version 31
Copyright (C) 1996-2013 by Andrew Tridgell, Wayne Davison, and others.
Web site: http://rsync.samba.org/
..............

What is wrong with command 'rsync'?

Do you know how to install rsync on the target?

Thanks,

Ulf Samuelsson

unread,
Oct 1, 2015, 8:54:08 PM10/1/15
to
You should learn how to build a new linux root file system.
There are plenty of project that may be of help
like Yocto, Angstrom and Buildroot.

BR
Ulf
0 new messages