Hello, I tried to install krakensdr on Ubuntu 24.04 in Raspberry Pi 5, for this I created a user krakenrf and followed the instructions for arm64 09. VirtualBox, Docker Images and Install Scripts · krakenrf/krakensdr_docs Wiki · GitHub
Problems arose when I tried to run the script kraken_doa_start.sh via autorun, I followed the instructions on the page 13. Appendix · krakenrf/krakensdr_docs Wiki · GitHub
by the way, there is a typo in the Workingdirectory variable in the service.
the service simply does not start and I do not understand what is the matter, in visudo I have already allowed everything for the krakenrf user, but it works if I do it manually or just via crontab
reboot sleep 15 && /usr/bin/sh /boot/start_kraken.sh
my start_kraken.sh in the end#!/bin/bash
CHILD_PIDS=“”
cleanup() {echo “[$(date)] Останавливаем KrakenSDR…”
# Убиваем дочерние процессы if [ -n "$CHILD_PIDS" ]; then echo "Убиваем процессы: $CHILD_PIDS" kill $CHILD_PIDS 2>/dev/null || true sleep 2 kill -9 $CHILD_PIDS 2>/dev/null || true fi # Явно останавливаем DAQ if [ -f "/home/krakenrf/krakensdr_doa/kraken_doa_stop.sh" ]; then echo "Выполняем kraken_doa_stop.sh" /home/krakenrf/krakensdr_doa/kraken_doa_stop.sh fi echo "[$(date)] Служба остановлена." exit 0
}
trap cleanup SIGTERM SIGINT
cd /home/krakenrf/krakensdr_doa || exit 1./kraken_doa_start.sh &
CHILD_PIDS=“$!”
echo “[$(date)] Ожидаем веб-интерфейс на порту 8080…”while ! ss -tuln | grep :8080 > /dev/null; dosleep 1done
echo “[$(date)] Веб-интерфейс запущен. Служба работает.”
while ss -tuln | grep :8080 > /dev/null; dosleep 1done
cleanup
and my service
[Unit]
Description=KrakenSDR DOA Service
After=network.target
[Service]
Type=simple
User=krakenrf
Group=krakenrf
WorkingDirectory=/home/krakenrf/krakensdr_doa
ExecStart=/bin/bash /home/krakenrf/krakensdr_doa/start_kraken.sh
Restart=always
RestartSec=5
StandardOutput=journal
StandardError=journal
[Install]
WantedBy=multi-user.target
that works
Not sure what could be wrong here. You could try adding a delay on the start_kraken.sh script before anything else, just to check if Ubuntu is still starting something critical up before kraken startup.
Another problem, when starting it always shows either 1 degree or 280, the spectrum is always red, but as we can see there is a signal, I just start it with the script kraken_doa_start.sh, what could be the problem?
./kraken_doa_start.sh
Shut down DAQ chain ..
Config file check bypassed [ WARNING ]
kernel.sched_rt_runtime_us = -1
Desig FIR filter with the following parameters:
Decimation ratio: 1
Bandwidth: 1.00
Tap size: 1
Window function: hann
FIR filter ready
Transfer funcfion is exported to : _logs/Decimator_filter_transfer.html
Coefficients are exported to: _data_control/fir_coeffs.txt
Starting DAQ Subsystem
Output data interface: Shared memory
) (
( ) )
) ( (
_______)_
.-'---------|
( |/\/\/\/\/|
'-./\/\/\/\/|
'_________'
'-------'
Have a coffee watch radar
Remote Control is DISABLED
To enable Remote Control please install miniserve and jq.
Then change 'en_remote_control' setting in _share/settings.json file to 'true'.
Finally, apply settings by restarting the software.
Starting KrakenSDR Direction Finder
Web Interface Running at 0.0.0.0:8080
Data Out Server Running at 0.0.0.0:8081
TAK Server Installed
Starting KrakenToTAK.py
maybe there is a noise threshold setting somewhere
UPD:found it
VFO-0 Squelch Mode: Manual
VFO-0 Squelch [dB] : -80
Yes according to your screenshot you are squelched and hence no data is being provided. Setting the squelch for your signal level will fix it.