What does the MB reset button do? Anything different from "factory default"?
-
The reason I am asking is I found the "factory default" is not a clean procedure. It still leaves a lot of junk in the behind which gradually will act against. I would like something that really restores the router to "factory state", in this case, a state of fresh install. The "factory default" in WUI obviously does not do that. I have stopped all services of add-on packages and uninstalled them, e.g. squid. However, if I restart the router, it still says "stopping squid service…done"
My motherboard has a two-pin reset connection. I wonder if it does differently, and truly restore to factory state. I am thinking to bring that "reset" outside if it does.
Thanks
-
Random motherboard reset button does - reset the power.
-
Random motherboard reset button does - reset the power.
Thanks.
so it doesn't do the job I want. Any plan to make the "factory default" a truly "factory default'? or can we manually delete the config file and let the system re-generate a fresh new one? Which file is this?I know the with edgerouter, you can simply delete the config file, restart the router, and it is factory default. Of course, the edgerouter's defaulting also restore the router to factory state.
-
No idea what are you requesting. It already does do exactly that (plus more).
https://github.com/pfsense/pfsense/blob/master/src/etc/inc/config.lib.inc#L529
-
No idea what are you requesting. It already does do exactly that (plus more).
https://github.com/pfsense/pfsense/blob/master/src/etc/inc/config.lib.inc#L529
well my observation is it does not, maybe in theory. I have explained in the first post my observation. Even after I have stopped and uninstalled squid, if I restart the router, it still says "stopping squid service….done". The wui "factory default" obviously does not equate a fresh install in my case.
I have had issues that can not be resolved with "factory default", but can only be resolved with a fresh install.
https://forum.pfsense.org/index.php?topic=124433.0
In the above case, even a restoration of a previously working backup did not solve the problem.
-
Well it uninstalls the packages, so really… get us a specific bug instead "maybe in theory".
-
Well it uninstalls the packages, so really… get us a specific bug instead "maybe in theory".
thanks
is there a single master config file? where is it located? I would like to play with it a bit. -
I already linked you to the code - /conf.default/config.xml is the factory config.