- Feb 06, 2023
-
-
Adam Wujek authored
Don't kill other ntpd instances. Signed-off-by:
Adam Wujek <dev_public@wujek.eu>
-
Adam Wujek authored
Signed-off-by:
Adam Wujek <dev_public@wujek.eu>
-
- Jun 11, 2020
-
-
Grzegorz Daniluk authored
-
- May 26, 2020
-
-
Grzegorz Daniluk authored
-
- May 22, 2020
-
-
Grzegorz Daniluk authored
-
- May 20, 2020
-
-
-
Some deamons/etc that log messages to syslog do not specify facility.level in their messages. The logger is configured to parse the message looking for facility.level (option: --prio-prefix). If the message does not include If no facility.priority is specified, the logger will use the one specified after -p, this is now provided. For example, PPSi does not specify facility.priority in messages (hopefully, this will change), without "-p daemon.info", it was reported as user.info. If user wishes to, he/she can override. This is the default config
-
-
-
- May 19, 2020
-
-
Grzegorz Daniluk authored
-
- Apr 15, 2020
-
-
Jean-Claude BAU authored
-
- Apr 09, 2020
-
-
Grzegorz Daniluk authored
-
Grzegorz Daniluk authored
This reverts commit 9c8412e3. S59leap_seconds_file_update is already there to call the script at boot time.
-
- Apr 08, 2020
-
-
Grzegorz Daniluk authored
-
Grzegorz Daniluk authored
-
- Mar 30, 2020
-
-
Maciej Lipinski authored
Setting the options to force dot-config/IP over DHCP can be dangerous. Until now, the switch would wait endlessly in an infinite loop. This commit introduces a way to escape the loop. This can be done by connecting to the back UART and pressing any key.
-
- Mar 27, 2020
-
-
Jean-Claude BAU authored
-
- Mar 13, 2020
-
-
Jean-Claude BAU authored
-
- Mar 09, 2020
-
-
Jean-Claude BAU authored
- New script to generate the VLAN kconfig - Allows raw configuration for vlan ports - New key for PTP VID
-
- Jan 14, 2020
-
-
Jean-Claude BAU authored
As monit process is started after other processes, it does not take into account the 'unmonitor' messages sent from start scripts (ldap.sh, ...). This generates error messages at startup. To avoid that, the configuration of monit is set now dynamically in the apply_dotconfig script. All disabled processes are then removed from the configuration to avoid errors due to process start order. Also the first monitoring cycle is postponed by 30s at startup.
-
- Jan 13, 2020
-
-
Jean-Claude BAU authored
If dot-config is read remotly using DHCP for the URL, the host name in the URL is not well substitute. The fix forces the update of "hostname" when the script dhcp_get_filename.sh is called.
-
- Jan 07, 2020
-
-
Jean-Claude BAU authored
When the configuration indicates that the network is forced to use the DHCP service for its setup (CONFIG_ETH0_DHCP=y), the script waits forever the availability of the DHCP service. In the other cases, the behavior remains unchanged.
-
Jean-Claude BAU authored
When the dot-config file is read at startup using the DHCP service to get the server IP address, the script waits forever the availability of DHCP service in the following case : - CONFIG_DOTCONF_SOURCE_FORCE_DHCP=y AND CONFIG_ETH0_DHCP=y CONFIG_ETH0_DHCP: Set to indicate that the network is forced to use DHCP for its setup. In the other cases, the behavior stay unchanged.
-
- Nov 14, 2019
-
-
Jean-Claude BAU authored
- ARB_GM correspond to clock class 13. - Interface changed with assembly_ppsi_conf.sh : - The clock class number is always defined in dot-config. assembly_ppsi_conf.sh uses it instead of the timing mode. - The PTP options (accuracy, variance, timeSource) can be overwritten and KConfig proposes always the default ones depending of the timing mode.
-
- Oct 11, 2019
-
-
Jean-Claude BAU authored
-
Jean-Claude BAU authored
-
- Aug 02, 2019
-
-
Jean-Claude BAU authored
Some scripts write to files to pass information to SNMP. To avoid read access failure from SNMP, the previous file is copied to a .old file then the new one is created.
-
- Jul 03, 2019
-
-
Jean-Claude BAU authored
The update is related to the new feature introduced in Kconfig for the logging of messages (default_syslog)
-
Jean-Claude BAU authored
The system clock monitor measures the offset between the local time and the NTP time. If this offset exceed a given threshold an alarm will be raised .
-
Jean-Claude BAU authored
KConfig has been improved adding new extra constraints when the timing mode is changed. It has an impact on port configuration (externalPortConfiguration & default bmc mode) and also on the overwritten clock class.
-
- Jun 26, 2019
-
-
Maciej Lipinski authored
Using date was not a good ideal (i.e. format "file_name-date") because the date on the switch can change due to PTP synchronization. Now, files are indexed with number
-
Maciej Lipinski authored
Another option is added in Kconfig that applies to all the deamons that provide <facility*8+priority> in their messages. If logging in Kconfig is set to "default_syslog", the logger is run with the option --prio-prefix. With this option, the facility/priority from message is used. All the other otions for "Logint directions.." are left unchnaged.
-
Maciej Lipinski authored
-
- Add a new tool (wrs_leapsec) to check for an incoming leap second. It is done by parsing the leap second file. If a leap second is detected then adjustment parameters for the clock algoritm are set in the kernel. - Start the tool at startup - With cron, execute the tool every 3 hours - As many tools need to parse the leap seconds file, functions have been added in the library and then called by these tools
-
- Install cron - New leap_seconds_file_update script. Launched at startup and then 1 time per day by cron - Kconfig update to setup from where the file should be downloaded
-
The boot server IP is saved into /tmp/boot_server_ip. It can be useful to get it to download files from this location in other scripts.
-
-
The -n option in the wr_date tool is used for a dry run. It execute the code without applying changes in the system and the hardware. However calling "wr_date -n set host" was not setting the date but applying the TAI offset. To make things more consistant, a new option has been added. Calling "wr_date set host tai" now sets only the TAI offset. The wr_date script has been changed to take into account this modification of the behavior.
-
- Jun 25, 2019
-
-
Adam Wujek authored
Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-
Adam Wujek authored
If the build or image is broken and sdb-read is missing don't try to overwrite hwinfo Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
-