Tag: NTP server
-
Create web interface for NTP server – dashboard.js & dashboard.html (Part 5)
-
Create web interface for NTP server – practicing MySQL (Part 4)
This is part of my job in Web Programming project. The database is not related to this NTP server project. It is only used for illustrating how to create database, create tables and manipulate data. Enter Mysql console mode:mysql mysql> create database onlineshop;mysql> show databases;+——————–+| Database |+——————–+| information_schema || mysql || onlineshop || performance_schema ||… Read more
-
Create web interface for NTP server – index.js & index.html (Part 3)
In a typical Express application, the index.js file under the route ‘/’ serves as the primary router for handling requests directed at the root URL (/). Usage and Functions of index.js In my index.js, I will add the some route handlers. (A) Module Imports: (B) When a HTTP GET request is made to path /login, /config, /account, /dashboard, the matched route… Read more
-
Create web interface for NTP server – apps.js (Part 2)
Let’s understand the file structures first. Files and directories are created when node.js is installed. Each of these directories serves a distinct purpose in organizing the various components of a web application, facilitating maintainability and clarity in your project’s structure. Here’s a breakdown of the types of files typically found in the specified directories of… Read more
-
NTP Synchronization problem in NTP server
When the GPS receiver is turned off for a day and then powered back, you will find the GPS receiver works fine by typing Type the “ntpq -p” and return messages becomes This means NTP server cannot sync the time with GPS receiver. Check with /var/log/ntp.log, you find The error message “SHM: difference limit exceed,… Read more
-
Create web interface for NTP server – install NodeJS, Express and MySQL (Part 1)
The NTP server hardware has been properly assembled, connected, and configured to function correctly. The detail can be read at the following URL link: https://cs-student.com/create-a-ntp-server-using-orange-pi-zero-2-and-gps-receiver/ Next, I plan to develop a web interface for adjusting the IP address and time, as well as for monitoring the received satellite information. Let’s start ! (1) Install Node… Read more
-
Create a NTP server using Orange-pi Zero 2 and GPS receiver
In my previous post, I outlined the steps to create an NTP server using a Raspberry Pi 4B and GPS receiver. However, the cost of a Raspberry Pi 4B with a LAN port is quite high. Therefore, I decided to switch to the Orange Pi Zero 2, which can reduce costs by one-third. The steps… Read more
-
Create a NTP server using Raspberry-pi and GPS receiver
In this project, a Raspberry Pi 4B is connected to a Neo7 GPS receiver via a USB cable to obtain GPS data, particularly the time information. The Raspberry Pi will then be configured as an NTP server for other IP-based devices. Real ApplicationIn a secure CCTV system, all components, including cameras, network switches, and NVR… Read more