Orin AGX and SSM agent compatible?

Recently, i am using Orin AGX.
I set up Orin AGX with SSM Agent and ssh from an ec2 instance. Sometimes the Orin disconnect to the Internet, and i cannot ssh from ec2 to the Orin. But if i restart ssm service, everything worked fine.
I have set up daily reboot and daily restart ssm service, but it was quite inconvenience since the device is far from my city.
Had anyone have the same issue with me?

Hi trungnh30,

Are you using the devkit or custom board for AGX Orin?
What’s your Jetpack version in use?

Sorry that we’ve not verified with this use case.
Could you share the detailed steps how you setup for SSM Agent?

Could you also share the full syslog (/var/log/syslog)and kernel log(/var/log/kern.log) for further check to find what causes the disconnection?

1 Like

Thank you for your response.

Are you using the devkit or custom board for AGX Orin?

I’m using devkit AGX Orin

What’s your Jetpack version in use?

Currently i’m using Jetpack 5.1.2 (upgrade from 5.1.1)

Could you share the detailed steps how you setup for SSM Agent?

These below are steps i did

sudo apt install curl -y
mkdir /tmp/ssm
sudo curl https://s3.amazonaws.com/ec2-downloads-windows/SSMAgent/latest/debian_arm64/amazon-ssm-agent.deb -o /tmp/ssm/amazon-ssm-agent.deb
sudo dpkg -i /tmp/ssm/amazon-ssm-agent.deb
sudo service amazon-ssm-agent stop
sudo -E amazon-ssm-agent -register -code "my-activation-code" -id "my-activation-id" -region "ap-northeast-1"
sudo systemctl start amazon-ssm-agent.service

Could you also share the full syslog (/var/log/syslog )and kernel log(/var/log/kern.log ) for further check to find what causes the disconnection?

Files below are syslog and kernel log. I got the lost connection notification around: 2023-08-29 03:21:55
kern_orin4.log (7.7 MB)
syslog_orin4 (21.3 MB)

More details about my situation:

  • In the previous time, i used jetpack 5.1.1, and the disconnection issue happened too. And not only disconnect to Internet, but all Wifi Wired Connection (question mark ? appeared on the network icon in GUI).
  • Disconnect and reconnect, remove and re-add network didn’t help. Only reboot the device and restart ssm helped.
  • On jetpack 5.1.2, i upgraded it recently (<7 days ago), it didn’t happened to lost disconnection till 29/8, i dont know if it’s related?

There is no update from you for a period, assuming this is not an issue any more.
Hence we are closing this topic. If need further support, please open a new one.
Thanks

Aug 29 03:23:37 ubuntu pppd[1923]: Modem hangup
Aug 29 03:23:37 ubuntu NetworkManager[1923]: Modem hangup
..
Aug 29 03:23:37 ubuntu pppd[1923]: Connection terminated.
Aug 29 03:23:37 ubuntu NetworkManager[1923]: Connection terminated.
..
Aug 29 03:23:38 ubuntu ModemManager[983]: <info>  [modem0] state changed (connected -> disconnecting)

Could you use ssh connect to the devkit from your host PC rather than ec2?
May I know what’s your block diagram of connection in this setup?

Is there the serial console log when the connection lost?