pulp-platform / pulpino

An open-source microcontroller system based on RISC-V
http://www.pulp-platform.org
Other
888 stars 297 forks source link

FPGA ZedBoard - SSH Connection: Permission Denied #71

Closed GioAgu17 closed 7 years ago

GioAgu17 commented 7 years ago

Hi everybody,

I prepared my Linux VM with the command 'make all' in the fpga directory, and everything seemed to be ok. The SD card was also partitioned and I put all required contents on it. After this, I tried to boot the zedboard, and what it appears is:

IP-Config: Got DHCP answer from 10.79.3.252, my address is 10.79.3.220
IP-Config: Complete:
device=eth0, hwaddr=00:0a:35:00:00:00, ipaddr=10.79.3.220, mask=255.255.254 host=10.79.3.220, domain=inside.dei.polimi.it, nis-domain=(none)
bootserver=0.0.0.0, rootserver=0.0.0.0, rootpath=
nameserver0=10.248.17.11, nameserver1=10.248.17.12
ALSA device list:
No soundcards found.
EXT3-fs (mmcblk0p2): error: couldn't mount because of unsupported optional feat) EXT2-fs (mmcblk0p2): error: couldn't mount because of unsupported optional feat) EXT4-fs (mmcblk0p2): recovery complete
EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
VFS: Mounted root (ext4 filesystem) on device 179:2.
devtmpfs: mounted
Freeing unused kernel memory: 216K (40634000 - 4066a000)
EXT4-fs (mmcblk0p2): re-mounted. Opts: data=ordered
Starting logging: OK
Initializing random number generator... random: dd urandom read with 11 bits ofe done.
Starting network...
ip: RTNETLINK answers: File exists
Starting sshd: OK

Welcome to Buildroot
buildroot login: root

Why I can't see the normal login as it is descripted in the fpga.README? Also why it starts with BuildRoot?

Thank you in advance for your attention.

Giovanni

gautschimi commented 7 years ago

hm everything looks quite normal. Have you tried to login? what happens or what exactly is the problem?

On 05/11/2017 11:39 AM, GioAgu17 wrote:

Hi everybody,

I prepared my Linux VM with the command 'make all' in the fpga directory, and everything seemed to be ok. The SD card was also partitioned and I put all required contents on it. After this, I tried to boot the zedboard, and what it appears is:

IP-Config: Got DHCP answer from 10.79.3.252, my address is 10.79.3.220 IP-Config: Complete: device=eth0, hwaddr=00:0a:35:00:00:00, ipaddr=10.79.3.220, mask=255.255.254 host=10.79.3.220, domain=inside.dei.polimi.it, nis-domain=(none) bootserver=0.0.0.0, rootserver=0.0.0.0, rootpath= nameserver0=10.248.17.11, nameserver1=10.248.17.12 ALSA device list: No soundcards found. EXT3-fs (mmcblk0p2): error: couldn't mount because of unsupported optional feat) EXT2-fs (mmcblk0p2): error: couldn't mount because of unsupported optional feat) EXT4-fs (mmcblk0p2): recovery complete EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null) VFS: Mounted root (ext4 filesystem) on device 179:2. devtmpfs: mounted Freeing unused kernel memory: 216K (40634000 - 4066a000) EXT4-fs (mmcblk0p2): re-mounted. Opts: data=ordered Starting logging: OK Initializing random number generator... random: dd urandom read with 11 bits ofe done. Starting network... ip: RTNETLINK answers: File exists Starting sshd: OK

Welcome to Buildroot buildroot login: root

Why I can't see the normal login as it is descripted in the fpga.README? Also why it starts with BuildRoot?

Thank you in advance for your attention.

Giovanni

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/pulp-platform/pulpino/issues/71, or mute the thread https://github.com/notifications/unsubscribe-auth/ARsRndvtCRms6opl0zd6kQMNo_Muu4V_ks5r4tdfgaJpZM4NXwFO.

--

Michael Gautschi phone: +41 44 632 99 58 Integrated Systems Laboratory fax: +41 44 632 11 94 ETZ J69.2 e-mail: gautschi@iis.ee.ethz.ch Gloriastr. 35 ETH Zentrum CH-8092 Zurich

