[luci] How to update Dir-300 without loosing seetings ?

Bluse h2o-post at gmx.net
Sun Jun 21 15:01:13 CEST 2009


HI Jo,

Thx fthe hint .. I will try it the next week and let you know about.

Bye Bluse


Jo-Philipp Wich schrieb:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1

> Hi again.

> I now actually took some time to flash a Fonera and try the -j option.

> The Kernel is flashed as usual:

>   mtd -e vmlinux.bin.l7 write openwrt-atheros-vmlinux.lzma 
>     vmlinux.bin.l7

> Now gzip your important stuff, for example:

>   tar -cz /etc/config > /tmp/sysupgrade.tgz

> While writing the rootfs you have to utilize the -j option:

>   mtd -e rootfs -j /tmp/sysupgrade.tgz write 
>     openwrt-atheros-root.squashfs rootfs

> Now the usual reboot.


> After the Device is rebooted, /etc/preinit will find /sysupgrade.tgz,
> unpack and remove it.

> I haven't experimented further but I think that the above steps could be
> wrapped into a platform.sh script for sysupgrade.


> HTH, JoW
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

> iEYEARECAAYFAko7C0MACgkQdputYINPTPPr7QCeLzxJHoudxXSYLr0xi2+hMKki
> g48AnREOFK6s62/5+g5OfQaCqMXghlJv
> =xK5o
> -----END PGP SIGNATURE-----





More information about the luci mailing list