The community websdr-plus-github can be found here: https://github.com/ny4qphil/PhantomSDR-Plus ..it is compatible with the normal version, but enhanced.
#!/bin/bash
cd /opt/PhantomSDR-Plus/
killall -s9 spectrumserver
killall -s9 rx888_stream
## Files to load
#FIFO=fifo.fifo
TOML=config-rx888mk2.toml
#[ ! -e "$FIFO" ] && mkfifo $FIFO
rx888_stream/target/release/rx888_stream -f ./rx888_stream/SDDC_FX3.img -s 60000000 --pga -d -r -g 50 -a 0 -m low -o - | build/spectrumserver --config $TOML
#exit
[Unit]
Description=PhantomSDRPlus WebSDR
Requires=network-online.target
[Service]
ExecStart=/opt/PhantomSDR-Plus/start-websdr.sh
Type=exec
Restart=on-failure
RestartSec=5
[Install]
Alias=websdr.service
WantedBy=multi-user.target
Quote from: Emmanuel SV1BTL on Jul 07, 2025, 10:29 PMStrange behavior during the last month. RX-888 USB disconnections, but the server is still running!No idea what you mean.
The only new condition is the heat - 38 and even 42 °C
To be honest, I am tired....
if (con->get_buffered_amount() > 100) {
printf("Dropping Audio due to buffering slow client\n");
continue;
}
if (con->get_buffered_amount() > 100) {
printf("Dropping Waterfall due to buffering slow client\n");
continue;
}
//if (con->get_buffered_amount() > 1000) {
// printf("Dropping Audio due to buffering slow client\n");
// continue;
//}
//Fixed version, no need to output - Bas ON5HB
if (con->get_buffered_amount() > 500) { continue; }
// Fixed version,no need to output - Bas ON5HB
if (con->get_buffered_amount() > 500) { continue; }
#!/bin/bash
cd /opt/PhantomSDR-Plus/
### STOP CRASH Injections!!!!
##If no other rules apply, flushing is easier
iptables -D INPUT -m string --algo kmp --string "%3C%" -j DROP
iptables -D INPUT -m string --algo kmp --string "device.rsp" -j DROP
iptables -A INPUT -m string --algo kmp --string "%3C%" -j DROP
iptables -A INPUT -m string --algo kmp --string "device.rsp" -j DROP
## Files to load
FIFO=fifo.fifo
TOML=config-rx888mk2.toml
[ ! -e "$FIFO" ] && mkfifo $FIFO
build/spectrumserver --config $TOML < $FIFO
#exit
#!/bin/bash
cd /opt/PhantomSDR-Plus/
## Files to load
FIFO=fifo.fifo
TOML=config-rx888mk2.toml
[ ! -e "$FIFO" ] && mkfifo $FIFO
#Without PGA
rx888_stream/target/release/rx888_stream -f ./rx888_stream/SDDC_FX3.img -s 60000000 -g 45 -a 0 -m low -o - > $FIFO
#exit
[Unit]
Description=PhantomSDRPlus WebSDR
Requires=network-online.target receiver.service
Before=websdr.service
[Service]
PIDFile=/run/receiver.pid
ExecStart=/opt/PhantomSDR-Plus/start-receiver.sh
Type=exec
Restart=on-failure
RestartSec=5
[Install]
Alias=receiver.service
WantedBy=multi-user.target
[Unit]
Description=PhantomSDRPlus WebSDR
Requires=network-online.target
After=receiver.service
[Service]
PIDFile=/run/websdr.pid
ExecStart=/opt/PhantomSDR-Plus/start-websdr.sh
Type=exec
Restart=on-failure
RestartSec=5
[Install]
Alias=websdr.service
WantedBy=multi-user.target
Quote@reboot /bin/bash -lc 'cd /home/websdr/PhantomSDR-Plus/ && ./ipt.sh'
Quoteroot@Siemens:/home/websdr# iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination
DROP all -- anywhere anywhere STRING match "%3C%" ALGO name kmp
DROP all -- anywhere anywhere STRING match "device.rsp" ALGO name kmp
Page created in 0.011 seconds with 8 queries.