User Guide Appendix
APconnections, Inc. // 303.997.1300 // www.netequalizer.com
Page 114 of 120
rev. 20170131
© 2014-2017 APconnections, Inc. All Rights Reserved
version 8.4
Appendix 6 - Syncing NetEqualizer Date/Time
Keep the NetEqualizer Date/Time synchronized with either your own NTP Time
Server (3A) or Internet Time Servers (3B)
Over time the NetEqualizer time will drift, like any server. You can configure the
NetEqualizer to use your own NTP (Network Time Protocol) Time Server or an Internet Time
Server.
Follow the instructions below, using either #3A (Sync to your NTP Time Server) or #3B
(Sync to Internet Time Servers), but NOT both. If you prefer to use a command line
interface, you can edit the /root/settime.sh and /root/crontab files from the command line
or SSH with a text editor.
Note: You must have NetEqualizer setup so that it can access the Internet for this to function.
Note: You must make sure that ntop is not running, or
stop ntop,
before changing the time on your
NetEqualizer. Otherwise ntop will not function to create graphs. You can check this on the
NetEqualizer Dashboard. The ntop process is running if the ntop button is ON (GREEN); ntop is off if
the button is OFF (RED). If the ntop process is ON (GREEN),
Click on -> View Historical Reports ->
[Start/Stop ntop],
and stop ntop.
Set Time Zone
You should also set your time zone for the NetEqualizer.
Note: This does NOT need to be added to the autostart file or the cron job
.
1) Login to your NetEqualizer console with the default root account credentials. Log into
the unit with SSH or via a keyboard and monitor directly connected to the NetEqualizer.
2) At the command prompt, type in:
dpkg-reconfigure tzdata
and then follow the on-screen instructions.
3) Once you are done, you can type Ctrl-D to logout of the shell.
Keep the NetEqualizer Date/Time synchronized with either your own NTP Time
Server (3A) or Internet Time Servers (3B)
1.
Click on -> Maintenance -> [Run a Command]
.
Type in
touch /root/settime.sh; chmod a+x /root/settime.sh
Blank screen will come up when command is processed.
Click on Back Arrow to return to Run a Command and then Close the window.
2.
Click on -> Maintenance -> [Edit Any Text File].
Type in
/root/settime.sh
to open this file. The file is initially BLANK.
3.
Type the following lines into the settime.sh file.
3A. Sync to your NTP Time Server…
/usr/sbin/ntpdate 10.0.0.1
<return>
(replace 10.0.0.1 with your ntp time server IP)
/sbin/hwclock
-
-
localtime
-
-
systohc
<return>
(type in
2 DASHES
before each parameter)
3B. Sync to Internet Time Servers…