Router
From HSG Wiki
Currently a Linksys WRT3200ACM. (version TBD)
OpenWRT Backup
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
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
Re-installing OpenWRT loses the installed packages, if there are packages you would like to keep, add them to the install command in router-setup.sh
and add a comment explaining its presence.
- Get a firmware image.
- for example "linksys-wrt3200acm-squashfs-sysupgrade.bin" from here
- If you get a Snapshot image, LuCI (the web GUI) will not be installed, if you want it, install it via SSH.
- for example "linksys-wrt3200acm-squashfs-sysupgrade.bin" from here
- Upload the image via the web interface at http://router/ (aka http://10.20.0.253).
- Under System > Backup / Flash Firmware > Flash new firmware image > Browse... (select the firmware image) > Flash image... > check Checksum > Proceed (here)
- Optionally uncheck
Keep settings
- Wait for the upgrade to proceed, this can take longer than you expect.
- If it takes more than 10 minutes, panic.
- If
Keep settings
was unchecked:- The router will return to the OpenWRT default IP
192.168.1.1
instead of10.20.0.253
since that setting was lost. - Upload a previous settings backup via http://192.168.1.1 > System > Backup / Flash Firmware > Restore > Browse... (select the settings backup file) > Upload archive... (here)
- The latest backup should be available at
[/volume1/]BACKUPS/wrt3200acm/Settings_Backups
on Nasty.
- The latest backup should be available at
- The router should become available at http://router/ and
10.20.0.253
again. - Run
/root/router-setup.sh
(on the router) to install dependencies of other scripts that are also restored (and are in /etc/rc.local and crontab).- Supply
router-setup.sh
with any argument to update all installed packages.
- Supply
- You may want/need to restart the router now, it should be fully operational now.
- The router will return to the OpenWRT default IP
Clarissa
Clarissa's files are currently saved in /opt/clarissa
with an init script in /etc/init.d/
and a few crontab entries.