Open main menu

Changes

PiKVM-A3

2 bytes removed, 09:41, 3 February 2023
rw
systemctl enable --now kvmd-oled
ro
 
 
'''Q: How to enable RTC?'''
 
A: Firstly, insert the C1220 button battery.
run the following command:
rw
sudo nano /boot/config.txt
#Then change the line: '''dtoverlay=i2c-rtc,pcf8563''' to '''dtoverlay=i2c-rtc,ds1307'''
#Test RTC
#Display the current time of the Raspberry Pi
date
#Write the time of Raspberry Pi to DS1307
sudo hwclock -w
#Read the time of DS1307
sudo hwclock -r
ro
systemctl enable --now kvmd-oled
ro
 
su root
#default password is root also
 
 
 
'''Q: How to enable RTC?'''
 
A: Firstly, insert the C1220 button battery.
run the following command:
rw
sudo nano /boot/config.txt
#Then change the line: '''dtoverlay=i2c-rtc,pcf8563''' to '''dtoverlay=i2c-rtc,ds1307'''
#Test RTC
#Display the current time of the Raspberry Pi
date
#Write the time of Raspberry Pi to DS1307
sudo hwclock -w
#Read the time of DS1307
sudo hwclock -r
ro