[<<][openwrt][>>][..]
Sat Jun 30 14:34:36 EDT 2012

OpenWRT upgrading kernel

Looks like there is no simple way[1] so let's make the "restore"
operation practical, i.e. telnet to new device and run a script that
restores /overlay to /

The only real trouble is the initial IP config of the device.  It
would probably be easier to make this the same as what I'm actually
using:

Image Configuration -> LAN IP address to 192.168.100.1

The rest is:

  <copy trx image to /tmp RAMDISK or EXTERNAL drive> 
  mtd write /tmp/openwrt-brcm-2.4-squashfs.trx linux && reboot

  telnet 192.168.100.1
  mkdir -p /vol/0
  mount /dev/sda1 /vol/0
  cp -av /vol/0/squeeze/etc/openwrt/backup/overlay/* /
  reboot

[1] http://wiki.openwrt.org/doc/howto/generic.sysupgrade



[Reply][About]
[<<][openwrt][>>][..]