Announcement

Collapse
No announcement yet.

Windows Setup/Feed Migration (virtualVM) Assistance

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

  • I enter this commands after re installation of VM & Debian:

    Code:
    sudo apt-get update
    
    sudo apt update
    
    sudo apt install -y git build-essential debhelper rtl-sdr
    
    sudo apt install -y librtlsdr-dev libusb-1.0-0-dev pkg-config
    
    sudo apt install -y fakeroot curl cron lighttpd
    
    sudo git clone -b unmaintained https://github.com/mutability/dump1090.git dump1090-1.15
    
    cd dump1090-1.15
    
    sudo dpkg-buildpackage -b
    
    cd ../
    
    sudo dpkg -i dump1090-mutability_1.15~dev_*.deb
    
    sudo lighty-enable-mod dump1090
    
    sudo /etc/init.d/lighttpd force-reload
    
    sudo wget -O /etc/udev/rules.d/rtl-sdr.rules "https://raw.githubusercontent.com/osmocom/rtl-sdr/master/rtl-sdr.rules"
    
    sudo reboot
    
    sudo dpkg-reconfigure dump1090-mutability
    
    sudo apt install libc6
    
    sudo apt install libudev1
    
    sudo apt-get install -y librtlsdr-dev
    
    sudo apt install zlib1g
    
    sudo apt install libusb-1.0-0
    
    sudo apt install libstdc++6
    
    sudo apt install dirmngr
    
    wget https://repo-feed.flightradar24.com/linux_x86_binaries/fr24feed_1.0.25-5_i386.deb
    
    sudo dpkg -i fr24feed_1.0.18-5_i386.deb
    
    sudo fr24feed --signup
    
    sudo systemctl restart fr24feed
    
    fr24feed-status

    I think it's working!

    9-2.jpg

    my account in flighradar24 changed to business but only FR24 MLAT not running.
    Last edited by arash; 2020-11-10, 20:10.

    Comment


    • arash:

      Glad that you finally succeeded.

      Do not worry about MLAT. Most likely it will start showing after a while.
      Even if it remains failed, dont worry, it happens with lot of feeders. Just ignore it.

      NOTE:
      If you post commands as Quote, the address in wget command is shortened, as happened in your last post above.
      Always post under Code (like I have done below). It will display full url.

      Code:
      wget https://repo-feed.flightradar24.com/linux_x86_binaries/fr24feed_1.0.25-3_i386.deb
      sudo dpkg -i fr24feed_1.0.18-5_i386.deb
      The versions in the above two commands in your post do not match. The FR24 feeder package cannot get installed unless versions in both the commands are same. Seems a copy-paste mistake while posting in forum.

      Just out of curiosity, what is the output of following command? It will show the version number which is actually installed.

      apt policy fr24feed



      .
      Last edited by abcd567; 2020-11-08, 17:13.

      Comment


      • abcd567

        Thank you

        I will consider the things you said about sending the post.

        This is out put of "apt policy fr24feed" command:

        Installed: 1.0.25-3
        Candidate: 1.0.25-3

        Version table:
        ***1.0.25-3 100
        100/var/lib/dpkg/status

        I want to ask 2 question:

        1- Given that I use VM, when should I connect Dongle to a computer? Before launching VM or after Linux boot?

        2- It may sound like a joke, but I can't take a screenshot of the Linux by pressing Print Screen button!

        Comment


        • Originally posted by arash View Post
          Installed: 1.0.25-3
          Candidate: 1.0.25-3
          Great! You have the latest version installed.

          The "sudo dpkg -i fr24feed_1.0.18-5_i386.deb" command you posted was obviously a copy-paste mistake, as it will try to install old version 1.0.18, and will fail as it did not exist on your computer (you have downloaded newer version 1.0.25-3 by wget command)


          Originally posted by arash View Post
          2- It may sound like a joke, but I can't take a screenshot of the Linux by pressing Print Screen button!
          ​​​​​​​You have to first click the mouse pointer on an empty place in Windows desktop to shift focus from VM to Windows, then press PrintScreen button on keyboard.


          Originally posted by arash View Post
          1- Given that I use VM, when should I connect Dongle to a computer? Before launching VM or after Linux boot?
          It can be done both ways, but it is better before launching VM, as in this case when VM is launched launched, the dongle will be passed through to VM.
          If you connect the dongle after launching VM, you have to click the dongle symbol at bottom-right of VM, and in dropdown opened, place a check mark besides the name if the dongle. Please see screenshot below.

          VM-Attaching DVB-T.png

          Last edited by abcd567; 2020-11-10, 19:03.

          Comment


          • abcd567

            I'll edit my post to correct the mistake.

            But now, I have this problem!

            9-4.jpg

            Receiver is down again!
            Last edited by arash; 2020-11-10, 20:17.

            Comment


            • Originally posted by arash View Post
              Receiver is down again!
              If you attach dongle after starting VM/Debian, the dump1090-mutability (which has already started) wont grab it and receiver will fail.

              Restart dump1090 by following command while the dongle is already inserted, then after few minutes check status of fr24feed

              Code:
              sudo systemctl restart dump1090-mutability
              Last edited by abcd567; 2020-11-10, 20:29.

              Comment


              • Interface address must be blank or remain in this format?

                9-5.jpg

                Comment


                • Make Interface adress blank.
                  I cannot recollect exactly what, but remember very well that using 127.0.0.1 in this setting results in issues in some cases, possibly viewing dump1090 map from host computer (windows) or another windows computer.

                  If you want to discover, just leave it 127.0.0.1 and try to view map from host computer (NOT VM/Debian, but Windows) or from another Desktop on same Local network.
                  Last edited by abcd567; 2020-11-10, 21:31.

                  Comment


                  • My problem does not seem to end!!!

                    Now, the link is down!

                    9-6.jpg

                    I reboot the Debian, disconnect and reconnect the dongle again and again but there is no change and link remain down!

                    Also, I remove 127.0.0.1 from dump1090 configuration but there is no any change.
                    Last edited by arash; 2020-11-11, 08:31.

                    Comment


                    • sudo apt install netcat
                      nc localhost 30003

                      Ctrl+c to break stream of data


                      sudo apt install rtl-sdr
                      sudo systemctl stop dump1090-mutability
                      rtl_test -t

                      sudo systemctl restart dump1090-mutability
                      Last edited by abcd567; 2020-11-11, 08:03.

                      Comment


                      • This is output on fist command:
                        10-1.jpg

                        Code:
                        nc localhost 30003
                        10-2.jpg

                        Code:
                        sudo apt install rtl-sdr
                        10-3.jpg

                        Code:
                        sudo systemctl stop dump1090-mutability
                        rtl_test -t
                        10-4.jpg

                        After:

                        Code:
                        sudo systemctl restart dump1090-mutability
                        10-5.jpg

                        Link is down!
                        Last edited by arash; 2020-11-11, 08:32.

                        Comment


                        • Your dump1090 and fr24feed are working ok, however there is problem with fr24 server

                          Comment


                          • arash

                            Your instsllation is ok.

                            If you see receiver down, either restart dump1090-mutability or reboot Debian/VM.

                            If you see link to FR24 down, this is FR24 server problem. Be patient, it will go away after some time. It may reappear again, then disappera again after a while. This is a chronic problem with FR24 servers and lot of feeders face this situstion.
                            Last edited by abcd567; 2020-11-11, 22:22.

                            Comment


                            • abcd567

                              I test multi ways to run VM & plug in & out the dongle, this method is working for me & dongle report correctly:

                              1- Turn on the VM.
                              2- Turn on the Debian in VM.
                              3- Plug in dongle after complete boot of Debian.
                              4- Select it form button tool bar in Debian.

                              Now it's working correctly.

                              To shutdown:

                              1- Remove dongle form button tool bar by deselect it.
                              2- Shutdown the Debian.
                              3- Remove the dongle form windows by remove usb.

                              11.jpg



                              Last edited by arash; 2020-11-15, 21:34.

                              Comment


                              • Originally posted by arash View Post

                                I test multi ways to run VM & plug in & out the dongle, this method is working for me & dongle report correctly:

                                1- Turn on the VM.
                                2- Turn on the Debian in VM.
                                3- Plug in dongle after complete boot of Debian.
                                4- Select it form button tool bar in Debian.
                                If you go to settings, and do the steps in the screenshot below, then you will not need your step 4 above.
                                I have done what is shown in screenshot below. Now I start Debian this way:

                                1- Plug in dongle before starting VM / boot of Debian.
                                2- Turn on the VM.
                                3- Turn on the Debian in VM.

                                The dongle is automatically selected in button tool bar of Debian. No need to do your step 4


                                NOTE: Executing steps in screenshot below is required only once.
                                It is not required on every boot, as it is saved when you click OK button.


                                VM Dongle Settings.png
                                Last edited by abcd567; 2020-11-15, 23:16.

                                Comment

                                Working...
                                X