OpenWrt Forum Archive

Topic: Why openwrt cannot restore to previous setting?

The content of this topic has been archived on 1 May 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

I made an Openwrt 12.09 image in Sep 22, 2016, It was fine.

In Nov 3 2016, I introduced "easycwmp" and some related packages into menuconfig, then a booting info
"Nov  4 04:11:09 crond[547]: crond: crond (busybox 1.19.4) started, log level 5"
occurred and later booting are stuck.

So I tried to remove  all of newly-added "easycwmp" and some related packages in menuconfig, but the unusual booting info still occurred and later booting are stuck.

Then I checked \openwrt\.config, \openwrt\build_dir\linux-ar71xx_generic\linux-3.3.8\.config,\openwrt-all\target\linux\ar71xx\config-3.3, and deselected all newly-added packages/libs/modules after Sep 22, 2016, but the unusual booting info still occurred and later booting are stuck.

Finally I replaced the 3 files of \openwrt\.config, \openwrt\build_dir\linux-ar71xx_generic\linux-3.3.8\.config,\openwrt-all\target\linux\ar71xx\config-3.3 with previous version (before Sep 22, 2016), but the unusual booting info still occurred and later booting are stuck.

Now my Openwrt 12.09 image in Sep 22, 2016 is unrecoverable! what is going wrong?

Solved!

I copied a script 'boot' from Windows 7 OS, coincidentally in the moment of adding eacycwmp package.

See also:

https://forum.openwrt.org/viewtopic.php?id=49718

Never copy a linux script directly from Windows OS! Though both look like exactly the same.

The discussion might have continued from here.