• [^] # Re: Mise à jour

    Posté par . En réponse au journal Nouvelle release cliente d'OpenWRT + Petit tuto. Évalué à 4.

    Moinssez moi j'ai pas lu le README http://downloads.openwrt.org/whiterussian/rc5/00-README


    Upgrading from a previous OpenWrt install
    Backup /etc changes and package list:
    Before you upgrade, please consider making a backup of your /etc
    directory and then write down the list of packages installed.

    As of RC4, reflashing with OpenWrt -WILL RESET THE FILESYSTEM-.
    All the changes you've made to the configuration files and all
    the packages you've been installed will be purged and replaced
    with the new firmware.

    NVRAM is NOT modified by a reflash. Any NVRAM values will remain
    intact after reflashing.

    Backing up the old OpenWrt as a firmware image:
    To backup an existing openwrt install, use the command:

    dd if=/dev/mtdblock/1 of=/tmp/firmware.trx

    This will produce a pseudo-trx file containing the firmware (trx)
    followed by a dump of the JFFS2 filesystem -- basically everything
    except the bootloader and NVRAM. Copy this to a safe place and
    only restore it to a device with the same size flash chip.

    Upgrading / Restoring:
    To reflash from within openwrt you will need to use a trx file:

    mtd -r write firmware.trx linux

    The "-r" will force an automatic reboot after the reflashing. You
    can also add a "-e linux" to erase the previous firmware, but this
    is rarely needed.