Jason White <[email protected]> writes:

> Trent W. Buck <[email protected]> wrote:
>
>> If your post-install configuration is minimal,
>> I recommend you skip sysupgrade.
>>
>> Instead just reflash it cleanly (factory.img),
>> then re-apply your customization.
>
>
> This option could work, since the customizations are mostly confined to the
> /etc/config directory at this point.
>
> I'll look around for the reflashing instructions.

They're under
    http://wiki.openwrt.org/doc/howto
especially
    http://wiki.openwrt.org/doc/howto/generic.sysupgrade#mtd

I usually recommend doing the first install with TFTP,
then subsequent reinstalls with mtd.

The reason for the initial TFTP to be sure you can un-brick it.
(This is mostly for those building custom OpenWRT images.)

I usually do this (from memory, untested):

    ip address add 192.168.0.2 peer 192.168.0.1 dev eth0

    while ! curl --upload-file foo.img tftp://192.168.0.1/
    do sleep 1
    done

...and then reboot the router while cabled directly to your laptop,
plus any other steps to put it into TFTP mode.


PS: you can also reflash from LuCI, the web UI.
LuCI is installed by default on stable images.
LuCI can be installed via opkg on other images.

_______________________________________________
luv-main mailing list
[email protected]
http://lists.luv.asn.au/listinfo/luv-main

Reply via email to