Raspberry Guide


Table of Contents

1. Copyright
2. Raspberry
Read out the model
3. Raspberry PI OS Installation
Prepare the SD Card
Power up and using keyboard and screen
ssh to use the Network
First steps
Raspberry PI OS networking
Networking with Debian 12 and newer
Networking with Debian 11
Acting as access point
Changing Hostname
hosts file
RPI Connect
rpi-connect-lite
Wireguard on Raspberry
Wireguard Client Configuration
Wireguard Server Configuration
Turning on Wireguard
wireguard client to wireguard client communication
Raspberry PI Zero W
Zero Hardware Specialties
Boot time optimization
Analyze Networkmanager Boot
4. Maintaining Raspberry PI OS
Local update Raspberry PI OS
Remote update Raspberry PI OS
screen
tmux
Is reboot required after the update
Backup a Raspberry SD
SDcard to an other SDcard
SDcard to a backup file
5. Working with Raspberry PI OS
Commands to add, search and observe packets
Mounting USB devices
Exchange files with a Raspberry
Exchange files with mc
Exchange files using automounter
Switching from graphical desktop to headless and back
6. Add SW to Raspberry PI OS
mariadb on Raspberry
NFS server with auto mount on Raspberry
Samba
Access the samba server from an other linux client
Access the samba server from a Windows client
Apache
PHP server side scripting
Docker
Install docker and run hello-world
Run docker
Media Server
minidlna
Gerbera
MQTT and mosquitto
password authentication for mosquitto
anonymous access to mosquitto
Test mosquitto
MQTT from Shelly
MQTT to Shelly
7. Home Assistant
Install Home Assistant in Vbox
Install Home Assistant in docker
Run home assistant in docker compose
Run the docker home assistant container
Marketplace and HACS
Use Home Assistant
Add tasmota devices to home assistant
Add a shelly to home assistant
Add OctoPrint to Home Assistant
Show time and Date
Open an external Web page
configuration.yaml
Friendly names and Entity ID
MQTT Integration
template support and mqtt
command line support
rest API support
Entities
Automations
Dashboards
Cards
Helpers the user Input
Voice Assistance
Understanding sentences
Voice to speech and speech to voice
Home Assistant and kiosk mode
Send e-mail from Home Assistant
Home Assistant backup
Update Home assistant
Troubles with Homeassistant
Bluetooth
8. Hints
Desktop hints
9. Administrator tasks for the Raspberry PI OS
Debian Repositories
Add additional repositories
Debian system integrity checks
Install additional python versions
User Management
sudo configuration
vcgencmd
cron
Ram Disks
Emergency mode
Guests
10. Hardware
vcgencmd get_throttled
Power Supply
Cooling
Fan control
Argon fan hat
Screen blanking
Camera
rpicam-apps
AI Camera
picamera2
Streaming video
Audio
Audio output
Audio input
GPIO
Serial Interface
Serial with RS485
I2C
Watchdog
Repair script
Test script
11. Raspberry PI Desktop
Installation
Shared Folder in Vbox
Time Synchronization Issue

List of Figures

2.1. Raspberry PI first model

List of Tables

10.1. hardware status
10.2.
10.3. Default fan speed table

Linurs startpage