Skip to content

Configuration menu

Dilshan R Jayakody edited this page Apr 27, 2021 · 2 revisions

The NTP clock driver configuration menu consists of 10 menu items,

  1. Configure for DHCP network
  2. Configure with static IP address
  3. Show network configuration
  4. Synchronize date/time
  5. Set time offset
  6. Show current date/time
  7. Configure NTP server
  8. Configure clock display format
  9. Exit
  0. Exit and restart

  Selection [0..9]:  

Configure for DHCP network

This option enables dynamic network addressing mode. More details about this menu option are available at the Configure network addressing mode section of this documentation.

Configure with static IP address

This option enables static (manual) IP configuration mode. More details about this menu option are available at the Configure network addressing mode section of this documentation.

Show network configuration

Use this menu option to get the network and NTP server configuration and the status.

The sample output received from this menu option are listed below:

  Network connection: UP
  Device IP address: 192.168.1.104
  Netmask: 255.255.255.0
  Gateway IP address: 192.168.1.1
  DNS IP address: 0.0.0.0
  NTP server: 129.6.15.28
  NTP server port: 123

Synchronize date/time

Use this option to resync system date/time with NTP server date/time.

The sample output received from this menu option are listed below:

 Trying to synchronize time with server...
 Establishing connection with time server...
 ..
 Received time from server
 Real-time clock is now synchronized with server time

Set time offset

Use this option to configure the time offset value. More details about this menu option are available at the Configuring NTP server details section of this documentation.

Show current date/time

Display current RTC date and time as listed below:

 Time: 11:21:44 
 Date: 2021/4/26 

Configure NTP server

This option allows users to define the custom NTP server address and port. More details about this menu option are available at the Configuring NTP server details section of this documentation.

Configure clock display format

NTP clock driver supports both 24-hour and 12-hour clock display formats. This menu option allows the user to select the desired clock display format.

After selecting this option, the user can select the clock display format from the following sub-menu:

 1. Display time in 24-hour format
 2. Display time in 12-hour format
 
 Selection [1..2]: 

Exit

Select this option to close the menu prompt and to reactivate the time on seven segment display.

Exit and restart

Close the menu prompt and reboot the system. This option recommended only if the user change network or NTP server details from the configuration menu.