Continue lost configuration
-
Hello
I have next config:
LAN 172.16.10.1/16
WAN 192.168.50.254/24
VLAN 10 (wan 1) 192.168.5.254/24
VLAN 20 (wan 2) 192.168.1.254/24
VLAN 30 (wan 3) 192.168.15.254/24squid, squidguard, freeradius, capive portal(authenticatd with freeradius)
I probe the configuration in laboratory with 2 clients(wired and wireless), and all works well, when I put pfsense in production in a college, with about 60 clients, in a certan time, usually 1 hour or less, the pfsense reboot suddently and it lost all the configuration, when restarts it ask for a setup vlans and interfaces. I don't know what's the problem, If I take the last configuration stored in /cf/config/backup and put in /cf/config/config.xml, there is all ok when I reboot, but after I put again in production, again, pfsense reboots suddently and lost all the configuration.
1.- How I can debug the problem?
2.- How I can say that take the last config from the /cf/config/backup automatically???Thanks
-
before you copy over the backup, save the one that is "bad".
It may be that something is corrupting the config or entering a value causing invalid xml, running the "bad" config through xmllint may reveal the problem.
-
How can I parse the backup config file and check the problem? maybe the ñ character, or stressed vowels(á,é,í,ó,ú)
-
If this is on 2.0, you can just run "xmllint config.xml" or whatever file you want, and it will check it for invalid xml
-
it's 1.2.3 version, how I can convert the config file to 2.0? I tried to import from webpage and I can't
-
You can restore a valid 1.2.3 config to a 2.0 system. If it doesn't work, there must be some invalid XML in it. The most common way that happens is international characters in description fields.
-
I have checked my config backup with the xmllint command and it has problems with letter ñ, I change it and I can restore the configuration from 1.2.3 to 2.0 version. Maybe that's the problems with continuous automatic reset configuration, I gonna do test to confirm that.