Skip to content

Scripted automation to setup and run a Raspberry Pi Fedora Server

License

Notifications You must be signed in to change notification settings

s-fairchild/Raspberry-Pi-Setup

Repository files navigation

Raspberry Pi 4 Fedora Server Automated Setup

Purpose

The purpose of these scripts is to assist the automated setup of Fedora onto a Raspberry Pi 4. Primarly for use as a "camera" server, more specifically a Fedora server running motion and accepting RTSP camera feeds from other Raspberry Pi models.

Usage

Once the scripts are more stable I will update the proper usage.

NOTE

build_libcamera-apps.sh currently isn't being used. Once I get libcamera building from the Raspeberry Pi respository it will be updated.

Raspberry Pi 4 Fedora Motion Eye RTSP Camera Server Setup Guide

Install rpmfusion repositories for motion and ffmpeg

dnf install https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm

SELinux Changes required to allow motion to use rtsp port

ausearch -c 'ml1:Driveway' --raw | audit2allow -M my-ml1Driveway#012# semodule -X 300 -i my-ml1Driveway.pp#012
semodule -X 300 -i my-ml1Driveway.pp
ausearch -c 'motion' --raw | audit2allow -M my-motion
semodule -X 300 -i my-motion.pp

Firewalld changes

firewall-cmd --add-port=8554/tcp --permanent
firewall-cmd --add-port=8554/udp --permanent
firewall-cmd --reload

Play H264 Encoded Video Files on your Fedora client

dnf install gstreamer1-libav

Setup for RTSP Server

alsa-plugins-usbstream.aarch64 alsa-tools alsa-tools-firmware alsa-firmware -y

About

Scripted automation to setup and run a Raspberry Pi Fedora Server

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published