You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A user is connected to a hotspot network but gets disconnected at random times (after 1-10 minutes when user stops using internet). I have done extensive testing using an iPhone as the client.
Using the internet regularly such as watching YouTube videos there is no such problem but whenever the user stops, they can get disconnected from the chilli hotspot. I have noticed (not always though) that whenever I turn off the phone's screen the user gets disconnected and when the screen is turned on the user is immediately connected back again. I would guess that this is a problem with the phone itself but I have managed to reproduce the same behavior using a laptop as the client (running Ubuntu 20.04). When using the laptop, a connected user would disconnect when they would stop using the internet after some time.
Version
CoovaChilli-v1.4 / coova-chilli 0.2b
Wireshark
I have tried to inspect the TCP packets using Wireshark of the iPhone user but have not found anything insightful other than that there are regular RST packets sent to and from the connected client. The attached picture shows the exact time the first LOGOUT appears as seen on the later logs from hostapd:
OpenWRT logs
Here are some additional logs from the router itself, here it can be seen that hostapd keeps disconnecting and connecting the client
I have looked around the chilli code while debugging and noticed when the disconnect happens, the logs sometimes say Freeing RADIUS packet. It gets called by this macro:
Summary
A user is connected to a hotspot network but gets disconnected at random times (after 1-10 minutes when user stops using internet). I have done extensive testing using an iPhone as the client.
Using the internet regularly such as watching YouTube videos there is no such problem but whenever the user stops, they can get disconnected from the chilli hotspot. I have noticed (not always though) that whenever I turn off the phone's screen the user gets disconnected and when the screen is turned on the user is immediately connected back again. I would guess that this is a problem with the phone itself but I have managed to reproduce the same behavior using a laptop as the client (running Ubuntu 20.04). When using the laptop, a connected user would disconnect when they would stop using the internet after some time.
Version
CoovaChilli-v1.4
/coova-chilli 0.2b
Wireshark
I have tried to inspect the TCP packets using Wireshark of the iPhone user but have not found anything insightful other than that there are regular
RST
packets sent to and from the connected client. The attached picture shows the exact time the firstLOGOUT
appears as seen on the later logs fromhostapd
:OpenWRT logs
Here are some additional logs from the router itself, here it can be seen that
hostapd
keeps disconnecting and connecting the clientOther notes
I have looked around the chilli code while debugging and noticed when the disconnect happens, the logs sometimes say
Freeing RADIUS packet
. It gets called by this macro:coova-chilli/src/radius.c
Line 423 in 7dee2ff
Unfortunately, this does not always appear when the user gets disconnected.
I have searched for simmilar issues with no success and tried to change settings regarding different
timeout
settings with no success either.The text was updated successfully, but these errors were encountered: