Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Collapse
Brand Logo

ModalAI Forum

  1. ModalAI Support Forum
  2. General Questions
  3. How to sync RTC to UTC in voxl2?

How to sync RTC to UTC in voxl2?

Scheduled Pinned Locked Moved Unsolved General Questions
3 Posts 2 Posters 449 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K Offline
    K Offline
    kay.han
    wrote on last edited by
    #1

    Hello,

    I am using voxl2. Whenever I connect the battery, the device resets the RTC(Real Time Clock) to 1970-01-01. This is understandable.

    My issue is that I tried to sync the RTC to UTC using several ways, but I couldn't. Can I know the how to sync the RTC to the UTC?

    c596d8db-962e-4332-ad61-278fdbf4be27-image.png

    I tried to use "$ sudo timedatectl set-local-rtc 0", it didn't work.
    38ef0769-e9be-47a3-b9a5-ecd52f488939-image.png

    Another approach is using hwclock, but it didn't work either.
    57757204-a47b-498e-b86b-8dfcf4dad1e6-image.png

    The last approach is the below command, but I met permission denied, even though I am a root user.
    091151ba-0d99-4270-af97-57ead381a201-image.png

    How can I RTC to UTC?

    Thanks,
    Kay

    Eric KatzfeyE 1 Reply Last reply
    0
    • K kay.han

      Hello,

      I am using voxl2. Whenever I connect the battery, the device resets the RTC(Real Time Clock) to 1970-01-01. This is understandable.

      My issue is that I tried to sync the RTC to UTC using several ways, but I couldn't. Can I know the how to sync the RTC to the UTC?

      c596d8db-962e-4332-ad61-278fdbf4be27-image.png

      I tried to use "$ sudo timedatectl set-local-rtc 0", it didn't work.
      38ef0769-e9be-47a3-b9a5-ecd52f488939-image.png

      Another approach is using hwclock, but it didn't work either.
      57757204-a47b-498e-b86b-8dfcf4dad1e6-image.png

      The last approach is the below command, but I met permission denied, even though I am a root user.
      091151ba-0d99-4270-af97-57ead381a201-image.png

      How can I RTC to UTC?

      Thanks,
      Kay

      Eric KatzfeyE Offline
      Eric KatzfeyE Offline
      Eric Katzfey
      ModalAI Team
      wrote on last edited by
      #2

      @kay-han VOXL2 does not have an RTC

      K 1 Reply Last reply
      0
      • Eric KatzfeyE Eric Katzfey

        @kay-han VOXL2 does not have an RTC

        K Offline
        K Offline
        kay.han
        wrote on last edited by
        #3

        @Eric-Katzfey Oh, do you mean I can see the "RTC time" by timedatectl, but it doesn't mean voxl2 has the RTC? I see. Thank you for your answer.

        1 Reply Last reply
        0

        Reading along? Create a free ModalAI Forum account to join in.

        With an account you can reply, ask your own question, get an email when a ModalAI engineer answers, and mark the reply that solved it. Your place in each thread is saved between visits.

        Questions about VOXL, Flight Core, ESCs and ModalAI drones are answered here by the engineers who build them.

        Register Login
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        ModalAI
        Categories Recent Tags ModalAI.com Docs
        © 2026 ModalAI® · Accelerating autonomy for smaller, smarter, safer drones · Powered by NodeBB
        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups