-
Notifications
You must be signed in to change notification settings - Fork 20
Debug commands
wiedehopf edited this page Mar 13, 2024
·
26 revisions
enclose any log or code you post in ```, like this:
```
text
text
text
```
The correct symbol may not be on your keyboard, in that case you can copy the line below:
```
Restarting a service (lighttpd is uses as an example, just replace that with the service you want to restart0
sudo systemctl restart lighttpd
sudo journalctl --no-pager -u lighttpd
ls /etc/lighttpd/conf-enabled
grep mod_setenv /etc/lighttpd/ -rnT
sudo journalctl --no-pager -u dump1090-fa
sudo journalctl --no-pager -u readsb
sudo journalctl --no-pager -u dump978-fa
sudo bash -c "$(wget -nv -O - https://raw.githubusercontent.com/wiedehopf/adsb-scripts/master/rtl_test.sh)"
sudo dmesg --ctime | grep voltage
bash -c "$(wget -nv -O - https://raw.githubusercontent.com/wiedehopf/adsb-scripts/master/throttled.sh)"
sudo journalctl --no-pager -u collectd
sudo /usr/share/graphs1090/graphs1090.sh
sudo journalctl --no-pager -u airspy_adsb
echo -e 'blacklist rtl2832\nblacklist dvb_usb_rtl28xxu\nblacklist rtl8192cu\nblacklist rtl8xxxu\n' | sudo tee /etc/modprobe.d/blacklist-rtl-sdr.conf
Any other USB devices plugged in?
You can check throttling and voltage:
vcgencmd get_throttled
sudo dmesg --ctime | grep voltage
You can also try using force_turbo=1 in your /boot/config.txt if the RPi is switching CPU frequencies and that is causing a problem. (goes from scaling to performance governor) Note that some form of cooling is recommended.
cat /var/log/dump1090-mutability.log
sudo bash -c "$(wget -O - https://github.com/wiedehopf/adsb-scripts/raw/master/simple-storage-test.sh)"