Announcement

Collapse
No announcement yet.

On Pi - Not possible to feed & dump same time

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

  • On Pi - Not possible to feed & dump same time

    Hey all,

    i try to find some solutions with using search here and on the www but canīt find a solution. I would to use fr24feed and local view (maps) with dump1090 but can only have on of them working.

    Here are some informations from my Pi (1) using with RTL2838 DVB-T stick.

    Code:
    pi@flightcenter /etc/modprobe.d $ cat /proc/version
    Linux version 3.18.11+ (dc4@dc4-XPS13-9333) (gcc version 4.8.3 20140303 (prerelease) (crosstool-NG linaro-1.13.1+bzr2650 - Linaro GCC 2014.03) ) #781 PREEMPT Tue Apr 21 18:02:18 BST 2015
    
    pi@flightcenter /etc/modprobe.d $ lsusb
    Bus 001 Device 002: ID 0424:9512 Standard Microsystems Corp.
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 001 Device 004: ID 1a40:0101 Terminus Technology Inc. 4-Port HUB
    Bus 001 Device 012: ID 0bda:2838 Realtek Semiconductor Corp. RTL2838 DVB-T
    
    pi@flightcenter /etc/modprobe.d $ sudo service fr24feed status
    [ ok ] FR24 Feeder/Decoder Process: running.
    [ ok ] FR24 Stats Timestamp: 2015-06-05 18:36:35.
    [ ok ] FR24 Link: connected [UDP].
    [ ok ] FR24 Radar: T-EDDL39.
    [ ok ] FR24 Tracked AC:.
    [ ok ] Receiver: connected (1 MSGS/0 SYNC).
    So this went fine and i see config on using flightcenter:8754:

    Code:
    Flightradar24 Feeder/Decoder
    N/A
    Updated: N/A
    FR24 Link: ...
    FR24 Radar Code: ...
    Aircraft Tracked (ModeS & ADS-B): N/A
    Aircraft Uploaded: N/A
    Receiver: N/A
    When i press F5 site refresh and show:

    Code:
    Flightradar24 Feeder/Decoder
    Linux/generic/armv6l/1.0.13-2
    Updated: 20:38:17 GMT+0200
    
    FR24 Link: Connected via UDP
    FR24 Radar Code: T-EDDL39
    Aircraft Tracked (ModeS & ADS-B): 0
    Aircraft Uploaded: N/A
    Receiver: dvbt-mr, Connected
    After that i configured dump1090 --interactive --net --net-http-port 8080 and get:

    Code:
    pi@flightcenter ~ $ sudo service fr24feed status
    [ ok ] FR24 Feeder/Decoder Process: running.
    [ ok ] FR24 Stats Timestamp: 2015-06-06 19:01:34.
    [ ok ] FR24 Link: connected [UDP].
    [ ok ] FR24 Radar: T-EDDL39.
    [ ok ] FR24 Tracked AC:.
    [FAIL] Receiver: down ... failed!
    Without using 8080 for browser:

    Code:
    pi@flightcenter ~ $ sudo service fr24feed status
    [ ok ] FR24 Feeder/Decoder Process: running.
    [ ok ] FR24 Stats Timestamp: 2015-06-06 19:11:33.
    [ ok ] FR24 Link: connected [UDP].
    [ ok ] FR24 Radar: T-EDDL39.
    [ ok ] FR24 Tracked AC: 7.
    [ ok ] Receiver: connected (7879 MSGS/0 SYNC).
    
    pi@flightcenter ~ $ rtl_test -t
    Found 1 device(s):
    0: Realtek, RTL2838UHIDIR, SN: 00000001
    
    Using device 0: Generic RTL2832U OEM
    
    Kernel driver is active, or device is claimed by second instance of librtlsdr.
    In the first case, please either detach or blacklist the kernel module
    (dvb_usb_rtl28xxu), or enable automatic detaching at compile time.
    
    usb_claim_interface error -6
    Failed to open rtlsdr device #0.
    In fr24feed.log i found:

    Code:
    2015-06-06 20:50:58 | [reader][i][0]Connected to the receiver, authenticating
    2015-06-06 20:50:58 | [reader][i][0]Authenticated, processing messages
    2015-06-06 20:50:58 | [reader][i][0]Connection terminated
    2015-06-06 20:50:58 | [main][i]Terminating child process 2765 with SIGETERM
    2015-06-06 20:51:04 | [reader][i][0]Connecting to Generic receiver via (exe:///usr/lib/fr24/dump1090 --interactive --net --net-http-port 8080 --raw)
    How can i search for an error (misconfiguration maybe?).

    Thanks a lot and best regards,
    Flash
    T-EDDL150

  • #2
    the key is infront of you (and in the manual)
    or device is claimed by second instance of librtlsdr
    FR24 software has it built in, if you want to do this you need to configure the feeder to attach to the AVR output of the dump1090 output instead or it tries to use the same USB device

    (at least this is true on windows..)

    The manual guide suggests how to use and not use --net and the ports required
    Posts not to be taken as official support representation - Just a helpful uploader who tinkers

    Comment


    • #3
      Hey Oblivian,

      i will try that when i at home. I didnīt read that in the manual.

      Thanks a lot
      T-EDDL150

      Comment


      • #4
        Me again... I add these rules to fr24feed.ini

        Code:
        receiver="dvbt"
        fr24key="xx"
        path="/usr/lib/fr24/dump1090"
        bs="no"
        raw="no"
        logmode="1"
        procargs="--net --net-http-port 8080"
        windowmode="0"
        mpx="no"
        And restart it... Now i get Feed & dump!

        Thanks a lot for your help... If you have some linkd to optimize website with icons and planes please let me know!
        T-EDDL150

        Comment


        • #5
          Hmmm... To early for beeing happy!

          After some minutes i get FAIL on receiver.

          I restart PI again and get: Error opening HTML file: No such file or directory

          Can you give me a hint to search for an error?

          After reboot Pi again the view in browser is up but:

          Code:
          pi@flightcenter ~ $ sudo service fr24feed status
          [ ok ] FR24 Feeder/Decoder Process: running.
          [ ok ] FR24 Stats Timestamp: 2015-06-11 18:19:58.
          [ ok ] FR24 Link: connected [UDP].
          [ ok ] FR24 Radar: T-EDDL39.
          [ ok ] FR24 Tracked AC:.
          [FAIL] Receiver: down ... failed!
          In fr24feed.log i found again:

          Code:
          2015-06-11 20:22:56 | [reader][i][0]Connecting to Generic receiver via (exe:///usr/lib/fr24/dump1090 --net --net-http-port 8080 --raw)
          2015-06-11 20:22:56 | [reader][i][0]Connected to the receiver, authenticating
          2015-06-11 20:22:56 | [reader][i][0]Authenticated, processing messages
          2015-06-11 20:22:56 | [reader][i][0]Connection terminated
          2015-06-11 20:22:56 | [main][i]Terminating child process 3037 with SIGETERM
          2015-06-11 20:22:57 | [feed][n]ping 11
          Uff...
          Last edited by Flash; 2015-06-11, 18:25.
          T-EDDL150

          Comment


          • #6
            Hmmm... Could be a part of this issue?

            I found fr24feed & dump1090.sh in my /etc/init.d. I think it start both after reboot. If i kill processes and use sudo service fr24feed start it will start working.
            But in this case Error opening HTML file: No such file or directory. If i do nothing after reboot i can view it on local browser but feed doesnīt start.

            In fr24feed (/etc/init.d) there is no path or command to start dump1090 but it starts with the result Error opening HTML file.
            T-EDDL150

            Comment


            • #7
              I donīt know from where comes my error.

              I made a fresh raspian and fr24feed installation without any scripts from this forum.

              For the moment everything works fine. I will keep an eye on it and check from time to time running processes.

              To-Do for now: Bring the pi to the net!

              Thanks a lot and have a nice weekend,
              Flash@T-EDDL39
              Last edited by Flash; 2015-06-13, 07:53.
              T-EDDL150

              Comment


              • #8
                i thought that the newer fr24 software doesnt need dump1090 as its built in.
                T-EGLF8

                Comment

                Working...
                X