[Wifidog] WifiDog has a bug

Alexandre Carmel-Veilleux saruman at northernhacking.org
Sat Oct 2 16:28:18 EDT 2004


	WifiDog seem to have a sporadic bug. I have no idea what could be
causing this and the lack of log files on OpenWRT means that doing post
mortem is next to useless.

	I will investigate coding a minimalistic self-rotating syslogd
for the platform to deal with the ram disk rotation. The goal is that
when a volunteer goes to diagnose a failure, s/he can check that log
and possibly save the last 20-30k so that we may be able to understand
what's going on.

	Some of our hostspots have been running flawlessly for what
seems like weeks with wifidog, other seem to crash more frequently. And
the non-uniformity of OpenWRT versions accross the hot spots can
potentially exacerbate it.

	Assuming that the bug is wifidog external, we might be exhausting
file descriptors, causing socket() calls to fail, one of the few errors
to which we answer with exit().

	Hopefully, the log will tell us more.

	In the future, I'd like a control script that automatically
enables logging. I'll look into the syslogd code. Can't be that hard.

Alex

-------------- next part --------------
_______________________________________________
Wifidog mailing list
Wifidog at isf.waglo.com
http://isf.waglo.com/mailman/listinfo/wifidog_isf.waglo.com


More information about the Wifidog mailing list