You are here

software update with tunnel

15 posts / 0 new
Last post
k6dlc
k6dlc's picture
software update with tunnel
  On the next release is there a way that tunnel application can preserve part of the upgrade? I had an experience that I had lost my remote tunnel node during an upgrade. It may take me several days to physical be near the node to get it back on the network
k6dlc
k6dlc's picture
  I was mis lead on
  I was mis lead on installing the vtun ipk file. 
  I had discovered that there are other applications that is require? I saw something scrolling, but did not catch the names in time

On 9/25/21 3:49 PM, Daniel Curry wrote:
Where is the apk tun located for download?

http://downloads.arednmesh.org/snapshots/trunk/packages/mips_24kc/arednpackages/vtun_3.0.3-2_mips_24kc.ipk

downloads.arednmesh.org/releases/3/21/3.21.4.0/packages/mips_24kc/arednpackages/vtun_3.0.3-2_mips_24kc.ipk
 
k1ky
k1ky's picture
Software update with Tunnel
I have a computer attached to my network at my remote sites.  As long as you still have internet available through your nodes, you can remove the tunnel, upgrade and re-install the tunnel via remote access through the local computer. All of my remote repeater sites have a computer attached - which usually also performs other functions like WINLINK Post Office, etc.  No need to be physically present onsite to perform the upgrades.
K6CCC
K6CCC's picture
And keep in mind that it does
And keep in mind that it does not need to be a fancy computer.  A RasPi is all you need for the purpose.
 
k6dlc
k6dlc's picture
  The only way to connect to
  The only way to connect to this node is. My laptop using a hotspot for node A and via the air way to node B. Node B is the one I want to install the tunnel application. Node B does not see the internet while I am putty. Also it looks like route add is not an option. My laptop does see the internet via the hotspot WIFI.
K6CCC
K6CCC's picture
If node B has no internet,
If node B has no internet, why do you want to install tunnel software?  Kinda pointless unless it has internet.
Or am I not understanding what you are trying to do...
 
k6dlc
k6dlc's picture
Node A is only temporary for

Node A is only temporary for maintance only. Node B is the permanent one

K6CCC
K6CCC's picture
No internet, no point in tunnel.
The point was that if Node B has no internet at the location, there is no point in installing tunnel software.
 
k6dlc
k6dlc's picture
  Why are you guessing on
  Why are you guessing on what I am doing? I wish folks just answer my origianl question instead of readin my mind?
K6CCC
K6CCC's picture
Actually I thought it had
Actually I thought it had been.  No
The rest of it was work arounds which you don't seen to want to hear.
 
nc8q
nc8q's picture
is there a way that tunnel application can preserve part of the

is there a way that tunnel application can preserve part of the upgrade?

I am baffled.
Rhetorically:
Why would an application preserve part of an operating system?

On the other hand, an upgrade does save the the tunnel settings.

I cannot image a 'use case' that would allow the question be applicable.

Sorry,
Chuck
 

k6dlc
k6dlc's picture
Chuck, I guess you have never
Chuck, I guess you have never done an upgrade with a tunnel node? the configuration is saved. It is the application that needs to be reinstall.
nc8q
nc8q's picture
Does this node have internet on its WAN port?

If no,
it is of no value to install the tunnel application on a node that does not have internet?

If yes,
then you can point your browser to it and install the tunnel application from the 'Setup' page or
'ssh' into the node and use 'opkg' to install the tunnel application.

