From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mout.gmx.net (mout.gmx.net [212.227.17.22]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "mout.gmx.net", Issuer "TeleSec ServerPass DE-1" (verified OK)) by huchra.bufferbloat.net (Postfix) with ESMTPS id BEE1021F1FA for ; Sat, 12 Apr 2014 17:30:15 -0700 (PDT) Received: from hms-beagle-3.home.lan ([217.86.120.237]) by mail.gmx.com (mrgmx103) with ESMTPSA (Nemesis) id 0MRXVc-1WO5i81Z7o-00SbKC; Sun, 13 Apr 2014 02:30:04 +0200 Content-Type: text/plain; charset=iso-8859-1 Mime-Version: 1.0 (Mac OS X Mail 6.6 \(1510\)) From: Sebastian Moeller In-Reply-To: Date: Sun, 13 Apr 2014 02:30:03 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: References: <85984.1397137700@turing-police.cc.vt.edu> <5346A561.30901@gmail.com> <5006.1397148038@turing-police.cc.vt.edu> To: Jim Reisert AD1C X-Mailer: Apple Mail (2.1510) X-Provags-ID: V03:K0:GTQZ6D0CZxZrsWJHc/A30u6WTzA5oWGDBEs/kM0w93zCLcaOE4n eiWzAadr1/i5x43OowljEEgCOYt/bF2WF/eMwK6ZAlK6hj+Ymbpc4ZwDFNVsaxnOAZlLggh WNkkhIvKosqimgfP/skAl+34KRjRxV5qnvIxteDWulwt7PTL2GhdPuRKKeCS3eHa47GxL/L Mv+mxveXSRisfB87dMqbQ== Cc: cerowrt-devel@lists.bufferbloat.net Subject: Re: [Cerowrt-devel] cerowrt-3.10.36-4 released X-BeenThere: cerowrt-devel@lists.bufferbloat.net X-Mailman-Version: 2.1.13 Precedence: list List-Id: Development issues regarding the cerowrt test router project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 Apr 2014 00:30:16 -0000 Hi Jim, On Apr 13, 2014, at 02:22 , Jim Reisert AD1C = wrote: > On Thu, Apr 10, 2014 at 12:02 PM, Sebastian Moeller wrote: >> Hi Valdis, >>=20 >>=20 >> On Apr 10, 2014, at 18:40 , Valdis.Kletnieks@vt.edu wrote: >>=20 >>> On Thu, 10 Apr 2014 15:06:25 +0100, Robert Bradley said: >>>> Try using TFTP with the *factory.img file instead, since that = worked for me. >>>=20 >>> I'd like to at least try to figure out why the sysupgrade path is = busted >>> before I throw factory.img at it, which will probably wipe out all = evidence. >>>=20 >>> Any hints where to start looking? >>=20 >> You could try the following: >> scp /path/to /the/sysupgrade/image.bin root@gw.home.lan:/tmp >> ssh root@gw.home.lan >> cd /tmp >> sysupgrade -n -d 60 -v ./image.bin >=20 > I tried this - unfortunately, I lost all my settings in the process. Well, the "-n" in the shown evocation requests that the settings = are not kept, so this behaves as expected. (Due to the amount of flux in = openwrt trunk and cerowrt on top it generally is hazardous to keep the = settings; it is way better to make a backup before and then compare = files before restoring them) I guess that means I forgot to lead the whole thing in with: scp -r root@gw.home.lan:/overlay/* ./overlay_backup (as /overlay contains all files changes after first boot-up all = personalization and site specific configuration settings will be in = there). For completenes' sake: root@nacktmulle:~# sysupgrade -h Usage: /sbin/sysupgrade [...] /sbin/sysupgrade [-q] [-i] upgrade-option: -d add a delay before rebooting -f restore configuration from .tar.gz (file or url) -i interactive mode -c attempt to preserve all changed files in /etc/ -n do not save configuration over reflash -T | --test Verify image and config .tar.gz but do not actually = flash. -F | --force Flash image even if image checks fail, this is = dangerous! -q less verbose -v more verbose -h | --help display this help backup-command: -b | --create-backup create .tar.gz of files specified in = sysupgrade.conf then exit. Does not flash an image. If file is '-', i.e. stdout, verbosity is set to 0 (i.e. quiet). -r | --restore-backup restore a .tar.gz created with sysupgrade -b then exit. Does not flash an image. If file is '-', the archive is read from stdin. -l | --list-backup list the files that would be backed up when calling sysupgrade -b. Does not create a backup file. Best Regards Sebastian >=20 > --=20 > Jim Reisert AD1C, , http://www.ad1c.us