Support needed for Rock 5B

Hi team,

Recently I’ve started working on Rock 5B and I’ve installed Ubuntu image which is downloaded from official site “rock-5b-ubuntu-focal-server-arm64-20220919-0839-gpt.img.xz” .

I am facing two issues with this Rock 5B, Kindly please help me with below mentioned issues.

  1. Having issue with IP configurations, initially I connected the device to DHCP network and fetched one DHCP IP, later I installed netplan package for changing to static IP and I changed to static IP using netplan apply. After that I stopped and disabled dhcpcd.service and NetworkManager.service as I did for Rock 3A (suggested by one of the community people). But what is happening is whenever I do reboot (sometimes) IP is getting disappearing from the device. So I enable dhcp service and again changing it to static ip.

  2. I am using Server OS, connected to Monitor using HDMI and I did manual reboot using power button . But the device went to ideal mode, not at all working. I locally connected using debugging, I tried and its working in local. Again I connected the device to monitor and its printing logs and going to ideal mode, Please check below below image for reference.

When I try to do SSH from another system, its showing as “ssh: connect to host 192.168.XXX.XXX port 22: Connection refused”

Hope these information is useful for helping me. Kindly help me with this.

I wonder why there is no netplan by default. That’s why I use nmtui to setup networking.

Yes, Its not there, I manually installed. Also tried using nmtui, still not getting solution.

for the ssh problem simply type in the command line (as root or with sudo)

systemctl enable --now sshd

Thanks for your response, I tried above command. But again I am facing same issue. Is there any alternate solution?

Failed to enable unit: File /etc/systemd/system/sshd.service already exists.

try to reinstall sshd with

sudo apt install openssh-server

if that doesnt work i am out of solutions

Can you rewrite the image and just configure networking with nmtui? I think sshd should run fine in that case and there is no need to enable the service manually - as you see it is already there.

Hope you did not install some firewall accidentally.

Hello,
Thanks for your solution, I used nmtui for changing IP. Its working fine. Could you please let me know is there any config file available for nmtui or can we access this through python ?