Skip to contentSkip to conversation

Xenomai Images - Password

DISCUSSION Deniz Uğur 3 participants 8 messages Nov 4, 2020 2 messages not in the archive

lore
Share & tools
lore
#0 lore raw

Hello all,

I’m successfully generating a BeagleBone Black image with optional xenomai-next recipe. When I plug it to BBB it seems to be working. However, the login for root/root does not work. I'm connecting on 192.168.7.2.

Is the default password different from root?

Best regards.

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

#3 lore raw

[re-adding the list]

Quoted 2 lines · Deniz Uğur

The session seems to be established, only password is not accepted. Also no, I’m not using serial console. I tried to add a new user to customizations file but that did not worked.

OK. I do not have a BeagleBone in reach, but I'm cross-checking via qemu-armhf ATM.

Could you try logging in via the serial console? Would allow to check if the password was set, extract log information, possibly also running sshd with debug options on (sshd -ddd).

Jan

Quoted 17 lines
Quoted 16 lines · Jan Kiszka
Quoted 3 lines · Deniz Uğur via Xenomai

Hello all,
I’m successfully generating a BeagleBone Black image with optional xenomai-next recipe. When I plug it to BBB it seems to be working. However, the login for root/root does not work. I'm connecting on 192.168.7.2. Is the default password different from root?

No... that is supposed to work. The password "root" is defined via conf/distro/xenomai-demo.conf.

You are logging in via ssh? Is the session establish, just the password not accepted? Or are you logging in via serial console?

Jan

Signature · 2 lines
Siemens AG, T RDA IOT
Corporate Competence Center Embedded Linux
Signature · 2 lines
Siemens AG, T RDA IOT
Corporate Competence Center Embedded Linux
#4 lore raw

It’s possible to login via serial console. What can I do from here to ensure that ssh is possible?

Quoted 33 lines · Jan Kiszka

[re-adding the list]

Quoted 1 line · Deniz Uğur

The session seems to be established, only password is not accepted. Also no, I’m not using serial console. I tried to add a new user to customizations file but that did not worked.

OK. I do not have a BeagleBone in reach, but I'm cross-checking via qemu-armhf ATM.

Could you try logging in via the serial console? Would allow to check if the password was set, extract log information, possibly also running sshd with debug options on (sshd -ddd).

Jan

Quoted 16 lines
Quoted 16 lines · Jan Kiszka
Quoted 3 lines · Deniz Uğur via Xenomai

Hello all,
I’m successfully generating a BeagleBone Black image with optional xenomai-next recipe. When I plug it to BBB it seems to be working. However, the login for root/root does not work. I'm connecting on 192.168.7.2. Is the default password different from root?

No... that is supposed to work. The password "root" is defined via conf/distro/xenomai-demo.conf.

You are logging in via ssh? Is the session establish, just the password not accepted? Or are you logging in via serial console?

Jan

Signature · 2 lines
Siemens AG, T RDA IOT
Corporate Competence Center Embedded Linux
Signature · 2 lines
Siemens AG, T RDA IOT
Corporate Competence Center Embedded Linux
#5 lore raw

Okay it looks like BB did not boot from sd card at all and loaded the pre-loaded linux. If you happen to know how to change that, I would be really glad. Otherwise we can close this thread.

Thank you for your help.

Quoted 38 lines · Deniz Uğur

It’s possible to login via serial console. What can I do from here to ensure that ssh is possible?

Quoted 33 lines · Jan Kiszka

[re-adding the list]

Quoted 1 line · Deniz Uğur

The session seems to be established, only password is not accepted. Also no, I’m not using serial console. I tried to add a new user to customizations file but that did not worked.

OK. I do not have a BeagleBone in reach, but I'm cross-checking via qemu-armhf ATM.

Could you try logging in via the serial console? Would allow to check if the password was set, extract log information, possibly also running sshd with debug options on (sshd -ddd).

Jan

Quoted 16 lines
Quoted 16 lines · Jan Kiszka
Quoted 3 lines · Deniz Uğur via Xenomai

Hello all,
I’m successfully generating a BeagleBone Black image with optional xenomai-next recipe. When I plug it to BBB it seems to be working. However, the login for root/root does not work. I'm connecting on 192.168.7.2. Is the default password different from root?

No... that is supposed to work. The password "root" is defined via conf/distro/xenomai-demo.conf.

