Open main menu

Changes

PiKVM

453 bytes added, 13:39, 27 June 2022
systemctl enable --now kvmd-oled
ro
 
 
Q: How to enable RTC?
 
A: Firstly, insert the C1220 button battery.
run the following command:
sudo nano /boot/config.txt
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
 
Q: How to switch root user?
A:
su root
#default password is root also
<!--Add review function! -->