Development issues regarding the cerowrt test router project
 help / color / mirror / Atom feed
From: Sebastian Moeller <moeller0@gmx.de>
To: Jim Reisert AD1C <jjreisert@alum.mit.edu>
Cc: cerowrt-devel@lists.bufferbloat.net
Subject: Re: [Cerowrt-devel] cerowrt-3.10.36-4 released
Date: Sun, 13 Apr 2014 02:30:03 +0200	[thread overview]
Message-ID: <CCD549CD-9B61-4999-808C-14CD556BBD53@gmx.de> (raw)
In-Reply-To: <CAK-n8j5U_xke0Ccxf1T0Q0vkwLJC4weZBWgtFchjbuaMhG=HNg@mail.gmail.com>

Hi Jim,


On Apr 13, 2014, at 02:22 , Jim Reisert AD1C <jjreisert@alum.mit.edu> wrote:

> On Thu, Apr 10, 2014 at 12:02 PM, Sebastian Moeller wrote:
>> Hi Valdis,
>> 
>> 
>> On Apr 10, 2014, at 18:40 , Valdis.Kletnieks@vt.edu wrote:
>> 
>>> 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.
>>> 
>>> 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.
>>> 
>>> Any hints where to start looking?
>> 
>>        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
> 
> 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 [<upgrade-option>...] <image file or URL>
       /sbin/sysupgrade [-q] [-i] <backup-command> <file>

upgrade-option:
	-d <delay>   add a delay before rebooting
	-f <config>  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 <file>
	             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 <file>
	             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


> 
> -- 
> Jim Reisert AD1C, <jjreisert@alum.mit.edu>, http://www.ad1c.us


  reply	other threads:[~2014-04-13  0:30 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-10  6:45 Dave Taht
2014-04-10  6:46 ` Dave Taht
2014-04-10 17:33   ` Dave Taht
2014-04-11 18:25   ` Jim Gettys
2014-04-10 13:48 ` Valdis.Kletnieks
2014-04-10 14:06   ` Robert Bradley
2014-04-10 14:32     ` Toke Høiland-Jørgensen
2014-04-10 15:18       ` Robert Bradley
2014-04-10 15:21         ` Toke Høiland-Jørgensen
2014-04-10 17:29         ` Dave Taht
2014-04-10 17:57           ` Toke Høiland-Jørgensen
2014-04-10 19:06           ` Sebastian Moeller
2014-04-11 12:34           ` Robert Bradley
2014-04-10 16:40     ` Valdis.Kletnieks
2014-04-10 16:48       ` Toke Høiland-Jørgensen
2014-04-10 16:51         ` Valdis.Kletnieks
2014-04-10 16:54           ` Toke Høiland-Jørgensen
2014-04-10 18:02       ` Sebastian Moeller
2014-04-13  0:22         ` Jim Reisert AD1C
2014-04-13  0:30           ` Sebastian Moeller [this message]
2014-04-13  0:44             ` Jim Reisert AD1C
2014-04-10 16:46 ` Jim Gettys
2014-04-10 17:31   ` Dave Taht
2014-04-10 17:35     ` Jim Gettys
2014-04-11  9:50       ` David Personette
2014-04-11 10:43         ` Aaron Wood
2014-04-12 11:45         ` Neil Shepperd
2014-04-12 19:04           ` Dave Taht
     [not found] ` <CANp2as81TR_kCR8a_sZs045tXFGADL1W4CFtNEJiJrjutmL7cg@mail.gmail.com>
2014-04-11 16:31   ` Dave Taht

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://lists.bufferbloat.net/postorius/lists/cerowrt-devel.lists.bufferbloat.net/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CCD549CD-9B61-4999-808C-14CD556BBD53@gmx.de \
    --to=moeller0@gmx.de \
    --cc=cerowrt-devel@lists.bufferbloat.net \
    --cc=jjreisert@alum.mit.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox