Add modern Raspberry Pi OS compatibility

This commit is contained in:
v3d 2026-06-29 09:42:14 +02:00
parent 4636a4f4f6
commit 3b7a16564b
35 changed files with 725 additions and 15678 deletions

View file

@ -647,6 +647,4 @@
# Include all files in a directory which end in .conf
#conf-dir=/etc/dnsmasq.d/*.conf
interface=wlan0
dhcp-range=10.1.0.50,10.1.0.200,12h
address=/#/10.1.0.1
# Pivilion settings are generated in /etc/dnsmasq.d/pivilion-runtime.conf.

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

5
etc/php/pivilion.ini Normal file
View file

@ -0,0 +1,5 @@
upload_max_filesize = 256M
post_max_size = 272M
max_file_uploads = 100
max_execution_time = 300
memory_limit = 512M

View file

@ -0,0 +1,12 @@
[Unit]
Description=Pivilion captive-portal DHCP and DNS
After=network.target
[Service]
Type=simple
ExecStartPre=/usr/sbin/dnsmasq --test --conf-file=/etc/dnsmasq.d/pivilion-runtime.conf
ExecStart=/usr/sbin/dnsmasq --keep-in-foreground --conf-file=/etc/dnsmasq.d/pivilion-runtime.conf
Restart=on-failure
[Install]
WantedBy=multi-user.target

View file

@ -0,0 +1,13 @@
[Unit]
Description=Select Pivilion hotspot or onion networking mode
After=network-pre.target NetworkManager.service dhcpcd.service
Wants=network-pre.target
[Service]
Type=oneshot
ExecStart=/usr/local/lib/pivilion/mode.sh
RemainAfterExit=yes
TimeoutStartSec=90
[Install]
WantedBy=multi-user.target

View file

@ -0,0 +1,4 @@
SocksPort 0
HiddenServiceDir /var/lib/tor/pivilion/
HiddenServiceVersion 3
HiddenServicePort 80 127.0.0.1:80