2.5 Black Synology Driver: Correctly Display CPU Model and Obtain CPU Real Temperature Tutorial

Required tool download:

Link: https://pan.baidu.com/s/1CMLl6waOuW-Ys2gKZx7Jgg?pwd=chct

Extraction code: chct

The CPU model shows the patch:

Link: https://pan.baidu.com/s/115pvKpgSJr9mWY5ZU2ue5Q?pwd=hn90

Extraction code: hn90

1. Correctly display the CPU model

  1. Check the "Enable SSH" function in Synology->Control Panel->Terminal and SNMP->Terminal, and click Apply;

  1. Download and install Putty, download link: https://www.putty.org/ , or download it from the link at the beginning of this article. Open the software Host Name and enter your Qunhui IP (without ":5000"), if the Port has not been modified, the default is 22. Then click open.

The first time you open it, a window will pop up and click accept, then enter your Qunhui user name in the window "login as" that appears, and then enter your password in "password:", which is invisible here After inputting the result, press Enter after inputting.

  1. Download the "CPU model display patch" above the article, or download it from the gitcode of the patch provider: https://gitcode.net/mirrors/FOXBI/ch_cpuinfo (unzip after downloading). Upload it to your folder, as here I uploaded it to the created tmp folder, and right-click the file in the file station -> Properties to view the address of the file. For example, my file address is: /volume1/tmp/ch_cpuinfo

  1. Give the file executable permission, and enter the command in putty (Linux input password is not displayed, so just enter it directly and press Enter):

sudo chmod 755 /volume1/tmp/ch_cpuinfo

Among them, "/volume1/tmp/ch_cpuinfo" in the command needs to be replaced with your file address.

  1. Execute the CPU patch

sudo ./volume1/tmp/ch_cpuinfo

Similarly, you need to replace "/volume1/tmp/ch_cpuinfo" with your file address.

After entering the above command, you will be asked to enter options (1 for execution, 2 for re-execution, 3 for recovery), here we enter 1.

Then you will be asked whether to execute [y/n], just enter y.

At this point, enter the control panel -> information center to see the CPU information.

2. Obtain the real temperature of the CPU

To obtain the CPU temperature, you need to install the lm-sensors plug-in through ipkg. Therefore, the first step is to install ipkg for your black group.

  1. To execute commands with root privileges, enter the following commands in putty:

sudo -i
  1. Create a folder to download ipkg

mkdir /tmp

go to this folder

cd /tmp
  1. Download and install ipkg

Download ipkg, enter the command:

wget http://ipkg.nslu2-linux.org/feeds/optware/syno-i686/cross/unstable/syno-i686-bootstrap_1.2-7_i686.xsh

Grant executable permissions:

chmod +x syno-i686-bootstrap_1.2-7_i686.xsh

Execute the script:

sh syno-i686-bootstrap_1.2-7_i686.xsh

Update available libraries:

ipkg update
  1. To install lm-sensors, enter the command:

ipkg install lm-sensors
  1. To query the current CPU temperature, enter the command:

sensors

Guess you like

Origin blog.csdn.net/qq_35379989/article/details/129308894