Skip to content Skip to main navigation Skip to footer

Tag: CyBlock Appliance

Configuring date/time on the appliance

There are two ways to set the time on the appliance.

Method 1: Synchronizing with NTP

Newer appliances have been updated to include a daily cron job (scheduled task) to sync the date/time setting.

  1. To enable advanced options, enter http://<applianceip>/setadv.php in the browser address bar, and set the flag to enabled¹.
  2. Navigate to System Status – ADV Shell Scripts.
  3. Enter the following, and click Submit:

yum install ntpdate -y
echo ntpdate pool.ntp.org > /etc/cron.daily/ntpdate
chmod 755 /etc/cron.daily/ntpdate
/etc/cron.daily/ntpdate

Method 2: Manual entry of date/time

1. Follow the above instructions to get to ADV Shell Scripts.

2. Enter the current date and time manually, using the following format

date -s “ddMMM YYYY HH:mm:ss”

3. Click Submit.

 


¹ For version 6.8.3a and earlier, the shell-script executor is located in the hidden menu. In the browser address bar, enter http://<applianceip>/admin/hidden.php. In the Appliance section, select Shell Script Executor. Enter the commands above.

Changing time zone on appliance

To set the time zone on the appliance, do the following:

  1. In your interface address bar, go to http://<IPaddress>/setadv.php and enable the adv flag setting
  2. Go to the ‘System Status — ADV Shell Scripts (Pre v905 – Go to http://<applianceIP>/admin/hidden.php and select the shell script link)
  3. Run the command:
    cp /usr/share/zoneinfo/America/<Time zone city> /etc/localtime
  4. Click Submit.
  5. Enter the date. (date -s “ddMMM YYYY HH:mm:ss”)
  6. Click Submit.
  7. You should now be on the correct time zone.

Here is a breakdown of time zone cities:

Los_Angeles = Pacific Time Zone
Denver = Mountain Time Zone
Chicago = Central Time Zone
New_York = Eastern Time Zone

Also this path cp /usr/share/zoneinfo/US has files specifically for Pacific, Mountain, Central, and Eastern time zones.