Hi Folks

You may know I am the author of the new upgrade function on LEAF Bering
and therefore take all this with a grain of salt. This is just to inform
you all about a new way to keep your router up to date (available as of
5.2.2)

I am very lazy in updating my router as in the past this was alway
connected with a few imponderables on my installation, despite it being
pretty simple. I am probably the unkonwn factor in this process. But
sometimes one has to bite the bullet and go for it. I was ready to jump
in the cold water and test my own software in a non lab environment.

My current installation was a ALIX running 5.2.1 with 3 network
interfaces the usual shorewall and dhcpclient and dnscache, some sshd,
and bridging of two adapters, nothing real fancy. Being close to the
development environment my router has a current config.lrp with the
upgrade function included)

Being still a bit chicken I chose to watch the process

upgrade -v
.... many lines
.... many lines
upgrade: iterate_deps checking wget.lrp
upgrade: retrieve
http://sourceforge.net/p/leaf/packages/ci/5.2.3/tree/i386/wget.lrp
upgrade: patch_package wget.lrp
upgrade: copy /tmp/wget.lrp /tmp/tmp.WN8srn
upgrade: iterate_deps checking wireless.lrp
upgrade: retrieve
http://sourceforge.net/p/leaf/packages/ci/5.2.3/tree/i386/wireless.lrp
upgrade: patch_package wireless.lrp
upgrade: copy /tmp/wireless.lrp /tmp/tmp.WN8srn
upgrade: iterate_deps checking wpasupp.lrp
upgrade: retrieve
http://sourceforge.net/p/leaf/packages/ci/5.2.3/tree/i386/wpasupp.lrp
upgrade: patch_package wpasupp.lrp
upgrade: copy /tmp/wpasupp.lrp /tmp/tmp.WN8srn
upgrade: upgrade terminated successfully

I used lrcfg to save the current configdb as it is patched by the
upgrade process

then

reboot (in the blind, I decided I did not want to interfere with the
boot process so I did not connect a serial cable)

About 30 seconds later I have now

gatekeeper# cat /etc/motd
LEAF Bering-uClibc 5.2.3 Rev 1 uClibc 0.9.33.2  at gatekeeper
Linux 4.1.15-geode #1 Mon Dec 28 21:49:42 CET 2015

This mail is using the above mentioned router.

I encourage you to test this function, we will try to improve it even
more with backup, cloning and web interfaces.

Sorry for the noise :-)

Erich

------------------------------------------------------------------------------
------------------------------------------------------------------------
leaf-user mailing list: leaf-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/leaf-user
Support Request -- http://leaf-project.org/

Reply via email to