Public wifi signal flips on and off, related to radconfig errors
|Reported by:||matthijs||Owned by:||john.crispin@…|
|Cc:||ddomee@…, josemi@…, batiatto@…||Hardware:||2.0n (FON2300)|
There seems to be an issue that has been surfacing recently where the public wifi signal keeps switching off and on all the time.
Note that this is a different issue from #669, where onlined marks the Fonera as offline, which causes the orange page to appear and also brings down the public wifi signal.
This issue does not make the orange page appear. You can recognize it because of the following message in the logread output:
Jul 21 16:47:29 Fonera user.alert fonstated: redirector returned invalid data Jul 21 16:47:29 Fonera user.crit fonstated: enqueue --> RestartChilli Jul 21 16:47:29 Fonera user.crit fonstated: running event /etc/fonstated/RestartChilli Jul 21 16:47:45 Fonera user.err syslog: main-radconfig.c: 34: Radius request timed out Jul 21 16:48:29 Fonera local6.info chillispot: tun.c: 664: 2 (No such file or directory) TX queue length set to 100 Jul 21 16:48:29 Fonera user.crit fonstated: finished running /etc/fonstated/RestartChilli
Some further investigation shows that the chillispot redirector somehow redirects users to fon.com/cp/something instead of fon.com/login/gateway, as it should. It seems likely that there is some kind of communication problem with the radius server, which prevents radconfig from getting the proper chillispot configuration. The default /etc/chilli.conf contains the fon.com/cp... url.