You are logging in via ssh? Is the session establish, just the password not accepted? Or are you logging in via serial console?

Jan

Signature · 2 lines
Siemens AG, T RDA IOT
Corporate Competence Center Embedded Linux
Signature · 2 lines
Siemens AG, T RDA IOT
Corporate Competence Center Embedded Linux
#6 lore raw
Quoted 2 lines · Deniz Uğur

Okay it looks like BB did not boot from sd card at all and loaded the pre-loaded linux. If you happen to know how to change that, I would be really glad. Otherwise we can close this thread.

Ah, ok, starts to make sense.

IIRC, there is a boot button that you have to press during power-on and/or reset in order to make the board boot from SD-card.

Jan

Quoted 41 lines

Thank you for your help.

Quoted 38 lines · Deniz Uğur

It’s possible to login via serial console. What can I do from here to ensure that ssh is possible?

Quoted 33 lines · Jan Kiszka

[re-adding the list]

Quoted 1 line · Deniz Uğur

The session seems to be established, only password is not accepted. Also no, I’m not using serial console. I tried to add a new user to customizations file but that did not worked.

OK. I do not have a BeagleBone in reach, but I'm cross-checking via qemu-armhf ATM.

Could you try logging in via the serial console? Would allow to check if the password was set, extract log information, possibly also running sshd with debug options on (sshd -ddd).

Jan

Quoted 16 lines
Quoted 16 lines · Jan Kiszka
Quoted 3 lines · Deniz Uğur via Xenomai

Hello all,
I’m successfully generating a BeagleBone Black image with optional xenomai-next recipe. When I plug it to BBB it seems to be working. However, the login for root/root does not work. I'm connecting on 192.168.7.2. Is the default password different from root?

No... that is supposed to work. The password "root" is defined via conf/distro/xenomai-demo.conf.

You are logging in via ssh? Is the session establish, just the password not accepted? Or are you logging in via serial console?

Jan

Signature · 2 lines
Siemens AG, T RDA IOT
Corporate Competence Center Embedded Linux
Signature · 2 lines
Siemens AG, T RDA IOT
Corporate Competence Center Embedded Linux
Signature · 2 lines
Siemens AG, T RDA IOT
Corporate Competence Center Embedded Linux
#7 lore raw

Yup, makes sense. Thank you.

Quoted 55 lines · Jan Kiszka
Quoted 1 line · Deniz Uğur

Okay it looks like BB did not boot from sd card at all and loaded the pre-loaded linux. If you happen to know how to change that, I would be really glad. Otherwise we can close this thread.

Ah, ok, starts to make sense.

IIRC, there is a boot button that you have to press during power-on and/or reset in order to make the board boot from SD-card.

Jan

Quoted 39 lines

Thank you for your help.

Quoted 38 lines · Deniz Uğur

It’s possible to login via serial console. What can I do from here to ensure that ssh is possible?

Quoted 33 lines · Jan Kiszka

[re-adding the list]

Quoted 1 line · Deniz Uğur

The session seems to be established, only password is not accepted. Also no, I’m not using serial console. I tried to add a new user to customizations file but that did not worked.

OK. I do not have a BeagleBone in reach, but I'm cross-checking via qemu-armhf ATM.

Could you try logging in via the serial console? Would allow to check if the password was set, extract log information, possibly also running sshd with debug options on (sshd -ddd).

Jan

Quoted 16 lines
Quoted 16 lines · Jan Kiszka
Quoted 3 lines · Deniz Uğur via Xenomai

Hello all,
I’m successfully generating a BeagleBone Black image with optional xenomai-next recipe. When I plug it to BBB it seems to be working. However, the login for root/root does not work. I'm connecting on 192.168.7.2. Is the default password different from root?

No... that is supposed to work. The password "root" is defined via conf/distro/xenomai-demo.conf.

You are logging in via ssh? Is the session establish, just the password not accepted? Or are you logging in via serial console?

Jan

Signature · 2 lines
Siemens AG, T RDA IOT
Corporate Competence Center Embedded Linux
Signature · 2 lines
Siemens AG, T RDA IOT
Corporate Competence Center Embedded Linux
Signature · 2 lines
Siemens AG, T RDA IOT
Corporate Competence Center Embedded Linux
#8 lore raw
In reply to Deniz Uğur

The easiest way is to boot without sd card, login, and then

