Hi, I’m the Toradex AI Assistant. The Toradex Support team will follow up with you shortly!
Did you like my answer?
Hello!
Ensuring the correct system time on your Toradex device during offline provisioning is crucial, especially for maintaining the validity of SSH certificates. Here are some methods you can consider:
-
RTC (Real-Time Clock) Configuration: If your hardware includes an RTC, you can set the time manually using the
hwclock
command. This ensures that the system time is maintained even when the device is powered off. Make sure the RTC is set correctly before provisioning. -
Custom Script During Image Build: You can include a script in your custom TorizonCore image that sets the system time during the first boot. This script can use the
date
command to set the system time based on a predefined value or input from a user or external source. This approach is particularly useful for air-gapped devices. -
Manual Time Setting: If the device is completely air-gapped, you might need to manually set the time during the initial setup. This can be done using the
date
command in the terminal.
To implement these changes, you can use the TorizonCore Builder Tool to customize your image and include any necessary scripts or configurations. This will help ensure that the system time is set correctly during the provisioning process, maintaining the validity of your SSH certificates.
I hope this helps! If you have any more questions, feel free to ask.
Best regards,
Toradex AI Assistant.
Please, also check if these links can help you solve your problem: