Diese Seite (Version-113) wurde zuletzt am 25-Apr.-2025 17:33 von Administrator geändert.

Diese Seite wurde am 24-März-2024 13:42 von Administrator erstellt.

Du bist nicht autorisiert, diese Seite umzubenennen.

Du bist nicht autorisiert, diese Seite zu löschen.

Versionsgeschichte der Seite

Version Zuletzt geändert Größe Autor Änderungen Kommentar
113 25-Apr.-2025 17:33 15 KB Administrator zur vorherigen
112 29-Dez.-2024 10:53 14 KB Administrator zur vorherigen | zur neuesten
111 29-Dez.-2024 10:50 14 KB Administrator zur vorherigen | zur neuesten DynDNS and ipv6 ==> DNS, DynDNS and ipv6
110 29-Dez.-2024 10:35 14 KB Administrator zur vorherigen | zur neuesten
109 29-Dez.-2024 10:35 14 KB Administrator zur vorherigen | zur neuesten Raspberry Security ==> DynDNS and ipv6
108 28-Dez.-2024 17:15 14 KB Administrator zur vorherigen | zur neuesten
107 23-Dez.-2024 12:43 14 KB Administrator zur vorherigen | zur neuesten
106 20-Dez.-2024 17:48 14 KB Administrator zur vorherigen | zur neuesten
105 18-Dez.-2024 19:55 14 KB Administrator zur vorherigen | zur neuesten
104 18-Dez.-2024 19:49 14 KB Administrator zur vorherigen | zur neuesten
103 18-Dez.-2024 17:06 13 KB Administrator zur vorherigen | zur neuesten
102 18-Dez.-2024 16:59 13 KB Administrator zur vorherigen | zur neuesten
101 18-Dez.-2024 16:51 13 KB Administrator zur vorherigen | zur neuesten

Links

Eingehende Links Ausgehende Links

Versionsunterschiede

Unterschiede zwischen Version und .

