coova / coova-chilli

CoovaChilli is an open-source software access controller for captive portal hotspots.
Other
516 stars 258 forks source link

Closing by "Lost-Carrier" #361

Closed ivanfdez closed 7 years ago

ivanfdez commented 7 years ago

I have users in freenas with a session-timeout 84400 (24h) but if the user is offline 10 minutes the session is closed and has to re-enter it, the log appears that the session has been closed for "lost-carrier".

I do not see how to prevent the session from closing

nzamps commented 7 years ago

You could set defidletimeout=0

ivanfdez commented 7 years ago

I have it set to 0. However according to the documentation if it is not defined the default is 0 If closed by timeout would have code 5 in "Acct-terminate-cause"

Doc: Acct-Terminate-Cause (49) Integer 1=User-Request, 2=Lost-Carrier, 4=Idle-Timeout, 5=Session-Timeout, 11=NAS-Reboot

nzamps commented 7 years ago

Maybe check your DHCP lease time...

ivanfdez commented 7 years ago

I have increased the lease to 7 days, and now it works correctly. Thank you

dkarky0 commented 4 years ago

In my case its still same, lost carrier after 7 or 8 hours. Can anyone help ?