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

v1.462: MANUAL INTERVENTION REQUIRED to receive future updates

24

Comments

  • @rrobinet update_fix is a script in the ~/Beagle_SDR_GPS directory. So you have to cd there before typing it will find it. Use the cdp alias as a quick way to do that.

    Before running the script, try some of commands from the above post:

    gst

    gurl

    head -2 Makefile

  • @rrobinet Some more questions: Does the admin page load anything at all? Like just the tabs at the top of the page? Or do you get a completely blank screen? Or does your browser give you a connection error?

    Can you make a user connection to this Kiwi?

  • Thanks for the quick replies.

    I found your manual update instruction on the Quick Start guide and 'cdp;up' worked perfectly

  • Okay, good.

    up and update_fix do the same job essentially. up is designed to be run from an ssh session and update_fix from the admin console tab.

  • I got fatal: unable to access 'https://github.com/jks-prv/Beagle_SDR_GPS.git/': Couldn't connect to server
    root@kiwisdr:~# 
    

    after I gave it the gclone Beagle_SDR_GPS

    73, Larry WB8LBZ

    El Paso, TX

  • @WB8LBZ Okay, please try:

    cd

    mv B.old Beagle_SDR_GPS

    touch /root/kiwi.config/opt.git_no_https

    cdp

    m git

    Stop if the above command gives any sort of error.

    update_fix

  • I got:

    root@kiwisdr:~/Beagle_SDR_GPS# m git
    make: Warning: File '../build/obj/ext_init.d' has modification time 764274 s in the future
    git clean -fd
    git checkout .
    git pull -v git://github.com/jks-prv/Beagle_SDR_GPS.git
    fatal: unable to connect to github.com:
    github.com[0: 140.82.114.4]: errno=Network is unreachable
     
    Makefile:1171: recipe for target 'git' failed
    make: *** [git] Error 1
    root@kiwisdr:~/Beagle_SDR_GPS# 
    

    73, Larry WB8LBZ

    El Paso, TX

  • jksjks
    edited September 2021

    @WB8LBZ Well, I'm almost out of ideas. You've got some pretty serious networking problems that are not necessarily a Kiwi issue. What happens if you:

    cat /etc/resolv.conf

    tr 1.1.1.1

    tr google.com

    tr github.com

  • Here is what I got back:

    root@kiwisdr:~/Beagle_SDR_GPS# cat /etc/resolv.conf

    domain elp.rr.com

    search elp.rr.com

    nameserver 192.168.0.1

    nameserver 1.1.1.1

    root@kiwisdr:~/Beagle_SDR_GPS# tr 1.1.1.1

    traceroute to 1.1.1.1 (1.1.1.1), 30 hops max, 60 byte packets

    connect: Network is unreachable

    root@kiwisdr:~/Beagle_SDR_GPS# tr google.com

    traceroute to google.com (172.217.1.238), 30 hops max, 60 byte packets

    connect: Network is unreachable

    root@kiwisdr:~/Beagle_SDR_GPS# tr github.com

    traceroute to github.com (140.82.112.4), 30 hops max, 60 byte packets

    connect: Network is unreachable

    root@kiwisdr:~/Beagle_SDR_GPS# 

    73, Larry WB8LBZ

    El Paso, TX

  • edited September 2021

    Larry could you show the result of "iptables -S"

    Also "route"

    Stu

  • jksjks
    edited September 2021

    @WB8LBZ I just don't get it. You are able to connect to the Kiwi from a machine on the same 192.168.0.xxx local network. That machine is able to connect to sites on the Internet without problems. But the Kiwi has no routing outside of 192.168.0.xxx at all!

    What URL are you typing into the browser to get to the Kiwi? Its ip address? kiwisdr.local:8073?

    What output do you get from the commands:

    ip

    route

    Are you doing ANYTHING non-standard, e.g. wifi anywhere. And this worked fine running the version prior to v1.462? Any idea when the last time an update happened? Do you have automatic updates turned on or is it off and you choose to do updates manually?

  • jksjks
    edited September 2021

    Please continue the discussion about Ulli's problems in the new thread "v1.462: update problems" and not here.

    Thank you.

  • edited September 2021

    Ah! I'm glad I checked in to the Forum, because I was noticing some errors regarding automatic updates. I concur with the idea of "Binary Only" updates... MUCH easier for end users. :)

    So far, so good... "update_fix" is running on my unit. Fingers crossed!!

    EDIT: It works! :) THANK YOU!

    "Installed version: v1.465, built Sep 20 2021 03:18:23

    Running most current version"

  • I'm back after playing on a weekend Ham Radio contest.

    The question from Powernumpty, and jks

    From the console:

    root@kiwisdr:~/Beagle_SDR_GPS# iptables -S
    -P INPUT ACCEPT
    -P FORWARD ACCEPT
    -P OUTPUT ACCEPT
    -N KIWI
    -A INPUT -j KIWI
    -A KIWI -s 47.88.219.0/24 -j DROP
    -A KIWI -j RETURN
    root@kiwisdr:~/Beagle_SDR_GPS# route
    Kernel IP routing table
    Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
    192.168.0.0     *               255.255.255.0   U     0      0        0 eth0
    192.168.7.0     *               255.255.255.252 U     0      0        0 usb0
    root@kiwisdr:~/Beagle_SDR_GPS# ip
    eth0      Link encap:Ethernet  HWaddr 64:33:db:17:50:ab  
              inet addr:192.168.0.135  Bcast:192.168.0.255  Mask:255.255.255.0
              inet6 addr: fe80::6633:dbff:fe17:50ab/64 Scope:Link
    root@kiwisdr:~/Beagle_SDR_GPS# 
    

    The Kiwi is plugged into a switch on the network like my surfing computer. Looks like the build is up to v1.465 now.


    73, Larry WB8LBZ

    El Paso, TX

  • The route looks surprisingly light (E.G. no default gateway).

    I'll let the main man give a sensible answer while I sit here wondering 1. how it got like that 2. still managed to update.

  • @WB8LBZ Well, the fact that the auto update was finally able to pickup v1.465 means something about the networking got sorted out behind the scenes. I'm inclined to blame the ISP (having been one myself in the distant past).

  • No, I'm still on v1.461 I want to get to v1.465 as mentioned by N1NKM.

    73, Larry WB8LBZ

    El Paso, TX

  • You could try

    "route add default gw 192.168.0.1 eth0"

    Assuming your router is 192.168.0.1

  • @WB8LBZ Sorry, misinterpreted your comment. Have you ever tried rebooting the Beagle to see if it clears the "network is unreachable" problem? Click the blue "Beagle reboot" button on the admin page, control tab. It will take about a minute before the admin page will respond again.

    Once it does try these again please:

    route

    cat /etc/resolv.conf

    tr 1.1.1.1

    tr google.com

    tr github.com


  • It has been off for since Friday afternoon but I'll try these.

    Larry

  • @jks , here is what I got back,

    root@kiwisdr:~/Beagle_SDR_GPS# route

    Kernel IP routing table

    Destination   Gateway     Genmask     Flags Metric Ref  Use Iface

    192.168.0.0   *        255.255.255.0  U   0   0    0 eth0

    192.168.7.0   *        255.255.255.252 U   0   0    0 usb0

    root@kiwisdr:~/Beagle_SDR_GPS# cat /etc/resolv.conf

    domain elp.rr.com

    search elp.rr.com

    nameserver 192.168.0.1

    nameserver 1.1.1.1

    root@kiwisdr:~/Beagle_SDR_GPS# tr 1.1.1.1

    traceroute to 1.1.1.1 (1.1.1.1), 30 hops max, 60 byte packets

    connect: Network is unreachable

    root@kiwisdr:~/Beagle_SDR_GPS# tr google.com

    traceroute to google.com (142.251.46.142), 30 hops max, 60 byte packets

    connect: Network is unreachable

    root@kiwisdr:~/Beagle_SDR_GPS# tr github.com

    traceroute to github.com (140.82.112.4), 30 hops max, 60 byte packets

    connect: Network is unreachable

    root@kiwisdr:~/Beagle_SDR_GPS# 


    73, Larry WB8LBZ

    El Paso, TX

  • jksjks
    edited September 2021

    @WB8LBZ And this is after a reboot? What do you get if you do uptime ? Also, please do the dog command.

  • @jks,

     root@kiwisdr:~/Beagle_SDR_GPS# uptime
     05:18:12 up  1:03,  0 users,  load average: 1.04, 1.06, 1.05
    root@kiwisdr:~/Beagle_SDR_GPS# dog 
    Debian 8.5
    BeagleBoard.org Debian Image 2016-05-13
    Linux kiwisdr 4.4.9-ti-r25 #1 SMP Thu May 5 23:08:13 UTC 2016 armv7l GNU/Linux
    

    Larry

  • @Powernumpty , thanks for the suggestion. I did that then the update_fix and it took off.

    Looks like its going to be v1.465, Happy Happy Happy.

    73, Larry WB8LBZ

    El Paso, TX

  • Well that is a bit strange, like putting a wheel back on a car without an obvious cause for it to have come off in the first place, still it's better running with the wheel on, and we can review further down the road now.

    73 Stu

  • When I display the admin page, only tabs are displayed.

    http://www.jp1odj.com/window.jpg

    I cannot enter shell commands.

    I don't understand the operation.

    Please help me.

    (I don't understand English, so I use translation software.)

  • ご迷惑をおかけしましたことをお詫び申し上げます。 これらの指示に従ってください。 まず、管理ページが表示されたら、ブラウザメニューからブラウザの「コンソール」ウィンドウを開きます。 以下に示すFirefoxの例。 管理ページにアクセスできないため、以下にKiwiユーザー接続を示します。 ただし、この手順は管理ページでのみ機能します。

    Apologies for the trouble. Please follow these directions. First, when admin page is shown, open browser "console" window from browser menu. Example for Firefox shown below. I show Kiwi user connection below since I cannot access your admin page. But this procedure works only on the admin page.



    次に、コンソールウィンドウの下部で、緑色の矢印が指す場所に次のように入力します。 ext_send( 'SET force_check = 1 force_build = 1')これにより、現在のバージョンへのソフトウェアの再構築が開始されます。 30〜60分かかります。

    Second, type at bottom of console window where green arrow points: ext_send('SET force_check=1 force_build=1') This will start software rebuild to current version. Takes 30 to 60 minutes.



  • Thank you for your prompt reply.

    After entering ext_send('SET force_check=1 force_build=1'), the next screen is displayed.

    After that, neither KiwiSDR nor Firefox can be seen moving.

    Should I turn the power off and on after about 60 minutes?


  • From the update _fix thread -

    "When it finishes restart using the restart button on the admin control tab. Or if connected via ssh use the ku command."

    Stu

  • "So my guess is that the changes to make the config files more readable has not properly handled all the weird Unicode that some people insist on adding to their customizations." - Is this why all my DX tags for Radio Martí turned into Radio MartC- instead?

Sign In or Register to comment.