What password is for this embedded Linux board?

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 pi@192.168.0.112:/{lib,usr} $HOME/rypi/rootfs pi@192.168.0.112's password: Permission denied, please try again. pi@192.168.0.112's password: Permission denied, please try again. pi@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,

Reply to
Robert Willy
Loading thread data ...

Den mandag den 31. august 2015 kl. 22.19.25 UTC+2 skrev Robert Willy:

haven't used rsync, but..

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

try as root instead

-Lasse

Reply to
lasselangwadtchristensen

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

Reply to
George Neuner

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 root@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:

formatting link
..............

What is wrong with command 'rsync'?

Do you know how to install rsync on the target?

Thanks,

Reply to
Robert Willy

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

Reply to
Ulf Samuelsson

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.