GioAgu17 commented 7 years ago

I want to establish an SSH connection. So I open a new terminal and try this:

user@vivado-pcie:~$ ssh root@10.79.3.220 root@10.79.3.220's password: Permission denied, please try again. root@10.79.3.220's password: Permission denied, please try again. root@10.79.3.220's password: Permission denied (publickey,password,keyboard-interactive).

The password is not pulp, nor pulpino. I also tried to change password from the previous terminal but nothing.

What do you mean with login?

Thank you so much

gautschimi commented 7 years ago

Can you login to the board over uart? I think by default the password might not even be active.

but you can login over uart and then change the password with passwd to whatever you like. it is then stored on the sdcard. when you change the password you might need to first set a correct date, otherwise the ssh service might not accept it because it is too old.

On 05/11/2017 11:49 AM, GioAgu17 wrote:

I want to establish an SSH connection. So I open a new terminal and try this:

user@vivado-pcie:~$ ssh root@10.79.3.220 root@10.79.3.220's password: Permission denied, please try again. root@10.79.3.220's password: Permission denied, please try again. root@10.79.3.220's password: Permission denied (publickey,password,keyboard-interactive).

The password is not pulp, nor pulpino. I also tried to change password from the previous terminal but nothing.

What do you mean with login?

Thank you so much

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/pulp-platform/pulpino/issues/71#issuecomment-300740609, or mute the thread https://github.com/notifications/unsubscribe-auth/ARsRnXbPrDn_o1I_iTVeX13kITXWI8huks5r4tmYgaJpZM4NXwFO.

--

Michael Gautschi phone: +41 44 632 99 58 Integrated Systems Laboratory fax: +41 44 632 11 94 ETZ J69.2 e-mail: gautschi@iis.ee.ethz.ch Gloriastr. 35 ETH Zentrum CH-8092 Zurich

GioAgu17 commented 7 years ago

I think I logged in over uart, I mean using the uart connection in the ZedBoard.

I tried to change the date, but still the root refuses my trial.

date --set "2017-05-11 12:17:00"

Thu May 11 12:17:00 UTC 2017

date

Thu May 11 12:17:02 UTC 2017

passwd

Changing password for root New password: Bad password: too weak Retype password: Password for root changed by root

passwd

Changing password for root New password: Retype password: Password for root changed by root

then again: ssh root@10.79.3.220 root@10.79.3.220's password: Permission denied, please try again. root@10.79.3.220's password: Permission denied, please try again. root@10.79.3.220's password: Permission denied (publickey,password,keyboard-interactive).

gautschimi commented 7 years ago

Hm weird, I've never experienced something like this. just some ideas what is worth to check:

hope anything of this helps,

best, Michael

On 05/11/2017 12:21 PM, GioAgu17 wrote:

I think I logged in over uart, I mean using the uart connection in the ZedBoard.

I tried to change the date, but still the root refuses my trial.

date --set "2017-05-11 12:17:00"

Thu May 11 12:17:00 UTC 2017

date

Thu May 11 12:17:02 UTC 2017

passwd

Changing password for root New password: Bad password: too weak Retype password: Password for root changed by root

passwd

Changing password for root New password: Retype password: Password for root changed by root

then again: ssh root@10.79.3.220 root@10.79.3.220's password: Permission denied, please try again. root@10.79.3.220's password: Permission denied, please try again. root@10.79.3.220's password: Permission denied (publickey,password,keyboard-interactive).

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/pulp-platform/pulpino/issues/71#issuecomment-300747943, or mute the thread https://github.com/notifications/unsubscribe-auth/ARsRndXMsA_ahuN6Uq08AfZ-kERO7qpEks5r4uERgaJpZM4NXwFO.

--

Michael Gautschi phone: +41 44 632 99 58 Integrated Systems Laboratory fax: +41 44 632 11 94 ETZ J69.2 e-mail: gautschi@iis.ee.ethz.ch Gloriastr. 35 ETH Zentrum CH-8092 Zurich

GioAgu17 commented 7 years ago

I copied my public key into the root and now it works!

Thank you so much for the help!

user@vivado-pcie:~/.ssh$ ssh root@10.79.3.220

Best, Giovanni