Since a week my iMac, running Snow Leopard, behaves strangely in two ways:
First, I always unplug the iMac when I don't use it. Now, when I plug it in, it immediately starts, without me pressing the On-button.
Second, after booting, the date and time are 1st of January, 2001, midnight. Several programs complain instantly. The IP address is something strange, certainly not the usual 192.168.X.Y address. As internet access, I use a network cable connected to a Devolo home-plug (connected to a fibre glass modem).
After two minutes of waiting, the iMac gets a normal IP address. One minute later, the date and time are what they should be.
First, when I googled the symptoms, the cause seemed easy: just replace the internal CR2032 battery. After all, it's 14 years old. I did that and it didn't help. It did change the volume of the startup chime though, it's much louder now.
Then I reset the NVRAM/PRAM, with the four button thing when booting. That helped for one boot, but on the second boot, 1st of January 2001.
I booted in Safe mode. Several times resetting NVRAM/PRAM. I checked the system settings, but they are what they have been the last 10 years.
Unfortunately, nothing seems to work. Is there anything else wrong with the machine? Is there some other battery that needs to be replaced?
Sometimes I booted the iMac without the Devolo, and used WiFi. Even when it did not have an internet connection, the time was always what it should be. So the strange IP address should not be the cause of the iMac not knowing the right date/time.