> On Monday, August 31, 2015 at 4:19:25 PM UTC-4, Robert Willy wrote:
>> 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,
>
> 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: http://rsync.samba.org/
> ..............
>
> What is wrong with command 'rsync'?
>
> Do you know how to install rsync on the target?
>
> Thanks,
>
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 by Robert Willy●September 1, 20152015-09-01
On Monday, August 31, 2015 at 4:19:25 PM UTC-4, Robert Willy wrote:
> 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,
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: http://rsync.samba.org/
..............
What is wrong with command 'rsync'?
Do you know how to install rsync on the target?
Thanks,
Reply by George Neuner●September 1, 20152015-09-01
On Mon, 31 Aug 2015 13:19:17 -0700 (PDT), Robert Willy
<rxjwg98@gmail.com> wrote:
>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?
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 by ●August 31, 20152015-08-31
Den mandag den 31. august 2015 kl. 22.19.25 UTC+2 skrev Robert Willy:
> 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,
haven't used rsync, but..
looks like you are trying to login as user "pi"
try as root instead
-Lasse
Reply by Robert Willy●August 31, 20152015-08-31
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,