ModifyingLocalWiana

back to http://scratchpad.wikia.com/wiki/Sasecurity

Does the meshAP *have* to communicate with wiana when it is initially set up > and what is it doing when it gets a 1.* IP address? Modifying wiana settings > with a shell script/cgi interface is fine I can follow that part but wiana > seems to do a bit more than that..

When your meshbox first boots, it has no valid certificate, so it does some PKI ops to ensure security in further wiana communications. After, the meshbox checks in every 30 minutes to update stats, and download eventual conf mods. When a user authenticates against the portal, and if you don't have a local radius setup, auth is done against a wiana radius server.

If you modify wiana parameters locally, you have to ensure your box will never check in because if you modify only one parameter in wiana, your conf will surely get broken. Wiana is also used when you want to upgrade your version getandverify script. > How can I see which users have logged in with which mac addresses, for how long and their bandwidth usage? Are there raw log files being saved somewhere that keep this inf or can I create these kind of logs to track this activity? Wiana must be pulling some of this information from the meshbox, (dhcp> leases?) where is it coming from? dhcp leases /var/state/dhcp.leases or something like that) are part of the stats the /hj/remotemanagement script gathers and send every 30 minutes.