Results 1 to 3 of 3
  1. Collapse Details
    Run blindscan manually via command-line
    #1
    Join Date
    Mar 2021
    Posts
    2
    Post Thanks / Like
    Contribute If you enjoy reading the
    content here, click the below
    image to support our site.
    Click Here To Contribute To Our Site
    Hi everyone,

    I am looking for some help with how to run a blind-scan via the command line.

    I have an Edision Mio 4K+ running TNAP, which is working great. I ran a blind scan via the GUI, and while monitoring the system processes via SSH, saw the blindscan command being run:

    Code:
    blindscan --start=950 --stop=1550 --min=1 --max=60 --slot=0 --i2c=2 --vertical
    (I also saw it run without --vertical, to find the horizontally-polarized transponders).

    Taking a look at the GUI, the scan was successful - transponders and programs were found. However, whenever I run this command myself from the terminal, I don't get any output to stdout, just a blank line. Is it possible that there are some environment variables being set by the plugin when it invokes blindscan that I'm not seeing? I welcome any suggestions, or if anyone wants to point me to the source code, I could take a look there too.

    To give you more of an overall idea of what I'm trying to do: I'm planning to write a script that will periodically blindscan the arc of satellites that are available on my dish, and notify me whenever new transponders are found.

    Thanks in advance!
    Reply With Quote
     

  2. Thanks el bandido thanked for this post
  3. Collapse Details
    #2
    Join Date
    Dec 2010
    Location
    Atlanta, Ga.
    Posts
    8,289
    Post Thanks / Like
    Welcome to Legit!

    You need to execute the blindscan binary in /usr/bin to make this command work:
    cd /usr/bin
    ./blindscan --start=950 --stop=1550 --min=1 --max=60 --slot=0 --i2c=2 --vertical

    This command will have to be ran twice, once for horizontal, then make the needed command line changes and run it again for vertical.
    Something like this:
    cd /usr/bin
    ./blindscan --start=950 --stop=1550 --min=1 --max=60 --slot=0 --i2c=2
    ./blindscan --start=950 --stop=1550 --min=1 --max=60 --slot=0 --i2c=2 --vertical

    These commands will return whatever is found in the terminal. Some lnb types will work OK while others will need a bit of math to make the transponder frequencies read correctly. The correct math may be found in the blindscan plugin (if needed).
    Reply With Quote
     

  4. Collapse Details
    #3
    Join Date
    Mar 2021
    Posts
    2
    Post Thanks / Like
    Quote Originally Posted by el bandido View Post
    Welcome to Legit!

    You need to execute the blindscan binary in /usr/bin to make this command work:
    cd /usr/bin
    ./blindscan --start=950 --stop=1550 --min=1 --max=60 --slot=0 --i2c=2 --vertical

    This command will have to be ran twice, once for horizontal, then make the needed command line changes and run it again for vertical.
    Something like this:
    cd /usr/bin
    ./blindscan --start=950 --stop=1550 --min=1 --max=60 --slot=0 --i2c=2
    ./blindscan --start=950 --stop=1550 --min=1 --max=60 --slot=0 --i2c=2 --vertical

    These commands will return whatever is found in the terminal. Some lnb types will work OK while others will need a bit of math to make the transponder frequencies read correctly. The correct math may be found in the blindscan plugin (if needed).
    Thanks for the help! I think part of the issue is that I had the receiver in "standby" when I was running those commands. When I have the receiver GUI on and have it tuned to a program, I get output from blindscan. Do you know if there is a way to have that work, without needing to have the GUI up or a program tuned? I also noticed that blindscan wasn't able to differentiate between vertical and horizontal (I assume that's because I had a program from a horizontal transponder tuned while running the scan). Here's an example on 103W Ku:

    Code:
    root@osmio4kplus:/usr/bin# ./blindscan --start=950 --stop=1550 --min=1 --max=60 --slot=0 --i2c=2
    OK HORIZONTAL 10708000 1013000 DVB-S INVERSION_AUTO PILOT_OFF FEC_AUTO QPSK ROLLOFF_35 1 -1 0
    OK HORIZONTAL 10760000 29999000 DVB-S2 INVERSION_AUTO PILOT_ON FEC_5_6 8PSK ROLLOFF_35 1 -1 0
    OK HORIZONTAL 10880000 30002000 DVB-S2 INVERSION_AUTO PILOT_ON FEC_5_6 8PSK ROLLOFF_35 1 -1 0
    OK HORIZONTAL 10911000 4600000 DVB-S2 INVERSION_AUTO PILOT_OFF FEC_3_4 8PSK ROLLOFF_35 1 -1 0
    OK HORIZONTAL 10929000 4600000 DVB-S2 INVERSION_AUTO PILOT_ON FEC_3_4 8PSK ROLLOFF_35 1 -1 0
    OK HORIZONTAL 10935000 4600000 DVB-S2 INVERSION_AUTO PILOT_ON FEC_3_4 8PSK ROLLOFF_35 1 -1 0
    OK HORIZONTAL 11080000 29968000 DVB-S2 INVERSION_AUTO PILOT_OFF FEC_5_6 8PSK ROLLOFF_35 1 -1 0
    OK HORIZONTAL 11120000 29999000 DVB-S2 INVERSION_AUTO PILOT_ON FEC_5_6 8PSK ROLLOFF_35 1 -1 0
    root@osmio4kplus:/usr/bin# ./blindscan --start=950 --stop=1550 --min=1 --max=60 --slot=0 --i2c=2 --vertical
    OK VERTICAL 10708000 1013000 DVB-S INVERSION_AUTO PILOT_OFF FEC_AUTO QPSK ROLLOFF_35 1 -1 0
    OK VERTICAL 10760000 29997000 DVB-S2 INVERSION_AUTO PILOT_ON FEC_5_6 8PSK ROLLOFF_35 1 -1 0
    OK VERTICAL 10880000 30002000 DVB-S2 INVERSION_AUTO PILOT_ON FEC_5_6 8PSK ROLLOFF_35 1 -1 0
    OK VERTICAL 10911000 4600000 DVB-S2 INVERSION_AUTO PILOT_OFF FEC_3_4 8PSK ROLLOFF_35 1 -1 0
    OK VERTICAL 10929000 4600000 DVB-S2 INVERSION_AUTO PILOT_ON FEC_3_4 8PSK ROLLOFF_35 1 -1 0
    OK VERTICAL 10935000 4600000 DVB-S2 INVERSION_AUTO PILOT_ON FEC_3_4 8PSK ROLLOFF_35 1 -1 0
    OK VERTICAL 11080000 29971000 DVB-S2 INVERSION_AUTO PILOT_OFF FEC_5_6 8PSK ROLLOFF_35 1 -1 0
    OK VERTICAL 11120000 29999000 DVB-S2 INVERSION_AUTO PILOT_ON FEC_5_6 8PSK ROLLOFF_35 1 -1 0
    Thanks a lot!
    Reply With Quote
     

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •