Network config dry-run/test mode

Hello!

I am a beginner.

I've now read parts of the wiki and I am asking if there is any test for configuration files, so if there are syntax errors, the change won't be applied. Does such a feature exist?
My device has no RS232 (only UART inside), so making it inaccessible from the network is a nasty thing.

--
kind regards
Marco

If I'm not mistaken you can do uci show /etc/config/network which should cover your ass for obvious dump errors as a missing single quote. If I would have done so it would have saved me a couple of times too.... But I forget about it every time....

But I would assume there is no sanity check :wink:

fw4 check will do some checks for generation of valid tables, I think the fw4 reload does this first so you can't install a broken ruleset.

1 Like

This feature mainly exists in Luci web interface. After applying the changes a 90 second countdown starts to verify that you didn't lock yourself out.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.