How to fix timezone data in pfSense/freeBSD?

20,082

Using pfSense 2.4.2 (current version):

  • Access the webConfigurator GUI

  • Click on the menu icon at the very top right of the window

  • Select System

  • Select General Setup

  • Scroll about halfway down this options page to the timezone selections. You can choose either GMT +/- a specific value, or geographic locations, such as cities, etc.

  • After the changes, you may need to reboot the pfSense device before it starts reporting the correct time.

Share:
20,082

Related videos on Youtube

Dims
Author by

Dims

Software developer & Machine Learning engineer C/C++/Java/C#/Python/Mathematica/MATLAB/Kotlin/R/PHP/JavaScript/SQL/HTML/ LinkedIn: http://www.linkedin.com/in/dimskraft Telegram: https://t.me/dims12 I prefer fishing rod over fish.

Updated on September 18, 2022

Comments

  • Dims
    Dims almost 2 years

    We have special situation with timezones here in Russia. Recently government had cancelled timesave shifting and it was no timeshifts for some time, but recently they decided to make one "last" timeshift backward.

    All operating systems, including Windows 8 and Ubuntu, shifted time correctly and automatically.

    But not pfSense: it shows time hour ahead.

    How to fix? Probably I can edit timezone somewhere?

    UPDATE

    Sample commands:

    $ date
    Mon Oct 27 14:53:34 MSK 2014
    $ date -u
    Mon Oct 27 10:53:41 UTC 2014
    

    Current currect time in MSK was 13:53.

    • user1686
      user1686 over 9 years
      Does date -u show the correct UTC time? It seems pfSense doesn't actually have timezone data at OS level...
    • Dims
      Dims over 9 years
      See my update. Yes date -u shows correct UTC time, while date shows incorrect MSK time and it is different. Hence it HAS timezone data somewhere, just incorrect one
  • Dims
    Dims over 9 years
    freebsd-update: Command not found. Trying to install freebsd-update with pkg also failed. This is pfsense router based on freebsd, may be it is limited distribution.
  • harrymc
    harrymc over 9 years
    I have rewritten my answer for pfSense.