first I want to say that I encountered that problem twice within a few weeks.
A client (laptop) is connected via BLUE to IPFire. The captive portal grands access to the network. That seems to work fine, but after a while the client won’t get access to the network anymore. I deactivate/activate the WLAN of the client and the captive portal website appears. I restart IPFire and it’s working again.
I watched the logs but couldn’t find any problems. I don’t have any entries in the captive portal section at all. How to investigate this?
3rd device affected. I enabled it at my parents home and after a while my laptop lost internet access and the captive portal website appeared. I didn’t restart the device (left it as it is) and this morning my laptop is back online without doing anything (laptop stayed on tonight).
Checked my RaspPi → also not internet access available. I entered the voucher code for my laptop that has been used before and it was accepted! I don’t think that a already used voucher code is supposed to be used and accepted a second time again.
No. DHCP is still working, but I can’t access anything anymore. It randomly effects all clients and all of my ipfire installations. If I disable and reenable captive portal for blue it’s working again.
I too have exactly the same issue like this. Whenever its 11PM its starts the captive portal to get broken. It will needs me to restart captivectl or firewall to gain access and back ro normal again. WAN stays connected and not affected. But for Green and Blue interfaces this is repeatedly happens every night.
And this occurs to all the IPFire versions that Ive use since 2021 up to todays release.
Hope someone will come up for at least a workaround to it.
This is also getting on my nuts. And you haven’t created a ticket for us!!! …
Whenever this issue happenes, I see the log message I’ve posted above with its strange time calculation. Just thought that it exceeded a signed 32 bit integer, but it doesn’t. This time is exactly equal 190.350 years .
The cgi code for the captive portal page shows that message when a client is active and the wastebin icon has been pressed for that client in the table of active clients. It should show the IP for the client being deleted and how many hours are still valid for the connection and when it would have terminated. The Connection will be terminated is indicating that the clients connection will be stopped and the connection will no longer be valid.
The numbers you see are very odd. Maybe something has rolled over for both the hours and when it is still valid till.
Are you using T&C’s or Coupons. What expiry time did the client from that message have or were they running unlimited?
Was the client that was terminated still using the captive portal when the connection was terminated?