Zeile 6: Eine Zeile hinzugefügt.
* [Raspberry OS on 4TB]
Zeile 9: 3 Zeilen hinzugefügt.
* [DNS, DynDNS and ipv6]
* [Firewall with iptables]
* [Exposing Raspberry to Internet]
Zeile 17: 3 Zeilen hinzugefügt.
!Prepare PI5
I followed more or less [StepByStep Instructions by Harald Kreuzer|https://www.haraldkreuzer.net/aktuelles/logitech-media-server-auf-dem-raspberry-pi-4b-mit-5-zoll-display-installieren] to install on my PI5
Zeile 27: 40 Zeilen hinzugefügt.
Keep updated, for a major update (debian) you need to reinstall
{{{
> sudo apt update
> sudo apt -y full-upgrade
> sudo apt -y clean
> sudo apt -y autoremove
}}}
Automatic updates, see [elektronik-kompendium.de|https://www.elektronik-kompendium.de/sites/raspberry-pi/2002101.htm]
{{{
> sudo apt-get install unattended-upgrades # installation
> sudo vi /etc/apt/apt.conf.d/20auto-upgrades # created at installation
"1" means daily
> sudo vi /etc/apt/apt.conf.d/50unattended-upgrades # created at installation
uncommend: "origin=Debian,codename=${distro_codename}-updates";
> sudo dpkg-reconfigure -plow unattended-upgrades # activate with Yes
> sudo unattended-upgrades --dry-run # simulate
> sudo vi /var/log/unattended-upgrades/unattended-upgrades.log # log file
}}}
!Display / Lite to Desktop
Change Raspberry OS lite to [desktop|https://raspberrytips.com/upgrade-raspbian-lite-to-desktop/]. \\
If you need just a console via HDMI, install default desktop for raspberry.\\
This uses wayland for debaian bookworm and PIXEL for older versions.
{{{
> sudo apt install raspberrypi-ui-mods
> sudo raspi-config > System Options > S5 Boot / Auto Login > B3 or B4 to use desktop #use to switch to desktp mode
}}}
The console display is controlled via [cmdline.txt|https://www.raspberrypi.com/documentation/computers/configuration.html#set-the-kms-display-mode].\\
Notes:
* the cmdline.txt must have ONE line only, keep what is in there and append with SPACE as separator
* you can have "video=" only on the first HDMI port (does not work on second)
{{{
> kmsprint | grep Connector # find out which hdmi port is used, you need HDMI-A-1
> sudo vi /boot/firmware/cmdline.txt # edit as ONE line !
append in first line " video=HDMI-A-1:1920x1080M@60,rotate=90" # rotation happens anti-clockwise
}}}
Zeile 32: Eine Zeile geändert.
||Component||Speed
||Component||Default Max Speed
Zeile 34: Eine Zeile geändert.
|PCIe 2.0 x1|250 MB/s
|PCIe 1.0 x1|250 MB/s
|PCIe 2.0 x1|500 MB/s <= default on PI5
|PCIe 3.0 x1|970 MB/s <= can be enabled
Zeile 38: 2 Zeilen geändert.
As my case offers a PCIe M.2 NVMe slot I added a SSD 4TB Lexar NM790 M.2 2280 PCIe. This had frequently "input/output error", which could be resolved via reboot only. There seesm to be an issue at the kernel, see [here|https://forum.proxmox.com/threads/lexar-nm790-2tb.134293/]
Anyway, I returned this device and bought a "4TB Samsung 990 PRO M.2 2280 PCIe 4.0 x4 3D-NAND TLC (MZ-V9P4T0BW)".
As my case offers a PCIe M.2 NVMe slot I added a SSD 4TB Lexar NM790 M.2 2280 PCIe. This had frequently "input/output error", which could be resolved via reboot only. There seems to be an issue at the kernel, see [here|https://forum.proxmox.com/threads/lexar-nm790-2tb.134293/]
Anyway, I returned this device and bought a "4TB Samsung 990 PRO M.2 2280 PCIe 4.0 x4 3D-NAND TLC (MZ-V9P4T0BW)", which worked flawlessly.
Zeile 90: 26 Zeilen hinzugefügt.
!Drive Speed / Performance Test
see [1|https://forums.raspberrypi.com/viewtopic.php?t=75125] and [2|https://en.wikipedia.org/wiki/GNOME_Disks]\\
{{{
sudo apt-get install gnome-disk-utility
}}}
After that you have following at your desktop: \\
Menu > Zubehör > Laufwerke > Pick One > Three Dots > Leistungstest > Enable Write / Keep Defaults > Start
My results:
[{Table style='width:auto'
||Device||Read MB/s||Write MB/s||Access ms
|USB Seagate Expansion Desk 5TB|134,7-135,4|44,8|16,22-17,05
|USB IcyBox 366-C31 2TB|36,4|30,2|14,61
|m2 Samsung SSD 990 Pro 4TB|471,1|339,6|0,09|PCI 2
|m2 Samsung SSD 990 Pro 4TB|923,1|430,5|0,06|PCI 3
}]
Alternative:
{{{
> sudo apt-get install hdparm
> sudo hdparm -Tt /dev/nvme0n1
/dev/nvme0n1:
Timing cached reads: 5433.18 MB/sec
Timing buffered disk reads: 884.73 MB/s
}}}
Zeile 99: 7 Zeilen gelöscht.
!Drive Speed
Menu > Zubehör > Laufwerke > Pick One > Three Dots > Leistungstest > Enable Write / Keep Defaults > Start
||Device||Read MB/s||Write MB/s||Access ms
|USB Seagate Expansion Desk 5TB|134,7-135,4|44,8|16,22-17,05
|USB IcyBox 366-C31 2TB|36,4|30,2|14,61
|m2 Samsung SSD 990 Pro 4TB|471,1|339,6|0,09
Zeile 170: Eine Zeile geändert.
~\\raspberrypi5\Musik => Anmelden
~\\raspberrypi5\Musik => Anmelden\\
or just the device to see all shares\\
~\\raspberrypi5
Zeile 287: 2 Zeilen hinzugefügt.
!!Software / Use Cases
Zeile 293: 2 Zeilen hinzugefügt.
* though >wide_links=yes< should allow symbolic links, it is NOT working with minidlna !
* Standard share is media_dir=/var/lib/minidlna, you may want to change at /etc/minidlna.conf
Zeile 299: 5 Zeilen hinzugefügt.
> minidlnad -h
> sudo minidlnad -R
> sudo service minidlna restart
> sudo rm /var/cache/minidlna/files.db # purge media database
> sudo netstat -ntpl # check port 8200
Zeile 227: 2 Zeilen gelöscht.
Standard share is at {{{/var/lib/minidlna/}}}\\
Zeile 232: 2 Zeilen geändert.
vi /etc/minidlna.conf
}}}
vi /etc/minidlna.conf # <= edit here
}}}
Zeile 235: 2 Zeilen gelöscht.
!!Software / Use Cases
Zeile 428: 11 Zeilen hinzugefügt.
!minidlna does not stream
Do not use symbolic links in your media drive, content there will be listed, but not displayed!
! no diskspace on mmcblk0p2 (SD Card extension partition, e.g. not the boot one)
{{{
> sudo lsblk -f # check partition usage
> df # check where partition is used
> sudo du -h -d 1 # check all folder's usage in current folder
}}}
Solution: with du I could identify that minidlna log captured everything at /var/log/minidlna