From HSG Wiki
Jump to: navigation, search

Currently a Linksys WRT3200ACM. (version TBD)

OpenWRT Backup[edit]

Please back up the settings of the router before doing anything.

  • You can make a backup of the settings by downloading one by clicking "Generate Archive" at http://router/cgi-bin/luci/admin/system/flashops
    • Please save this on Nasty to [/volume1/]BACKUPS/wrt3200acm/Settings_Backups.
      • Maybe add a comment to the filename if there was a significant change added with this backup.
    • This backup includes everything listed in /etc/sysupgrade.conf (see here), but not installed packages.

There are also MTD backups on Nasty, how to use those is currently unknown, they are full drive images (including installed packages etc).
Since the re-installation process is fairly reliable and complete, these are probably useless.

OpenWRT Re-installation[edit]

Re-installing OpenWRT loses the installed packages, if there are packages you would like to keep, add them to the install command in and add a comment explaining its presence.

  1. Get a firmware image.
    1. for example "linksys-wrt3200acm-squashfs-sysupgrade.bin" from here
      1. If you get a Snapshot image, LuCI (the web GUI) will not be installed, if you want it, install it via SSH.
  2. Upload the image via the web interface at http://router/ (aka
    1. Under System > Backup / Flash Firmware > Flash new firmware image > Browse... (select the firmware image) > Flash image... > check Checksum > Proceed (here)
    2. Optionally uncheck Keep settings
  3. Wait for the upgrade to proceed, this can take longer than you expect.
    1. If it takes more than 10 minutes, panic.
  4. If Keep settings was unchecked:
    1. The router will return to the OpenWRT default IP instead of since that setting was lost.
    2. Upload a previous settings backup via > System > Backup / Flash Firmware > Restore > Browse... (select the settings backup file) > Upload archive... (here)
      1. The latest backup should be available at [/volume1/]BACKUPS/wrt3200acm/Settings_Backups on Nasty.
    3. The router should become available at http://router/ and again.
    4. Run /root/ (on the router) to install dependencies of other scripts that are also restored (and are in /etc/rc.local and crontab).
      1. Supply with any argument to update all installed packages.
    5. You may want/need to restart the router now, it should be fully operational now.


Clarissa's files are currently saved in /opt/clarissa
with an init script in /etc/init.d/ and a few crontab entries.