I have a Mikrotik RB-912uag-2hpnd that is on the last version of the ar71xx branch of AREDN code. I need to convert it to the newer ath79 codebase but it does not appear that a simple sysupgrade will work (I tried). Can someone describe the necessary steps to make this architecture change in an existing AREDN node currently running 3.22.12.0 of the ar71xx branch. If I missed a thread discussing this or some docs, just send me a reference.
Thanks,
-Doug-, KD7DK
Thanks,
-Doug-, KD7DK
Hi, Doug:
I recommend using a 'first install' PXE method.
73, Chuck
Jim NH6HI
One might try
http://docs.arednmesh.org/en/3.23.4.0/arednHow-toGuides/firmware_tips.ht...
or
https://docs.arednmesh.org/en/latest/arednHow-toGuides/firmware_tips.htm...
There is a '-f' (force) option in the sysupgrade command when loading firmware that has been previously
transfered to the node.
73, Chuck
Jim NH6HI
Yes.
I used the 'scp', 'ssh', 'sysupgrade -F' method.
https://www.arednmesh.org/comment/22538#comment-22538
73, Chuck
The baseboxes can be stubborn sometimes to upgrade. I had one that would not do it for months, then all of a sudden relented. You could default to one of the ssh loading methods instead of using the web interface.
Ed
New from the download under Administration: aredn-3.23.4.0-ath79-mikrotik-mikrotik-routerboard-912uag-5hpnd-squashfs-sysupgrade.bin
It goes through the motions but comes back the same as it was.
Every other Mikrotik device I own will upgrade but the basebox5 using upload. Looks like I have to go to each site if I want to upgrade.
Jim
Jim
To transfer the image from a Windows computer you can use a Secure Copy program such as WinSCP.
Then use a terminal program such as PuTTY to connect to the node via ssh or telnet in order to run the
sysupgrade command shown as the last line above.
(WinSCP)
I was hoping to see a comment about your use of WinSCP to transfer the sysupgrade.bin file to the node.
Did you transfer the sysupgrade.bin file to the node and then ssh (Putty) into the node and execute
a 'sysupgrade -F ' command?
If yes, please copy and paste that sequence so the we can see that the command was accepted and executed.
If there was an error message, please include that too.
I have no knowledge of 'AnyDesk'. :-|
73, Chuck
Short of doing that, you guys could schedule a Zoom or teams meeting where Jim shares screen and Chuck instructs. I would agree that something is being missed here. The thread started out discussing a single device that would not update and you said others were just fine. Now you say that six devices are not updating, so it's really unlikely six devices had some sort of similar failure all at the same time. I suggest a Zoom call where Jim is both on internet and mesh at the same time (easy to do if your internet access goes thru a hAP or similar switch). There are several folks on the forum who might spot what is being missed here.
Ed
gelmce@nc8q-desktop:~$ cd Downloads/AREDNMESH/NightlyBuilds/20240327/ath79/generic
gelmce@nc8q-desktop:~/Downloads/AREDNMESH/NightlyBuilds/20240327/ath79/generic$ scp -P2222 aredn-20240327-3d1faf8-ath79-generic-ubnt_litebeam-ac-gen2-squashfs-sysupgrade.bin root@NC8Q-LBE5acGen2f:/tmp
root@nc8q-lbe5acgen2f's password:
aredn-20240327-3d1faf8-ath79-generic-ubnt_litebeam-ac-gen2-squashfs-sysupgrade.bin 100% 5697KB 1.3MB/s 00:04
gelmce@nc8q-desktop:~/Downloads/AREDNMESH/NightlyBuilds/20240327/ath79/generic$ ssh -p2222 root@NC8Q-LBE5acGen2f
root@nc8q-lbe5acgen2f's password:
BusyBox v1.36.1 (2023-11-14 13:38:11 UTC) built-in shell (ash)
_____ ______ _____ _ _
/\ | __ \| ____| __ \| \ | |TM
/ \ | |__) | |__ | | | | \| |
/ /\ \ | _ /| __| | | | | . ` |
/ ____ \| | \ \| |____| |__| | |\ |
/_/ \_\_| \_\______|_____/|_| \_|
AMATEUR RADIO EMERGENCY DATA NETWORK
-----------------------------------------------
1) Research AREDN and choose a supported device
2) Download and install AREDN firmware
3) Deploy and enjoy the mesh
-----------------------------------------------
20240325-d517e4f, r23630-842932a63d
----------------------------------------------
root@NC8Q-LBE5acGen2f:~# ls -l /tmp/aredn*
-rw-r--r-- 1 root root 5833526 Mar 28 23:37 /tmp/aredn-20240327-3d1faf8-ath79-generic-ubnt_litebeam-ac-gen2-squashfs-sysupgrade.bin
root@NC8Q-LBE5acGen2f:~# sysupgrade -F aredn-20240327-3d1faf8-ath79-generic-ubnt_litebeam-ac-gen2-squashfs-sysupgrade.bin
Thu Mar 28 23:38:59 UTC 2024 upgrade: Saving config files...
Thu Mar 28 23:39:00 UTC 2024 upgrade: Commencing upgrade. Closing all shell sessions.
Command failed: Connection failed
root@NC8Q-LBE5acGen2f:~#
root@NC8Q-LBE5acGen2f:~# client_loop: send disconnect: Broken pipe
...I waited about 6 minutes...
gelmce@nc8q-desktop:~/Downloads/AREDNMESH/NightlyBuilds/20240327/ath79/generic$ ssh -p2222 root@NC8Q-LBE5acGen2f
root@nc8q-lbe5acgen2f's password:
BusyBox v1.36.1 (2024-03-22 22:09:42 UTC) built-in shell (ash)
_____ ______ _____ _ _
/\ | __ \| ____| __ \| \ | |TM
/ \ | |__) | |__ | | | | \| |
/ /\ \ | _ /| __| | | | | . ` |
/ ____ \| | \ \| |____| |__| | |\ |
/_/ \_\_| \_\______|_____/|_| \_|
AMATEUR RADIO EMERGENCY DATA NETWORK
-----------------------------------------------
1) Research AREDN and choose a supported device
2) Download and install AREDN firmware
3) Deploy and enjoy the mesh
-----------------------------------------------
20240327-3d1faf8, r23809-234f1a2efa
----------------------------------------------
root@NC8Q-LBE5acGen2f:~#
... Note that my device was upgraded from 20240325 to 20230327 ...
Jim: Please show what you did.
73, Chuck
All my devices are Mikrotik. hAP, SXT, LGH, & Basebox5. Everything but the basebox5's upgraded from ar71 to ath79. I have more than 6 basebox5's out in remote places. I have a Basebox5 on my van sitting in my driveway that I just tried to upgrade and it failed to the point that I had to re-flash like from new. I didn't do a screenprint. I just saw all the new posts so I'm going to try it again and try to get some screenshots through the process.I'll get back in a bit.
Jim
Couldn't post the pictures
Jim
Like I did in number 15,
I was hoping that you would copy and paste the text from the console commands you used.
I was hoping to see the commands you used and the responses from your device.
73, Chuck
I, also, did not do a screen print.
73, Chuck