Announcement

Collapse
No announcement yet.

Fresh Install rpi

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Fresh Install rpi

    Hi, is there a way to do a totally fresh install on rpi, I have other feeds installed that are running fine, so I just wish to clear everything as it is still remembering some of my details and is not feeding to. FR24 and I think I may of messed up a few setting
    Cheers

  • #2
    Fattony:

    Yes, there are ways, but to determine exactly how, we need to know exactly what you have installed.
    First give following commands and post their outputs

    Code:
    apt-cache policy dump1090-mutability
    
    apt-cache policy dump1090-fa
    
    apt-cache policy dump1090
    Last edited by abcd567; 2018-07-01, 22:36.

    Comment


    • #3
      These are the results
      821CD9D4-9C42-485C-99DF-EEBC4BB7559C.jpg

      Comment


      • #4
        This is the latest problem after trying the suggestion
        D730FC87-F706-4D96-85C4-7E7414BEBDB6.jpg

        Comment


        • #5
          Great

          STEP-1: Stop fr24feed
          Code:
          sudo systemctl stop fr24feed

          STEP-2: Purge fr24feed
          Code:
          sudo apt-get purge fr24feed
          .....................
          .....................
          Do you want to continue? [Y/n] [B][COLOR="#FF0000"]y[/COLOR][/B]
          (Reading database ... 40986 files and directories currently installed.)
          Removing fr24feed (1.0.19-15) ...
          (Reading database ... 40967 files and directories currently installed.)
          Purging configuration files for fr24feed (1.0.19-15) ...
          [COLOR="#FF0000"]dpkg: warning: while removing fr24feed, directory '/usr/lib/fr24' not empty so not removed[/COLOR]

          STEP-3: REBOOT
          Code:
          sudo reboot

          STEP-4: Check what files are leftover.
          Although a "purge" parameter was used, fr24feed is very stubborn and prevents deletion of many files/folders
          Code:
          sudo find / -name fr24*
          
          /var/cache/apt/archives/fr24feed_1.0.19-15_armhf.deb
          /var/log/fr24feed
          /var/log/fr24feed/fr24feed.log
          /var/log/fr24feed_install_dump1090.log
          /usr/lib/fr24
          /etc/systemd/system/multi-user.target.wants/fr24feed.service

          STEP-5: Delete leftover files and folders manually
          Code:
          sudo rm /var/cache/apt/archives/fr24feed_1.0.19-15_armhf.deb 
          sudo rm -rf /var/log/fr24feed 
          sudo rm /var/log/fr24feed_install_dump1090.log 
          sudo rm -rf /usr/lib/fr24  
          sudo rm /etc/systemd/system/multi-user.target.wants/fr24feed.service

          STEP-6: Check again if you missed deleting any left-over files
          Code:
          sudo find / -name fr24*
          If you have deleted all left-ove files, it will not list any file. If any file or folder is listed, delete it by followin command

          for file: sudo rm [filename]
          for folder: sudo rm -rf [foldername]


          STEP-7: Make a fresh install of fr24feed
          Code:
          sudo bash -c "$(wget -O - http://repo.feed.flightradar24.com/install_fr24_rpi.sh)"
          NOTE:
          Sometimes running above bash script fails to install fr24feeder and gives following ouput at the end:
          gpg: keyserver receive failed: Cannot assign requested address

          In this case run this command:
          Code:
          sudo apt-get install fr24feed
          CAUTION:
          During signup and configuring, Do NOT select Receiver DVBT, else, fr24feeder will install dump1090-mutability v1.14, downgrading your current version v1.15~dev, and creating a mess of your install.

          Comment


          • #6
            Configuring fr24feed:
            If you have already installed dump1090-mutability v1.15~dev or dump1090-fa, then NEVER SELECT RECEIVER = DVB-T.

            If you make a mistake of selecting Receiver DVB-T in FR24 settings, it will install dump1090-mutability v1.14, downgrading existing dump1090-mutability v1.15~dev. In case you have installed dump1090-fa, these two dumps will conflict and system will fail.

            Select as follows

            At the end of fr24feed install when signing up starts, choose values shown in red

            Code:
            Step 4.1 - Receiver selection (in order to run MLAT please use DVB-T stick with dump1090 utility bundled with fr24feed):
            
             1 - DVBT Stick (USB)
             -----------------------------------------------------
             2 - SBS1/SBS1er (USB/Network)
             3 - SBS3 (USB/Network)
             4 - ModeS Beast (USB/Network)
             5 - AVR Compatible (DVBT over network, etc)
             6 - microADSB (USB/Network)
             7 - SBSx via Basestation (localhost:30006)
            
            
            Enter your receiver type (1-7)$: [SIZE=4][COLOR="#FF0000"][B]4[/B][/COLOR][/SIZE]
            
            Step 4.2 - Please select connection type:
            
             1 - Network connection
             2 - USB directly to this computer
            
            Enter your connection type (1-2)$: [SIZE=4][COLOR="#FF0000"][B]1[/B][/COLOR][/SIZE]
            
            Step 4.3A - Please enter your receiver's IP address/hostname
            $: [SIZE=4][COLOR="#FF0000"][B]127.0.0.1[/B][/COLOR][/SIZE]
            
            Step 4.3B - Please enter your receiver's data port number
            $: [SIZE=4][COLOR="#FF0000"][B]30005[/B][/COLOR][/SIZE]
            
            Step 5.1 - Would you like to enable RAW data feed on port 30334 (yes/no)$: [SIZE=4][COLOR="#FF0000"]no[/COLOR][/SIZE]
            
            Step 5.2 - Would you like to enable Basestation data feed on port 30003 (yes/no)$: [SIZE=4][COLOR="#FF0000"]no[/COLOR][/SIZE]

            If you make settings using browser (IP-of-PI:8754/settings.html) choose following
            "Receiver: ModeS Beast (TCP)"
            "HOST/IP: 127.0.0.1:30005"

            See screenshot below.
            FR24 Settings with dump1090-fa or mut for multiple feed by Pi.png
            Last edited by abcd567; 2018-07-02, 00:23.

            Comment


            • #7
              Originally posted by Fattony View Post
              This is the latest problem after trying the suggestion
              [ATTACH=CONFIG]9637[/ATTACH]
              Give this command:
              Code:
              sudo sysctl -w net.ipv6.conf.all.disable_ipv6=1
              Then wait few minutes and try again
              Code:
              fr24feed --signup
              Last edited by abcd567; 2018-07-02, 04:13.

              Comment


              • #8
                Thanks for that, it took me a while, just need to sort new and old site

                Comment

                Working...
                X