User Tools

Site Tools


doc:appunti:hardware:ugreen_dxp2800

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
doc:appunti:hardware:ugreen_dxp2800 [2025/12/07 18:27] niccolodoc:appunti:hardware:ugreen_dxp2800 [2025/12/08 21:05] (current) – [Web References] niccolo
Line 1: Line 1:
 ====== UGREEN NASync DXP2800 ====== ====== UGREEN NASync DXP2800 ======
 +
 +^ CPU        | Intel(R) N100 4-cores  |
 +^ RAM        | 8 Gb  |
 +^ SSD        | 32 Gb eMMC  |
 +^ Ethernet   | Intel Corporation Ethernet Controller I226-V  2.5 GbE  |
 +^ Video      | Intel Corporation Alder Lake-N [UHD Graphics]  |
 +^ SATA       | 2 bays for 3.5 or 2.5 inches, not hot-swappable  |
 +^ USB        | 1xUSB 3.2 Gen2, 1xType-C USB 3.2, 1xUSB 3.2 Gen1, 2xUSB 2.0  |
 +^ HDMI       | 1xHDMI up to 4K  |
 +^ M.2 slots  | 2 x NVMe 2280 SSD  |
 +^ Power      | 12v/5A 
 +^ BIOS Build date and time  | 12/11/2024 10:48:40  |
 +^ Boot mode                 | UEFI / Legacy  |
 +^ Boot from USB             | Yes. Use the USB 2.0 port, disable the watchdog.  |
 +^ Wake on LAN               | Supported  |
 +^ RTC Wakeup                | Supported (HH:MM:SS)  |
 +
 +Connect a **monitor** to the **HDMI** port and a **keyboard** to an **USB** port, power-on the device and press the key when you see the UGREEN logo:
 +
 +^ BIOS Keys  ^^
 +^ Ctrl+F2   | Enter BIOS setup  |
 +^ Ctrl+F12  | Boot device selection  |
 +
 +As per factory default there is a **watchdog** enabled (180 seconds default time) which will reboot the device if the operating system does not reset it. You need to disable the watchdog if you want install a different operating system.
 +
 +  * **BIOS**
 +    * Advanced
 +      * WatchDog Setting
 +        * Watch Dog Control [Disabled]
 +
 +Some people on the net say that you need to press **Ctrl+F1** into the BIOS to enable the **Advanced** menu, in my case that page is enabled by default.
 +
 +
 +===== Sistema operativo =====
 +
 +Il sistema operativo è basato su **Debian 12 Bookworm**, collegando un **monitor HDMI** e una **testiera USB** è possibile vedere il boot loader GRUB e assistere al boot del sistema operativo GNU/Linux. Al termine del boot sul display HDMI viene visualizzata la grafica di un player multimediale che invita a scaricare l'app di controllo (in cinese, 
 +[[#Video player su porta HDMI|vedi più avanti]]):
 +
 +{{.:ugreen:ugreen-hdmi-video-player.jpg?direct&480|UGREEN DXP2800 Multimedia Player on HDMI}}
 +
 +Premendo Alt-F1 è possibile accedere al terminale VT1 ed effettuare login come utente **root** con password **ugreen**. Al termine della configurazione iniziale eseguibile da pagina web, la password dell'utente root viene disabilitata e l'utente amministratore creato ha la possibilità di diventare root con **sudo**.
 +
 +Al termine della procedura di inizializzazione l'accesso HTTP fornisce una interfaccia grafica **web desktop**.
 +
 +{{.:ugreen:ugos-pro-web-os.png?direct&480|UGREEN DXP2800 UGOS Pro Web Operating System}}
 +
 +
 +Il servizio **ssh** è disabilitato, ma può essere abilitato con **systemctl**.
 +
 +Il disco SSD **/dev/mmcblk0** da **32 Gb** contiene la partizione **p2** da 2G che contiene il root filesystem in formato **squashfs** montato read-only, sul quale viene montato in **overlay** la partizione **p7** da **18.9 Gb** formattata **ext4**. La procedura di reset indicata nel manuale e attivabile con il microswitch relativo probabilmente elimina il contenuto della partizione overlay restituendo il contenuto originale del filesystem squashfs.
 +
 +È possibile installare pacchetti Debian aggiuntivi con i normali comandi **apt update**, **apt install**, ecc.
 +
 +===== Configurazione web =====
 +
 +Puntando il browser sull'indirizzo IP assunto dal NAS si trova una procedura di configurazione iniziale:
 +
 +  - Nome del device
 +  - Creazione di un account di amministrazione (scelta login e password)
 +  - Registrazione di un numero di telefono per accesso remoto tramite app e per ricevere SMS (prefisso bloccato su +86).
 +  - Impostazioni degli aggiornament: solo importanti, tutti, solo notifica.
 +  - Tentativo di upgrade via internet
  
 ===== Video player su porta HDMI ===== ===== Video player su porta HDMI =====
  
-Sulla porta HDMI si trova un'interfaccia in cinese con il titolo **Ridroduzione diretta HDMI**, il menu+Sulla porta HDMI si trova l'interfaccia grafica in cinese di un player multimediale. Dopo aver effettuato la configurazione iniziale l'interfaccia viene nazionalizzata in inglese:
  
 +{{.:ugreen:ugreen-hdmi-video-player-eng.jpg?direct&480|UGREEN DXP2800 Multimedia Player English}}
 +
 +La pagina in cinese ha titolo **Ridroduzione diretta HDMI**, la traduzione del menu più o meno è come segue:
  
   - Apri l'app Greenlink Cloud   - Apri l'app Greenlink Cloud
Line 16: Line 81:
   - Se durante la riproduzione non si sente l'audio o esso non è sincronizzato, provare a cambiare traccia audio.   - Se durante la riproduzione non si sente l'audio o esso non è sincronizzato, provare a cambiare traccia audio.
   - Questa è una versione beta. Se riscontri problemi prova a fare nuovamente play o invia una richiesta di supporto tecnico.   - Questa è una versione beta. Se riscontri problemi prova a fare nuovamente play o invia una richiesta di supporto tecnico.
 +
  
 ===== Login root ===== ===== Login root =====
  
-Dalla schermata grafica del video player è possibile digitare **Ctrl+Alt+F1** per accetedere al terminale VT1 ed effettuare login come **root** con password **ugreen**.+Prima di effettuare la configurazione iniziale del device da interfaccia web, è possibile accedere ad un terminale come utente root. Avendo collegato monitor e tastiera, dalla schermata grafica del video player è possibile digitare **Ctrl+Alt+F1** per accedere al terminale VT1 ed effettuare login come **root** con password **ugreen**. 
 + 
 +Il sistema operativo è basato su **Debian 12 Bookworm**, se si collega la porta Ethernet ad una LAN con server DHCP l'interfaccia verrà configurata automaticamente. Per abilitare l'accesso via SSH da remoto è sufficiente aggiungere l'opzione ''PermitRootLogin yes'' ad un file ''/etc/ssh/sshd_config.d/00-local.conf'' e riavviare il servizio con ''systemctl restart ssh''
 + 
 +Una volta completata la configurazione iniziale del NAS, il servizio SSH viene avviato solo se è stato abilitato nel sistema operativo web, da //Control Panel// => //Terminal//
 + 
 +Ecco alcuni output per capire come si presenta il sistema: 
 + 
 +<code> 
 +mount | grep mmcb 
 +</code> 
 + 
 +<code> 
 +/dev/mmcblk0p2 on /rom type squashfs (ro,relatime,errors=continue) 
 +/dev/mmcblk0p6 on /ugreen type ext4 (rw,relatime) 
 +/dev/mmcblk0p1 on /boot type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,utf8,errors=remount-ro) 
 +/dev/mmcblk0p7 on /overlay type ext4 (rw,relatime) 
 +/dev/mmcblk0p3 on /mnt/factory type ext4 (rw,relatime) 
 +</code> 
 + 
 +<code> 
 +df -h | grep mmcblk | sort 
 +</code> 
 + 
 +<code> 
 +/dev/mmcblk0p1  256M   66M  190M  26% /boot 
 +/dev/mmcblk0p2  930M  930M     0 100% /rom 
 +/dev/mmcblk0p3  8.6M   31K  7.8M   1% /mnt/factory 
 +/dev/mmcblk0p6  3.9G  2.4G  1.4G  64% /ugreen 
 +/dev/mmcblk0p7   19G  180M   18G   2% /overlay 
 +</code> 
 + 
 +Questo l'output di **parted** sul device **/dev/mmcblk0**: 
 + 
 +<code> 
 +Model: MMC MMC32G (sd/mmc) 
 +Disk /dev/mmcblk0: 61194240s 
 +Sector size (logical/physical): 512B/512B 
 +Partition Table: gpt 
 +Disk Flags:  
 + 
 +Number  Start      End        Size       File system     Name  Flags 
 +128     34s        511s       478s                             bios_grub 
 +      512s       524799s    524288s    fat16                 legacy_boot 
 +      524800s    4719103s   4194304s 
 +      4720640s   4741119s   20480s     ext4 
 +      4741120s   8935423s   4194304s   ext4 
 +      8935424s   13129727s  4194304s   linux-swap(v1) 
 +      13129728s  21518335s  8388608s   ext4 
 +      21518336s  61194206s  39675871s  ext4 
 +</code> 
 + 
 +Il comando **free** riporta: 
 + 
 +<code> 
 +               total        used        free      shared  buff/cache   available 
 +Mem:         7870148     1036568     3841088       58448     3485060     6833580 
 +Swap:        6029292               6029292 
 +</code> 
 + 
 +I 6 Gb di swap sono in effetti costituiti da 2 Gb della partizione **p5** della memoria eMMC più 4 blocchi da 1 Gb ciascuno di [[wp>zram]] (compressed RAM block device) **%%/dev/zram{0|1|2|3}%%**. Usare la zram come swap consente una ottimizzazione 
 +della RAM disponibile e consente di ricorrere con minor frequenza al disco eMMC aumentandone la vita utile. 
 + 
 +===== Contenuto delle partizioni ===== 
 + 
 +^ N.   ^ Size  ^ Filesystem  ^ Mounting point  ^ Note  ^ 
 +|    1 |  256M | fat16       | /boot         | GRUB boot loader EFI  | 
 +|    2 |    2G | squashfs    | /rom          | Root filesystem read-only.     | 
 +|    3 |  8.6M | ext4        | /mnt/factory  | Contiene dei file con informazioni di fabbrica per identificare il device, ad esempio una //activation key//, il //serial number//, ecc.      | 
 +|    4 |    2G | ext4        |               | Partizione vuota. 
 +|    5 |    2G | swap        |               | Linux Swap  | 
 +|    6 |    4G | ext4        | /ugreen       | File relativi al web O.S. UGOS Pro.  | 
 +|    7 |   20G | ext4        | /overlay      | Root filesystem montato read-write in overlay. 
 +|  128 |  239k |                           | BIOS GRUB, probabilmente usato solo in caso di boot legacy. 
 + 
 +===== Installing Debian GNU/Linux ===== 
 + 
 +Durante l'installazione la partizione EFI non viene riconosciuta automaticamente, è necessario forzare manualmente l'uso della **partizione #1** come partizione EFI. 
 + 
 +===== TODO ===== 
 + 
 +  * How to control the three LEDs. 
 +  * How to control fan and temperatures. 
 +  * How to control hard drive spin-down. 
 + 
 +===== Web References ===== 
 + 
 +  * **[[https://github.com/TheLinuxGuy/ugreen-nas|My public notes, findings and experience with UGREEN DXP6800 Pro NAS from kickstarter]]** 
 +  * **[[https://www.reddit.com/r/UgreenNASync/comments/1e83h8l/trying_to_modify_bios_to_lower_power_consumption/|Trying to modify BIOS to lower power consumption]]** 
 +  * **{{.:ugreen:dxp2800_product_documentation-en.pdf|DXP2800 Product Documentation}}** 
 +  * **[[https://github.com/miskcoo/ugreen_leds_controller|LED Controller for UGREEN's DX/DXP NAS Series]]**
  
-Il sistema operativo è basato su **Debian 12 Bookworm**,  
doc/appunti/hardware/ugreen_dxp2800.1765128429.txt.gz · Last modified: by niccolo