Questions tagged [rtc]

Real-time clock is a computer clock that keeps track of the current time.

Most computers have one or more hardware clocks which record the current "wall clock" time. These are called "Real Time Clocks" (RTCs). One of these usually has battery backup power so that it tracks the time even while the computer is turned off. RTCs often provide alarms and other interrupts.

24 questions
15
votes
1 answer

How to tell Ubuntu that hardware clock is local time?

How to tell Ubuntu that hardware clock is local time? This command didn't help: timedatectl set-local-rtc 1
Dims
  • 1,861
9
votes
1 answer

shut down linux server and turn on automatically at specific time

I'm having an assignment where the lecturer is asking me to create a bash script to shut down a server at 11pm and turn it on at 6am. I'm able to do it by using sudo shutdown -h 23:00 and it works. But the problem is that I have no idea how to turn…
JLWK
  • 123
7
votes
3 answers

Sleep & Wakeup Schedule | Ubuntu 16.04.3 LTS

I've been looking for solutions to have my computer go to sleep at 1am EST and wakeup at 6pm EST every day. Thus far I've been unsuccessful. I tried using rtcwake and cronjobs as well as the script here: Automatically Resume from Sleep / Standby /…
Ryan
  • 231
6
votes
1 answer

rtcwake: write error

I'm trying to send my system to sleep using e.g. rtcwake -v -m disk -s 60 and receive the following output rtcwake: RTC wird als UTC interpretiert UTC wird verwendet. delta = 1 tzone = 0 tzname = UTC systime = 1524206927, (UTC)…
Bernd
  • 61
4
votes
2 answers

Prevent clock from advancing to a system time after Ubuntu Server build time

I have an Ubuntu Server 18.04.1 LTS in a lab environment where I need to set the date a couple of years back in time (e.g. 2016-04-22). I can set the older date/time without any issues but the OS always resets the date/time to 2018-01-28 15:58…
3
votes
1 answer

Something is setting an rtc wakealarm. How do I stop it?

I am using Xubuntu 14.10 on a 3rd Gen Lenovo Carbon X1. A few days ago I noticed that my laptop was turning on by itself. I checked /proc/driver/rtc and saw that a wakealarm was set. So I did echo 0 > /sys/class/rtc/rtc0/wakealarm as root, and…
3
votes
1 answer

Rapsberry Pi 4 with RTC and Ubuntu 20.04

I have a Raspberry Pi 4 and Installed Ubuntu 20.04 on it. Unfortunately, it will not be connected to the internet all the time meaning the date will be set back to the build time after each reboot. I have added an external RTC module (DS3231 working…
2
votes
0 answers

Can't connect to server through SSH after rtcwake reboot

I used crontab to create an rtcwake command to shut my computer down at midnight, and start it up at noon. The problem is, once it turns off, and then on again, I can't connect to the server through Putty (an SSH client). The server computer is at a…
2
votes
0 answers

Error using rtcwake: unable to find device

I like to run rtcwake to wake up my machine automatically from suspend after some time using this command $ sudo rtcwake -u -s 60 -m mem But I get the following error: rtcwake: /dev/rtc0: unable to find device: No such file or directory Is there a…
SaTa
  • 1,036
1
vote
2 answers

RTCWake doesn't wake Ubuntu Server

Good Afternoon, I have switched from a Windows server to Ubuntu server and I have managed to replicate all the items I had on the old server with the exception of sleep mode. I currently have Ubuntu Server 16.04.2 LTS installed and I simply cannot…
Andy M
  • 11
1
vote
1 answer

I/O Errors (filesystem readonly) after wake with rtcwake

I am trying to schedule the uptime of my server (it's in my bedroom) with rtcwake. The sleeping and waking gives no problems. But after waking the filesystem is set to readonly and I constantly get I/O errors. Thats not workable. I'm using the…
user510650
1
vote
1 answer

XPCOM error 0x80004005 with RTC 4.0.6 on Ubuntu 14.04 64 bit

I had a problem when I start Rational Team Concert 4.0.6 which is installed on Rational Software Architect 9.1.2 (eclipse 4.2) on Ubuntu 14.04 64 bit. I also had the same problem as described by this defect JVM Terminated. Exit Code=160 when…
aibrahim
  • 277
  • 2
  • 10
1
vote
0 answers

Description of /proc/driver/rtc output

I probably have a dead CMOS (BIOS main board?) battery. When I power on my computer the date and time is reverted to an old date (something like 2009-1-1). So, I checked the following: $ cat /proc/driver/rtc rtc_time : 09:43:09 rtc_date :…
FedKad
  • 13,420
1
vote
0 answers

Difficulty loading an RTC driver - 22.04 with a DS3231, Raspberry Pi

I have a DS3231 attached and can read / write time successfully. i2cdetect shows it accessible on i2c address 0x68 as you'd expect. None of the advice about configuring an i2c-rtc driver in /boot/config.txt has any effect. dmesg |grep 3231 returns…
1
vote
1 answer

How to restart a sleeping PC at scheduled time if unattended-upgrades has scheduled a restart

I see that unattended-upgrades issues shutdown -r command with the scheduled time. However, the PC is sleeping at that time. It also doesn't restart after manual wakeup. This is for a computer novice user (grandma), she most certainly forgets to…
Lyubomir
  • 191
1
2