Friday, March 14, 2025

Ntpd Network Time Protocol Dameon setup in GhostBSD 25 install

Ntpd  Network Time Protocol Dameon setup in GhostBSD 25 install

 Kuntal S Kundu 🐧, [3/14/25 10:34 PM]

ntpd service was not enabled on start up, and the timezone (idk) was set to utc! (I selected India during installation!. and after log in into system it was showing correct time too!) so I first enabled ntpd, then run sudo tzsetup and set India from UTC. rebooted and boom
Solution?   ntpd was "yes" in rc.conf but not enabled

 FreeBSD Handbook

32.12.1.2. NTP entries in /etc/rc.conf

 

32.12.1.2. NTP entries in /etc/rc.conf

Set ntpd_enable=YES to start ntpd at boot time. Once ntpd_enable=YES has been added to /etc/rc.conf, ntpd can be started immediately without rebooting the system by typing:

# service ntpd start

Only ntpd_enable must be set to use ntpd. The rc.conf variables listed below may also be set as needed.

Set ntpd_sync_on_start=YES to allow ntpd to step the clock any amount, one time at startup. Normally ntpd will log an error message and exit if the clock is off by more than 1000 seconds. This option is especially useful on systems without a battery-backed realtime clock.

 

Reasons to try and test drive GhostBSD from a USB flash drive stick

Kuntal S Kundu 🐧, [3/14/25 10:34 PM]
ntpd service was not enabled on start up, and the timezone (idk) was set to utc! (I selected India during installation!. and after log in into system it was showing correct time too!) so I first enabled ntpd, then run sudo tzsetup and set India from UTC. rebooted and boom

Kuntal S Kundu 🐧, [3/14/25 10:34 PM]
ntpd was "yes" in rc.conf but not enabled

Kuntal S Kundu 🐧, [3/14/25 10:43 PM]
yesterday I had installed the ghostbsd, but lots of issues like tzsetup, screen tearing, appimage incompatibility made me to take decision of wiping out it and reinstall debian. But later I think again about ghostbsd, and I decided to take the challenge, so I installed it again today
 
Challenge Test Drive GhostBSD  25p2   ghostbsd.org/download 
 

manually  run update clock on system without a realtime clock like the raspberry Pi

NTPD,  NTPDATE   ntpd -q -g       or How to update, when clock is years off kilter, time? 

service ntpd start   #  another method from command line to start ntpd daemon 




 
 Setup NTPD  daemon for GhostBSD in  /etc/rc.conf file
 

No comments:

Post a Comment