MediaPi
Appearance
This page is being updated, the old stuff is below and the new stuff starts here:
Setup
[edit]- Raspberry Pi 4 4gb
- Geekworm X835 SATA board
- 8TB 3.5" SATA drive
- 16gb mSD card
Hardware
[edit]Hard drive
[edit]sudo pacman -S ntfs-3g mkdir /mnt/NewAsgard sudo mount -t ntfs /dev/sda2 /mnt/NewAsgard/ -o umask=000 echo "UUID=9878825778823452 /mnt/NewAsgard ntfs defaults,auto,users,rw,nofail,umask=000 0 0" >> /etc/fstab
Video Memory
[edit]echo "gpu_mem=512" >> /boot/config.txt
Monitoring
[edit]Decided to install glances and modify the service script to -w and access over web
sudo pacman -S glances sudo nano /usr/lib/systemd/system/glances.service sudo systemctl start glances
Software
[edit]See Installing Arch Linux on Raspberry Pi
Bluetooth
[edit] sudo pacman -S bluez{,-utils} blueman
sudo systemctl enable bluetooth
NTP
[edit]sudo timedatectl set-timezone America/Los_Angeles sudo pacman -S ntp sudo systemctl enable ntpd
Kodi
[edit] sudo pacman -S kodi-rpi{,-dev,-eventclients,tools-texturepacker} libbluray-kodi-rbp java-runtime
sudo systemctl enable kodi
Jellyfin
[edit]I needed quite a bit from yay before this worked
yay -S dotnet-host-bin dotnet-runtime-bin yay -S aspnet-runtime-bin yay -S dotnet-sdk-bin yay -S jellyfin sudo systemctl start jellyfin sudo systemctl enable jellyfin
Apache+PHP
[edit]sudo pacman -S apache certbot-apache php-apache
Steamlink
[edit]sudo pacman -S qt5-base pipewire
I ran into checksum errors as the PKGBUILD hadn't been fixed. If needed make sure to use the following and update the checksum
yay --editmenu -S steamlink-raspberrypi
Samba
[edit]sudo pacman -S samba sudo nano /etc/samba/smb.conf sudo systemctl start smb sudo systemctl enable smb
Use the following:
[global] server string = NewAsgard browseable = yes writeable = yes printable = no deadtime = 30 mangled names = no name resolve order = host bcast printcap name = /dev/null load printers = no encrypt passwords = true enable core files = no passdb backend = smbpasswd smb encrypt = disabled fruit:model = Xserve # samba share options map to guest = Bad User guest account = root security = user # samba tuning options socket options = TCP_NODELAY IPTOS_LOWDELAY min receivefile size = 16384 aio read size = 16384 aio write size = 16384 use sendfile = yes # "strict allocate = yes" breaks large network transfers to external hdd # Force this to "no" in case "yes" becomes the default in future strict allocate = no allocation roundup size = 0 [NewAsgard] path = /mnt/NewAsgard available = yes browseable = yes public = yes writeable = yes