Revisión de Establecer el reloj del hardware de Dom, 03/30/2025 - 05:45

La revisión le permite rastrear las diferencias que hay entre distintas versiones de una entrada.

Esta wiki muestra cómo configurar el reloj del hardware mediante la línea de comandos. En sistemas con Libreboot, la configuración de la CMOS está predefinida. Sin embargo, es posible configurar el reloj del hardware fácilmente con la utilidad hwclock, sin necesidad de reiniciar.

hwclock es una herramienta para acceder al reloj del hardware. Permite mostrar la hora actual, configurar el reloj del hardware a una hora específica, configurar el reloj del hardware a la hora del sistema y configurar la hora del sistema desde el reloj del hardware. Esta wiki abarca solo dos funciones de hwclock: cómo configurar el reloj del hardware a la hora actual del sistema y cómo mostrar la hora actual.

Set the System Time

Before using hwclock, make sure you set the right system time with 'timedatectl'. Open a terminal and run:

 timedatectl set-time "2012-10-30 18:17:16"
The time may be specified in this format: "YEAR-MONTH-DAY HOUR:MINUTE:SECOND"

The show the results, run:

 timedatectl

Write System Time to Hardware Clock

Run the following command to set the Hardware Clock to the current System Time:

 sudo hwclock -w
To see the results, run:
 sudo hwclock -r
That's all. You can now reboot your Computer and the hwclock shows the correct time.

Revisiones

03/30/2025 - 05:45
Carlos segura