绿联 NAS:修订间差异

无编辑摘要
无编辑摘要
 
第2行: 第2行:


== 更换系统 ==
== 更换系统 ==
以安装[[Ubuntu]]系统为例。
=== BIOS设置 ===
=== BIOS设置 ===
插上新的M2硬盘,要安装系统U盘。
插上新的M2硬盘和Ubuntu的安装U盘。
#开机时不停按Ctrl+F2,进入绿联BIOS设置。
#开机时不停按Ctrl+F2,进入绿联BIOS设置。
#关闭电子狗,WatchDog Settings,中设置为Disabled。
#关闭电子狗,WatchDog Settings,中设置为Disabled。

2025年12月31日 (三) 03:38的最新版本

绿联NAS

更换系统

以安装Ubuntu系统为例。

BIOS设置

插上新的M2硬盘和Ubuntu的安装U盘。

  1. 开机时不停按Ctrl+F2,进入绿联BIOS设置。
  2. 关闭电子狗,WatchDog Settings,中设置为Disabled。
  3. 设置启动顺序,Boot Option #1设置为U盘。Boot Option #2设置为新安装的M2硬盘。
  4. 保存重启。

接下来安装Ubuntu系统。

led控制

绿联NAS的LED灯通过主板上的I2C总线控制,需通过Linux系统调用i2c-tools和特定驱动模块(如i2c-i801.ko)实现底层操作。通过开源ugreen_leds_cli工具可方便操作led。

下载开源工具ugreen_leds_cli:https://github.com/miskcoo/ugreen_leds_controller/releases ugreen_leds_cli帮助文档:

Usage: ugreen_leds_cli  [LED-NAME...] [-on] [-off] [-(blink|breath) T_ON T_OFF]
                    [-color R G B] [-brightness BRIGHTNESS] [-status]

       LED_NAME:    separated by white space, possible values are
                    { power, netdev, disk[1-8], all }.
       -on / -off:  turn on / off corresponding LEDs.
       -blink / -breath:  set LED to the blink / breath mode. This 
                    mode keeps the LED on for T_ON millseconds and then
                    keeps it off for T_OFF millseconds. 
                    T_ON and T_OFF should belong to [0, 65535].
       -color:      set the color of corresponding LEDs.
                    R, G and B should belong to [0, 255].
       -brightness: set the brightness of corresponding LEDs.
                    BRIGHTNESS should belong to [0, 255].
       -status:     display the status of corresponding LEDs.

示例:

# 关闭电源灯
sudo ./ugreen_leds_cli power -off

# disk1的led闪黄灯
sudo ./ugreen_leds_cli disk1  -color 255 255 0 -blink 400 600

https://github.com/miskcoo/ugreen_leds_controller