proxmox-led-install.md aktualisiert
This commit is contained in:
@@ -42,37 +42,37 @@ deb http://deb.debian.org/debian bookworm main contrib non-free
|
|||||||
8. Execute script within folder and verify LEDs are seen.
|
8. Execute script within folder and verify LEDs are seen.
|
||||||
|
|
||||||
```
|
```
|
||||||
# sh /root/unas/ugreen_dx4600_leds_controller/scripts/ugreen-probe-leds
|
# sh /root/ugreen_leds_controller/scripts/ugreen-probe-leds
|
||||||
Found I2C device /dev/i2c-0
|
Found I2C device /dev/i2c-0
|
||||||
```
|
```
|
||||||
|
|
||||||
9. Create the systemd configuration; pick the eth# to monitor and enable the service to start at boot if all goes well.
|
9. Create the systemd configuration; pick the eth# to monitor and enable the service to start at boot if all goes well.
|
||||||
|
|
||||||
```
|
```
|
||||||
root@UNO:~/unas/ugreen_dx4600_leds_controller/scripts# ls
|
root@UNO:~/ugreen_leds_controller/scripts# ls
|
||||||
ugreen-diskiomon ugreen-leds.conf ugreen-netdevmon@.service
|
ugreen-diskiomon ugreen-leds.conf ugreen-netdevmon@.service
|
||||||
ugreen-diskiomon.service ugreen-netdevmon ugreen-probe-leds
|
ugreen-diskiomon.service ugreen-netdevmon ugreen-probe-leds
|
||||||
```
|
```
|
||||||
10. move the scripts to `/usr/bin`
|
10. move the scripts to `/usr/bin`
|
||||||
```
|
```
|
||||||
root@UNO:~/unas/ugreen_dx4600_leds_controller/scripts# for f in ${scripts[@]}; do
|
root@UNO:~/ugreen__leds_controller/scripts# for f in ${scripts[@]}; do
|
||||||
chmod +x "scripts/$f"
|
chmod +x "scripts/$f"
|
||||||
cp "scripts/$f" /usr/bin
|
cp "scripts/$f" /usr/bin
|
||||||
done
|
done
|
||||||
```
|
```
|
||||||
11. copy the config-files
|
11. copy the config-files
|
||||||
```
|
```
|
||||||
root@UNO:~/unas/ugreen_dx4600_leds_controller/scripts# cp ugreen-leds.conf /etc/ugreen-leds.conf
|
root@UNO:/root/ugreen_leds_controller/scripts cp ugreen-leds.conf /etc/ugreen-leds.conf
|
||||||
root@UNO:~/unas/ugreen_dx4600_leds_controller/scripts# cp *.service /etc/systemd/system/
|
root@UNO:/root/ugreen_leds_controller/scripts cp *.service /etc/systemd/system/
|
||||||
```
|
```
|
||||||
12. prepare the services (please be sure to replace `enp88s0` with the ethernetport that you want to monitor)
|
12. prepare the services (please be sure to replace `enp88s0` with the ethernetport that you want to monitor)
|
||||||
```
|
```
|
||||||
root@UNO:~/unas/ugreen_dx4600_leds_controller/scripts# systemctl daemon-reload
|
root@UNO:/root/ugreen_leds_controller/scripts systemctl daemon-reload
|
||||||
root@UNO:~/unas/ugreen_dx4600_leds_controller/scripts# systemctl start ugreen-netdevmon@enp88s0
|
root@UNO:/root/ugreen_leds_controller/scripts systemctl start ugreen-netdevmon@enp88s0
|
||||||
root@UNO:~/unas/ugreen_dx4600_leds_controller/scripts# systemctl start ugreen-diskiomon
|
root@UNO:/root/ugreen_leds_controller/scripts systemctl start ugreen-diskiomon
|
||||||
root@UNO:~/unas/ugreen_dx4600_leds_controller/scripts# systemctl enable ugreen-diskiomon
|
root@UNO:/root/ugreen_leds_controller/scripts systemctl enable ugreen-diskiomon
|
||||||
Created symlink /etc/systemd/system/multi-user.target.wants/ugreen-diskiomon.service → /etc/systemd/system/ugreen-diskiomon.service.
|
Created symlink /etc/systemd/system/multi-user.target.wants/ugreen-diskiomon.service → /etc/systemd/system/ugreen-diskiomon.service.
|
||||||
root@UNO:~/unas/ugreen_dx4600_leds_controller/scripts# systemctl enable ugreen-netdevmon@enp88s0
|
root@UNO:/root/ugreen_leds_controller/scripts systemctl enable ugreen-netdevmon@enp88s0
|
||||||
Created symlink /etc/systemd/system/multi-user.target.wants/ugreen-netdevmon@enp88s0.service → /etc/systemd/system/ugreen-netdevmon@.service.
|
Created symlink /etc/systemd/system/multi-user.target.wants/ugreen-netdevmon@enp88s0.service → /etc/systemd/system/ugreen-netdevmon@.service.
|
||||||
```
|
```
|
||||||
The network LED should now be blinking if there's network activity. The software is installed on proxmox; you can configure disk LEDs.
|
The network LED should now be blinking if there's network activity. The software is installed on proxmox; you can configure disk LEDs.
|
||||||
|
|||||||
Reference in New Issue
Block a user