CASE - 1:
Pi already had dump1090-fa or dump1090-mutability installed PRIOR to upgrade
(Raspbian or Piaware image)
Following method was TESTED by me and found successful
Step 1:
Open file /etc/rc.local for editing
Code:
pi@piaware:~$ sudo nano /etc/rc.local
OR
pi@raspberrypi:~$ sudo nano /etc/rc.local
Step 2:
Add a line
sudo systemctl restart fr24feed ABOVE LAST LINE i.e. above
exit 0
The file will become like shown below.
Code:
#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.
sudo systemctl restart fr24feed
exit 0
Step 3:
Save file (Ctrl+o) and close file (Ctrl+x)
Step 4:
Restart Pi
Step 5:
Wait for 5 minutes after giving restart command, then check if fr24feed is working
(a) Type in your Browser's address bar
ip-of-pi:8754 and see the status
(b) Give following command and see status
CASE - 2:
Pi24 image
CAUTION: This method is not tested by me as I did not have Pi24 Image running when Auto-update took place.
@Oblivion: If you have Pi24 image which was affected by this upgrade, can you please check/test this method and post results? Thank you.
(1) First of all make a backup copy of your settings file /etc/fr24feed.ini so that you can revert in case something breaks
Code:
#Make copy
sudo cp /etc/fr24feed.ini /etc/fr24feed.ini.bak
#Check if copy has been made by giving command ls or dir
#If copying successful, you will see both the files fr24feed.ini AND fr24feed.ini.bak
ls
(2) Type in your Browser's address bar
ip-of-pi:8754/settings.html
(3) Change settings as follows
- Change Receiver from DVB-T to AVR-TCP
- In HOST field, enter
localhost:30002
- In COM/DEV/PATH field, remove any entry (such as /usr/lib/fr24/dump1090 OR /usr/bin/dump1090-mutability) and leave this field BLANK
(4) Click "Save" button, then "Restart" button. Both buttons are at bottom-right of settings page. Clicking save button will save current settings in the file
/etc/fr24feed.ini
(5) Carry out All Steps of
CASE-1 above.