[{ALLOW view All}]
[{ALLOW edit Markus}]

!!Raspberry PI5 8GB
[Getting Started|https://www.raspberrypi.com/documentation/computers/getting-started.html]

!OS
I installed Raspberry PI 5 / Raspberry PI OS 64bit on 128GB microSD via Imager Software\\
Note: Settings has three tabs !
* name = raspberrypi5
* Enable SSH !
* Enable WLAN

Update:
{{{
sudo apt-get update
sudo apt-get upgrade
sudo reboot
}}}

The Squeezebox Radio needs an IP address (see below), so I activated in FritzBox to give the same IP always to "raspberrypi5".

Samba
Add samba service to share with windows
{{{
>sudo apt-get install samba
# Samba user, same password:
> sudo smbpasswd -a <user>
> sudo mkdir /var/log/samba
}}
> sudo vi /etc/samba/smb.conf
add something like:
[global]
 workgroup = WORKGROUP
# MARKUS ADDED
 netbios name = LINUXSERVER
 lanman auth = no
 ntlm auth = yes
 client lanman auth = no
 wins support = yes
 local master = yes
 preferred master = yes

# MARKUS ADDED
[Musik]
 comment=Raspberry Pi Share
 path = /media
 browseable = yes
 writeable = yes
 read only = no
 only guest = no
 create mask = 0775
 directory mask = 0755
 public = no
 force user = markus
}}} 
Write permissions on windows are shared on Linux level: 
{{{
> sudo chmod a+rwx /media
}}}
 
Linux Commands\\
note: you see the shares used only if some user uses currently, otherwise check config
{{{
> sudo service smbd restart
> sudo smbcontrol all reload-config
> samba --version => Version 4.17.12-Debian
> systemctl status smbd
> sudo smbstatus
> sudo smbstatus --shares
> sudo pdbedit -L -v
> cat /var/log/samba/log.smbd
}}}

In Windows use\\	
~\\raspberrypi5\Musik => Anmelden


!Logitech Squeezebox Radio
See [mysqueezebox|https://www.mysqueezebox.com/index/Home] | [forum|https://forums.slimdevices.com/forum/user-forums/deutsch/1668931-mysqueezebox-com-und-uesmartradio-com-infrastruktur] | [LMS (Logitech Media Server) Downloads|https://lms-community.github.io/lms-server-repository/]\\

I followed [StepByStep Instructions by Harald Kreuzer|https://www.haraldkreuzer.net/aktuelles/logitech-media-server-auf-dem-raspberry-pi-4b-mit-5-zoll-display-installieren].

Disable swap file
{{{
sudo service dphys-swapfile stop
sudo systemctl disable dphys-swapfile
sudo apt-get purge dphys-swapfile
sudo apt autoremove

sudo vi /boot/firmware/cmdline.txt
ADD at the end of line >noswap<
console=[...] noswap

sudo vi /etc/fstab
ADD:
# Log to RAM
tmpfs   /tmp            tmpfs   defaults,noatime,nosuid,mode=1777,size=256m 0 0
tmpfs   /var/log        tmpfs   defaults,noatime,nosuid,mode=0755,size=128m 0 0
tmpfs   /var/tmp        tmpfs   defaults,noatime,nosuid,mode=0755,size=128m 0 0
}}}





Change settings in radio see [https://lms-community.github.io/getting-started/migrate-from-uesr-de/]