Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    VirtualBox - Clock

    Scheduled Pinned Locked Moved 2.0-RC Snapshot Feedback and Problems - RETIRED
    5 Posts 4 Posters 3.0k Views
    Loading More Posts
    • 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.
    • P
      pisang98
      last edited by

      I'm running the latest 2.0 Beta snapshot on Sun VirtualBox.

      Everything works but the clock is only correct after boot.
      After a few hours it is completly ofset -4 a -6h

      I tried setting the Hardware clock in UTC time in VirtualBox option. But this does not help.

      I'm also running Pfsense in a VMWare server and it works there so it must be because of the VMTools that are in installed.

      Does somebody know how to fix this clock thing in VirtualBox ? or install the virtualbox guest additions for pfsense ?

      1 Reply Last reply Reply Quote 0
      • G
        Gloom
        last edited by

        This is not an issue specific to PFSense. Time drift on VirtualBox clients has been a problem for a while. Most people that encounter this disable it on the host and just point the client to a proper NTP server.

        Never underestimate the power of human stupidity

        1 Reply Last reply Reply Quote 0
        • E
          Efonnes
          last edited by

          In System: Advanced: System Tunables, try setting kern.timecounter.hardware to i8254

          1 Reply Last reply Reply Quote 0
          • D
            danswartz
            last edited by

            what offhand does that do?  i just checked my virtual pfsense and it is several minutes behind the host :(  i guess i can just turn ntp on if all else fails?

            1 Reply Last reply Reply Quote 0
            • P
              pisang98
              last edited by

              @Efonne:

              In System: Advanced: System Tunables, try setting kern.timecounter.hardware to i8254

              Did not help.  clock still runs slow.

              Is there a way to force the ntp client to sync the clock every 30m ?

              1 Reply Last reply Reply Quote 0
              • First post
                Last post
              Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.