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

    Pfsense Date & Time

    Scheduled Pinned Locked Moved Captive Portal
    55 Posts 9 Posters 45.8k Views 4 Watching
    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.
    • A Offline
      Ashutosh Jain
      last edited by

      @muswellhillbilly:

      @ashi_220:

      No i'm not getting correct date it show me old date & time Fri Jan 1 4:10:52 UTC 2010, Their is no CMOS battery issue.

      Your time is over six years out. I repeat, have you checked the date/time in your system BIOS at bootup?

      Yeah, Now it is changed & show me current date & time. I change Date/time in BIOS settings.
      But one thing that how it is changed & getting six year old date/time when i was not change any date/time settings??

      Thank u very much :)

      1 Reply Last reply Reply Quote 0
      • C Offline
        cmb
        last edited by

        Configure a NTP server under System>General Setup.

        1 Reply Last reply Reply Quote 0
        • M Offline
          muswellhillbilly
          last edited by

          @ashi_220:

          how it is changed & getting six year old date/time when i was not change any date/time settings??

          My guess is that your CMOS battery may be running low generally, though maybe not enough to bomb out completely. Might be worth replacing it in the long run, and also do what cmb suggests and set an NTP server in your settings.

          1 Reply Last reply Reply Quote 0
          • A Offline
            Ashutosh Jain
            last edited by

            @cmb:

            Configure a NTP server under System>General Setup.

            Already configure NTP server.

            1 Reply Last reply Reply Quote 0
            • A Offline
              Ashutosh Jain
              last edited by

              @muswellhillbilly:

              @ashi_220:

              how it is changed & getting six year old date/time when i was not change any date/time settings??

              My guess is that your CMOS battery may be running low generally, though maybe not enough to bomb out completely. Might be worth replacing it in the long run, and also do what cmb suggests and set an NTP server in your settings.

              I think their may be issue of CMOS battery. I had already configure NTP server.

              1 Reply Last reply Reply Quote 0
              • S Samuel BF referenced this topic on
              • C Offline
                Cleetus Antony @Iahmad
                last edited by

                @Iahmad
                I have the same issue. My BIOS time is correct.
                Is there anyway I can set time by command prompt.

                E GertjanG 2 Replies Last reply Reply Quote 0
                • E Offline
                  elvisimprsntr @Cleetus Antony
                  last edited by

                  @Cleetus-Antony said in Pfsense Date & Time:

                  I have the same issue. My BIOS time is correct.

                  Is your BIOS time UTC or local?

                  Linux/FreeBSD requires it to be UTC time

                  Then make sure to configure the correct timezone for your location.

                  C 1 Reply Last reply Reply Quote 0
                  • GertjanG Offline
                    Gertjan @Cleetus Antony
                    last edited by

                    @Cleetus-Antony

                    And why wouldn't the pfSense build in NTP client work for you ?
                    Or isn't your pfSense connected to the Internet ?

                    No "help me" PM's please. Use the forum, the community will thank you.
                    Edit : and where are the logs ??

                    C 1 Reply Last reply Reply Quote 0
                    • C Offline
                      Cleetus Antony @Gertjan
                      last edited by

                      @Gertjan PFSENSE connected to internet and everything is working. Clients r getting internet thru pfsense. When I want to create rules with scheduler, due to time wrong time, the rule doesnt work as indented for clients. Any clue ?

                      1 Reply Last reply Reply Quote 0
                      • C Offline
                        Cleetus Antony @elvisimprsntr
                        last edited by

                        @elvisimprsntr
                        I set the correct time zone in pfsense. Date is correct. but the time is few hours difference. Looks like the time in BIOS is local. there is no option I can see in BIOS to change to UTC. What am I missing ?

                        E 2 Replies Last reply Reply Quote 0
                        • E Offline
                          elvisimprsntr @Cleetus Antony
                          last edited by

                          This post is deleted!
                          1 Reply Last reply Reply Quote 0
                          • E Offline
                            elvisimprsntr @Cleetus Antony
                            last edited by

                            @Cleetus-Antony

                            simply set the BIOS time to UTC HH:MM:SS

                            https://www.timeanddate.com/worldclock/timezone/utc

                            C 2 Replies Last reply Reply Quote 1
                            • C Offline
                              Cleetus Antony @elvisimprsntr
                              last edited by

                              @elvisimprsntr
                              Time in BIOS is correct and its in UTC format. Still I installed new battery in motherboard.
                              But even after setting correct time zone in pfsense, time is 7 Hours ahead.

                              E 1 Reply Last reply Reply Quote 0
                              • E Offline
                                elvisimprsntr @Cleetus Antony
                                last edited by

                                @Cleetus-Antony

                                1. GUI: stop NTP service
                                2. CLI: ntpdate time.nist.gov
                                3. GUI: restart NTP service
                                C 3 Replies Last reply Reply Quote 0
                                • C Offline
                                  Cleetus Antony @elvisimprsntr
                                  last edited by

                                  This post is deleted!
                                  1 Reply Last reply Reply Quote 0
                                  • C Offline
                                    Cleetus Antony @elvisimprsntr
                                    last edited by

                                    @elvisimprsntr

                                    Did the same. I got below msg on output.
                                    Still the time is wrong.. Now 4 Hours 30 min difference.

                                    14 Jun 19:03:04 ntpdate[63408]: the NTP socket is in use, exiting

                                    1 Reply Last reply Reply Quote 0
                                    • C Offline
                                      Cleetus Antony @elvisimprsntr
                                      last edited by

                                      @elvisimprsntr
                                      14 Jun 19:14:57 ntpdate[69805]: no server suitable for synchronization found

                                      this is the result of second try

                                      1 Reply Last reply Reply Quote 0
                                      • C Offline
                                        Cleetus Antony @elvisimprsntr
                                        last edited by

                                        @elvisimprsntr
                                        "DNS Resolver is stopped or Disabled" when we chk the tatus of DNS Resolver.
                                        In the DNS Resolver page, the Enable DNS Resolver tick mark is ON
                                        May be NTP server setting is not resolving ??????
                                        DNS Resolution behavior is set as Default.(First use local and fall back to remote)

                                        DNS forwarder is ON and working.

                                        GertjanG 1 Reply Last reply Reply Quote 0
                                        • GertjanG Offline
                                          Gertjan @Cleetus Antony
                                          last edited by

                                          @Cleetus-Antony said in Pfsense Date & Time:

                                          DNS forwarder is ON and working.

                                          Then the NTP client can resolve.

                                          No "help me" PM's please. Use the forum, the community will thank you.
                                          Edit : and where are the logs ??

                                          C 2 Replies Last reply Reply Quote 0
                                          • C Offline
                                            Cleetus Antony @Gertjan
                                            last edited by

                                            @Gertjan But no effect. Tried all the ways . Time is still 4 and half hour ahead.

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