The KiwiSDR 2 online store is open for orders! Please visit kiwisdr.nz

GPS is always Paused

I am setting up a new KiwiSDR. The GPS never acquires any satellites, apparently because acq is "paused" and never "yes." This true for zero users and any setting/check box on the GPS tab that I can find. It survives any reset or power down. If I run a receiver, it shows "v1.356, 4 SDR ch, 12 GPS ch, GPS acq pause, track 0, good 0, fixes 0." Somehow this must be set in a config file in the BBG? I can't see where others have this problem. Can someone help me?? Thanks, Bob

Comments

  • jksjks
    edited December 2019
    Hmm. Try something for me?

    Connect to the admin page. Select the "console tab". Click the "connect" button.
    On the "enter shell command" field at the bottom of the page type these commands:
    cdk
    gr enable_gps admin.json
    
    In the output that appears in the box above do you see, in red, "enable_gps"? Is it followed by "true" or "false"?

    Thanks.
    Also, is your Kiwi available from the Internet? If so please email the ip address or URL to support@kiwisdr.com and I'll look at it.
  • Long shot, renew the admin connection (Ctrl +F5 to refresh or close and reopen the browser).
    On the GPS tab try these settings then see what it is doing.


    It might be that it was doing the full update so paused but the page has not properly refreshed.

    As I said long shot but good to refresh the admin page first whenever something does not seem right.

    Stu
  • jksjks
    edited December 2019
    Good point Stu. If the Kiwi is new out-of-the-box and has recently had its first Internet connection it might be in the middle of the initial long upgrade (20 to 30 minutes). During that time you can connect to the admin page. But user connections and GPS are disabled to give more CPU cycles to the upgrade process. I should probably make it display a message saying that..
  • It has many hours of operation, and several restarts and the "Paused" persists, so it doesn't seem to be a temporary Pause.

    OK, Running the BBG Console:
    root@kiwisdr:~/kiwi.config# gr enable_gps admin.json

    {"user_password":"","user_auto_login":true,"admin_password":"..removed..","admin_auto_login":true,"port":8073,"enable_gps":false,"update_check":true,"update_inst

    all":true,"sdr_hu_register":false,"api_key":"replaced with API key from sdr.hu/register","port_ext":8073,"firmware_sel":0,"tlimit_exempt_pwd":"","server_enabled

    ":true,"auto_add_nat":true,"duc_enable":false,"duc_user":"","duc_pass":"","duc_host":"","duc_update":3,"daily_restart":false,"update_restart":0,"ip_address.dns1

    ":"8.8.8.8","ip_address.dns2":"8.8.4.4","url_redirect":"","ip_blacklist":"47.88.219.24/24","no_dup_ip":false,"my_kiwi":true,"options":0,"GPS_tstamp":true,"use_k

    alman_position_solver":true,"rssi_azel_iq":0,"always_acq_gps":true,"include_alert_gps":false,"include_E1B":true,"survey":180,"E1B_offset":4,"acq_Navstar":true,"

    acq_QZSS":true,"QZSS_prio":false,"acq_Galileo":true,"plot_E1B":true,"rev_user":"","rev_host":"","ip_address":{"use_static":false,"ip":"192.168.0.201","netmask":

    "255.255.255.0","gateway":"","dns1":"8.8.8.8","dns2":"8.8.4.4"},"onetime_password_check":true}

    The interesting variable would seem to be "enable_gps":false

    It is not available yet on the internet as I am still learning router-speak. Soon, I hope.

    Bob
  • jksjks
    edited December 2019
    Okay, do as before but this time type the commands:
    cdk
    cp admin.json admin.json.save
    sed -i 's/"enable_gps":false/"enable_gps":true/' admin.json
    
    Note carefully the mix of single ( ' ) and double ( " ) quotes in that command. Type it exactly. Get it wrong and your Kiwi might become bricked.
    Then immediately go to the "control" tab and click "KiwiSDR server restart" and "Confirm" without doing anything else in-between.

    "enable_gps" is an old config setting that was superseded by the three GPS system settings (Navstar/QZSS/Galileo). There is code to force it "true" but somehow that has failed us here.
  • Good news is that everything is "not-bricked."

    Success, "gr enable_gps admin.json" produces ..."enable_gps":true, ...

    The GPS tab no longer shows acq:paused

    AND We are tracking satellites:GPS: acquire yes, track 5, good 2, fixes 0

    Given time and maybe better antenna position (it is inside now) all will work.

    Thanks much. I don't know how it got there, but its FIXED. Bob
  • jksjks
    edited December 2019
    I see an improvement I can make in the code to eliminate this in the future. Thanks for calling it to our attention.
Sign In or Register to comment.