OPNsense Forum
English Forums => General Discussion => Topic started by: miclan on September 06, 2017, 12:02:16 pm
-
Everytime I made an upgrade to a new Opnsense version that needs a reboot users connected to wifi network through Captive Portal (with Radius Authentication) needs to logout from Captive Portal and login again because network connection doesn't work.
Is it a normal behaviour of Captive Portal?
What can I do to keep users connected after a reboot?
Thanks
-
Is this a Nano image and / or are you using the /var MFS option?
Cheers,
Franco
-
It's a full installation on HDD.
-
yes but using a tempfs as /var partition may lead to data loss on reboot. For example, the database may be deleted on reboot.
-
OK Fabian, thanks.
What can I do to change that?
Is it possible to avoid db deletion on reboot?
-
I found this settings called "Periodic Captive Portal Backup" on System-> Miscellaneous Menu
Now it's Disabled.
Could be a solution?
-
you can disable the ram disk on https://your-opnsense-host/system_advanced_misc.php (https://your-opnsense-host/system_advanced_misc.php)
-
Not sure, but the option may only back up vouchers.
The real question still is: are you using /var MFS?
-
I'm sorry Fabian, I checked my actual RAM disk configuration here https://my-opnsense-host/system_advanced_misc.php and I can confirm that /var/RAM disk and /tmp RAM disk are both UNCHECKED (so I think disabled)
Do I need to check one?
-
No, your setting are ok. It may just be a loss of state in the firewall because of the reboot.
-
Thanks Franco, so what can I do? It's very annoying for my users. If I need to reboot they lose wifi connection, I try to give you more informations: they keep connected to our wifi network, but there's no traffic. The only solution is Logout from Captive Portal and login again.
-
Can you open a ticket at https://github.com/opnsense/core/issues so the author (Ad) can take a look at this?
Obviously reboots should be done when no users are around if that can be avoided, but I agree that it would be prettier if such info was kept and restored.
Maybe it even is but we are simply missing the restore, hence the ticket.
Thanks,
Franco
-
Thank Franco, I opened this ticket https://github.com/opnsense/core/issues/1807
-
Thanks, I have it assigned for assessment and will follow up here when we know more. :)
Cheers,
Franco