sudo su
dd if=/dev/zero of=/dev/mmcblk1 bs=1024k count=100

This should make the eMMC unbootable and so boot from SD. Otherwise you can give power while holding down the USER button every time.
________________________________
From: Xenomai <[email protected]> on behalf of Deniz Uğur via Xenomai <[email protected]>
Sent: Wednesday, November 4, 2020 7:33:26 PM
To: Jan Kiszka <[email protected]>
Cc: Xenomai <[email protected]>
Subject: Re: Xenomai Images - Password

Okay it looks like BB did not boot from sd card at all and loaded the pre-loaded linux. If you happen to know how to change that, I would be really glad. Otherwise we can close this thread.

Thank you for your help.

Quoted 38 lines · Deniz Uğur

It’s possible to login via serial console. What can I do from here to ensure that ssh is possible?

Quoted 33 lines · Jan Kiszka

[re-adding the list]

Quoted 1 line · Deniz Uğur

The session seems to be established, only password is not accepted. Also no, I’m not using serial console. I tried to add a new user to customizations file but that did not worked.

OK. I do not have a BeagleBone in reach, but I'm cross-checking via qemu-armhf ATM.

Could you try logging in via the serial console? Would allow to check if the password was set, extract log information, possibly also running sshd with debug options on (sshd -ddd).

Jan

Quoted 9 lines
Quoted 9 lines · Jan Kiszka
Quoted 3 lines · Deniz Uğur via Xenomai

Hello all,
I’m successfully generating a BeagleBone Black image with optional xenomai-next recipe. When I plug it to BBB it seems to be working. However, the login for root/root does not work. I'm connecting on 192.168.7.2. Is the default password different from root?

No... that is supposed to work. The password "root" is defined via conf/distro/xenomai-demo.conf.

Quoted 7 lines
Quoted 7 lines

You are logging in via ssh? Is the session establish, just the password not accepted? Or are you logging in via serial console?

Jan

--
Siemens AG, T RDA IOT
Corporate Competence Center Embedded Linux

--
Siemens AG, T RDA IOT
Corporate Competence Center Embedded Linux

#9 lore raw

Thank you, Giulio. I’ll probably do that once everything works as expected.

Quoted 58 lines · Giulio Moro

The easiest way is to boot without sd card, login, and then

sudo su
dd if=/dev/zero of=/dev/mmcblk1 bs=1024k count=100

This should make the eMMC unbootable and so boot from SD. Otherwise you can give power while holding down the USER button every time.
From: Xenomai <[email protected]> on behalf of Deniz Uğur via Xenomai <[email protected]>
Sent: Wednesday, November 4, 2020 7:33:26 PM
To: Jan Kiszka <[email protected]>
Cc: Xenomai <[email protected]>
Subject: Re: Xenomai Images - Password

Okay it looks like BB did not boot from sd card at all and loaded the pre-loaded linux. If you happen to know how to change that, I would be really glad. Otherwise we can close this thread.

Thank you for your help.

Quoted 38 lines · Deniz Uğur

It’s possible to login via serial console. What can I do from here to ensure that ssh is possible?

Quoted 33 lines · Jan Kiszka

[re-adding the list]

Quoted 1 line · Deniz Uğur

The session seems to be established, only password is not accepted. Also no, I’m not using serial console. I tried to add a new user to customizations file but that did not worked.

OK. I do not have a BeagleBone in reach, but I'm cross-checking via qemu-armhf ATM.

Could you try logging in via the serial console? Would allow to check if the password was set, extract log information, possibly also running sshd with debug options on (sshd -ddd).

Jan

Quoted 16 lines
Quoted 16 lines · Jan Kiszka
Quoted 3 lines · Deniz Uğur via Xenomai

Hello all,
I’m successfully generating a BeagleBone Black image with optional xenomai-next recipe. When I plug it to BBB it seems to be working. However, the login for root/root does not work. I'm connecting on 192.168.7.2. Is the default password different from root?

No... that is supposed to work. The password "root" is defined via conf/distro/xenomai-demo.conf.

You are logging in via ssh? Is the session establish, just the password not accepted? Or are you logging in via serial console?

Jan

Signature · 2 lines
Siemens AG, T RDA IOT
Corporate Competence Center Embedded Linux
Signature · 2 lines
Siemens AG, T RDA IOT
Corporate Competence Center Embedded Linux