Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
Development and Code Review
(Moderator:
fabian
) »
Reload config.xml without reboot
« previous
next »
Print
Pages: [
1
]
Author
Topic: Reload config.xml without reboot (Read 8653 times)
mimugmail
Hero Member
Posts: 6764
Karma: 494
Reload config.xml without reboot
«
on:
November 20, 2018, 07:13:08 am »
It's easy to revert a config.xml via SSH when just replacing the file itself or editing and finally reboot.
Is there a way to also do this without a reboot via CLI?
Just adding some stuff to config.xml and hitting save via UI overwrites it and via google you only find pfsense examples not fitting here.
Anyone?
Thx
Michael
Logged
WWW:
www.routerperformance.net
Support plans:
https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German):
https://opnsense.max-it.de/
franco
Administrator
Hero Member
Posts: 17582
Karma: 1602
Re: Reload config.xml without reboot
«
Reply #1 on:
November 20, 2018, 07:14:34 am »
Option 11 from the menu?
or
# opnsense-shell reload
Logged
franco
Administrator
Hero Member
Posts: 17582
Karma: 1602
Re: Reload config.xml without reboot
«
Reply #2 on:
November 20, 2018, 07:15:03 am »
PS: Yes it won't reload everything. But it reloads all vital systems...
Logged
mimugmail
Hero Member
Posts: 6764
Karma: 494
Re: Reload config.xml without reboot
«
Reply #3 on:
November 20, 2018, 07:32:39 am »
Is there a documentation (needed??)
Logged
WWW:
www.routerperformance.net
Support plans:
https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German):
https://opnsense.max-it.de/
franco
Administrator
Hero Member
Posts: 17582
Karma: 1602
Re: Reload config.xml without reboot
«
Reply #4 on:
November 20, 2018, 07:36:39 am »
Yes and no, the console menu may deserve a docs page in its entirety, but other than shortly describing what each option does there's not a lot (of surprising behaviour) to document.
Cheers,
Franco
Logged
mimugmail
Hero Member
Posts: 6764
Karma: 494
Re: Reload config.xml without reboot
«
Reply #5 on:
November 20, 2018, 07:41:28 am »
I meant opnsense-shell
Logged
WWW:
www.routerperformance.net
Support plans:
https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German):
https://opnsense.max-it.de/
franco
Administrator
Hero Member
Posts: 17582
Karma: 1602
Re: Reload config.xml without reboot
«
Reply #6 on:
November 20, 2018, 07:47:37 am »
Same thing. There's also:
# man opnsense-shell
But it's currently missing the supported commands.
Logged
mimugmail
Hero Member
Posts: 6764
Karma: 494
Re: Reload config.xml without reboot
«
Reply #7 on:
November 20, 2018, 09:19:23 am »
OK, great. And all new MVC code also adds a UUID, how is it generated? Is there a logic behind I'm not aware of?
Logged
WWW:
www.routerperformance.net
Support plans:
https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German):
https://opnsense.max-it.de/
franco
Administrator
Hero Member
Posts: 17582
Karma: 1602
Re: Reload config.xml without reboot
«
Reply #8 on:
November 20, 2018, 09:57:26 am »
Now I'm confused.
Logged
rainerle
Full Member
Posts: 151
Karma: 9
Re: Reload config.xml without reboot
«
Reply #9 on:
October 19, 2024, 05:13:05 pm »
I tried reloading my adjusted config in /conf/config.xml with option 11 and it just hangs at the VLAN interfaces (see attachment)...
How can I make the output more verbose???
Logged
franco
Administrator
Hero Member
Posts: 17582
Karma: 1602
Re: Reload config.xml without reboot
«
Reply #10 on:
October 19, 2024, 07:51:48 pm »
Probably hangs during ifconfig call somewhere in the kernel...
You could also try to explain what you're doing instead of posting to an unrelated 2018 forum entry.
Cheers,
Franco
Logged
rainerle
Full Member
Posts: 151
Karma: 9
Re: Reload config.xml without reboot
«
Reply #11 on:
October 20, 2024, 01:25:43 pm »
I had to re-open an older back door to our network since somehow the RADIUS based IPSec VPN suddenly was not working anymore.
So I removed the disabled section in the firewall rules and then tried to reload the config from the CLI. I only had CLI access as I was using an even older back door from another location and was using various SSH and Telnnet "jump servers" to get to the CLI of the opnsense...
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
Development and Code Review
(Moderator:
fabian
) »
Reload config.xml without reboot