Hi Torge,
On Fri, 19 Jan 2007 at 14:06 +0100, Torge Szczepanek wrote:
> Hello!
> 
> First of all big thanks to wbx for the FreeWRT 1.0 release!

Thanks.
 
> After looking at what has been achieved in the last months I can now go
> on and try to migrate my deployed Linksys Routers from FreeWRT to
> OpenWRT. FreeWRT is exactly what I needed. A stable trustworthy release
> (not RC after RC) and in addition a customizable framework for building
> own firmware images. This is great!
> 
> Has anyone tried to reflash a OpenWRT router running in the field? I
> have some devices (Linksys WRT54GS Rev 3/4) distributed in some cities
> and I am wondering whether it is possible to do this remotely. The
> devices are running OpenWRT rc2 to rc4 and have squashfs. I want to
> reflash to FreeWRT using squashfs and overlay filesystem or if this
> isn't suitable for this upgrade to FreeWRT using squashfs without
> overlay.

It is possible, but you should do good testing and inform the people
onsite, so that they do not accidently remove power, while updating.
 
> Has anyone tried this? As I found in the Docs network device
> configuration is now done using a config file. Any suggestions how to
> migrate a existing setup from nvram to configfile remotely? Is it
> possible to have some of the network device settings be polled out from
> the nvram?

If I do remote updates, I use the "mypackage" feature in ADK and
install a preconfigured /etc/network/interfaces file. You can put
everything you need in mypackage, it will be overwriting existing
files. 

So create a ready to go image and simulate the update locally.
Make a backup of an existing device via cat /dev/mtdblock1 >
backup.trx. Flash it on a local device via mtd -r -e linux
backup.trx linux. Set the needed nvram values to the device. (do not
blindly use everything, just use the stuff you need to access the
test device).

Then flash your new FreeWRT image via mtd. After that, login in and
commit the SSH key to the fwcf partition. (fwcf commit)

You can put a public key into the image and even the ssh-host-keys
if you like.

There exist no OpenWrt->FreeWRT scripts, which just use the
information of the old stuff and are creating ready to go
configuration for FreeWRT. I do not plan to write something like
that.

good luck
        Waldemar

-- 
don't open your wrt, free it
http://www.freewrt.org
_______________________________________________
freewrt-users mailing list
[email protected]
https://www.freewrt.org/lists/listinfo/freewrt-users

Reply via email to