Hi Tobias,
On Thu, 28 Dec 2006 at 13:35 +0100, Tobias Schwan wrote:
> hi all.
> 
> I want to update my FreeWRT (1.0 rev 1003). So I am asking myself how I
> can do this the savest way, because my Netgear WGT634U is already in
> productive use (without it we can not use our VoIP and then my
> girlfriend would kill me).

Make a backup of /etc and a complete backup of your firmware.
1.) Backup of /etc
 cd /tmp && tar czvf etc.tgz /etc

2.) Backup of firmware
 cat /dev/mtdblock/1 > /tmp/backup.bin

> So
> - how can I make a backup of my running image or the changes I´ve made?
> - how do I upgrade to a new version? I have already rebuild a new image,
> do I have to do it with tftp, or is there a way to change the kernel
> without loosing all changes?

Just update the image via "mtd".

mtd -e linux -r write freewrt-??.bin linux

This will erase the linux flash partition, write the new image to
flash and reboot the router when finished. 

All data kept in /etc is _not_ erased. If you want to erase your
configuration, you need to add -e fwcf. This method is works only
very well, if you are doing minor updates. FWCF just overlays your
changes in RAM and is keeping its data in a separate flash
partition.

If your new image contains new /etc files, they will not show up in
/etc and you need to create/copy them manual.

good luck
        Waldemar
_______________________________________________
freewrt-users mailing list
[email protected]
https://www.freewrt.org/lists/listinfo/freewrt-users

Reply via email to