root@NC8Q-4-VWT-DARA:~/tmp# opkg update
Downloading http://downloads.arednmesh.org/snapshots/trunk/targets/ar71xx/mikrotik/packages/Packages.gz
Updated list of available packages in /var/opkg-lists/aredn_core
Downloading http://downloads.arednmesh.org/snapshots/trunk/targets/ar71xx/mikrotik/packages/Packages.sig
Signature check passed.
Downloading http://downloads.arednmesh.org/snapshots/trunk/packages/mips_24kc/base/Packages.gz
Updated list of available packages in /var/opkg-lists/aredn_base
Downloading http://downloads.arednmesh.org/snapshots/trunk/packages/mips_24kc/base/Packages.sig
Signature check passed.
Downloading http://downloads.arednmesh.org/snapshots/trunk/packages/mips_24kc/arednpackages/Packages.gz
Updated list of available packages in /var/opkg-lists/aredn_arednpackages
Downloading http://downloads.arednmesh.org/snapshots/trunk/packages/mips_24kc/arednpackages/Packages.sig
Signature check passed.
Downloading http://downloads.arednmesh.org/snapshots/trunk/packages/mips_24kc/freifunk/Packages.gz
Updated list of available packages in /var/opkg-lists/aredn_freifunk
Downloading http://downloads.arednmesh.org/snapshots/trunk/packages/mips_24kc/freifunk/Packages.sig
Signature check passed.
Downloading http://downloads.arednmesh.org/snapshots/trunk/packages/mips_24kc/luci/Packages.gz
Updated list of available packages in /var/opkg-lists/aredn_luci
Downloading http://downloads.arednmesh.org/snapshots/trunk/packages/mips_24kc/luci/Packages.sig
Signature check passed.
Downloading http://downloads.arednmesh.org/snapshots/trunk/packages/mips_24kc/packages/Packages.gz
Updated list of available packages in /var/opkg-lists/aredn_packages
Downloading http://downloads.arednmesh.org/snapshots/trunk/packages/mips_24kc/packages/Packages.sig
Signature check passed.
Downloading http://downloads.arednmesh.org/snapshots/trunk/packages/mips_24kc/routing/Packages.gz
Updated list of available packages in /var/opkg-lists/aredn_routing
Downloading http://downloads.arednmesh.org/snapshots/trunk/packages/mips_24kc/routing/Packages.sig
Signature check passed.
Downloading http://downloads.arednmesh.org/snapshots/trunk/packages/mips_24kc/telephony/Packages.gz
Updated list of available packages in /var/opkg-lists/aredn_telephony
Downloading http://downloads.arednmesh.org/snapshots/trunk/packages/mips_24kc/telephony/Packages.sig
Signature check passed.
root@NC8Q-4-VWT-DARA:~/tmp# opkg install vtun
Installing vtun (3.0.3-2) to root...
Downloading http://downloads.arednmesh.org/snapshots/trunk/packages/mips_24kc/arednpackages/vtun_3.0.3-2_mips_24kc.ipk
Installing kmod-tun (4.14.241-1) to root...
Downloading http://downloads.arednmesh.org/snapshots/trunk/targets/ar71xx/mikrotik/packages/kmod-tun_4.14.241-1_mips_24kc.ipk
Installing liblzo2 (2.10-2) to root...
Downloading http://downloads.arednmesh.org/snapshots/trunk/packages/mips_24kc/base/liblzo2_2.10-2_mips_24kc.ipk
Installing zlib (1.2.11-3) to root...
Downloading http://downloads.arednmesh.org/snapshots/trunk/packages/mips_24kc/base/zlib_1.2.11-3_mips_24kc.ipk
Configuring kmod-tun.
Configuring liblzo2.
Configuring zlib.
Configuring vtun.
root@NC8Q-4-VWT-DARA:~/tmp#

K5DLQ
K5DLQ's picture
My original design
My original design requirements for tunnels was available internet to tunnel thru. the config files do carry across upgrades since they are CONFIG. Packages don't currently. It is possible to develop a mechanism to flag the "re-installation" of tunnels after an upgrade. It is not without risks. (ie. if the new firmware version is larger then tunnels may no longer FIT, internet may not be available during the post-upgrade process, etc.) It has been requested before.
nc8q
nc8q's picture
Remote upgrade and re-establish tunnels

I just remotely upgraded my 'main home' AREDN node to Nightly Build 571.
Then re-loaded and re-established the tunnels.

After an upgrade:
If a node has more than 10 tunnel clients or 10 servers,
remember to edit maxservers and/or maxclients in 'Advanced Configuration'
prior to re-enabling more than 10 tunnel clients and/or servers.
I had 11 clients and the configuration was restored after the upgrade, but
I could not re-enable 11 clients until after updating maxclients. 

I hope this helps,
Chuck
 

Theme by Danetsoft and Danang Probo Sayekti inspired by Maksimer