<div dir="ltr"><div><div>I believe I am able to get the captive portal working as intended<br><br><a href="http://people.sugarlabs.org/anish/captive.webm">http://people.sugarlabs.org/anish/captive.webm</a><br><br></div>Now will need to work in a branch on a playbook.<br><br></div>Another idea would be to have a web ui for radius to show all kids of user stats, control per user/group bandwidth, and accounting.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Sep 19, 2016 at 8:54 PM, Anish Mangal <span dir="ltr"><<a href="mailto:anishmg@umich.edu" target="_blank">anishmg@umich.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><div><div class="h5"><br><div class="gmail_quote">On Mon, Sep 19, 2016 at 8:54 PM, Anish Mangal <span dir="ltr"><<a href="mailto:anishmg@umich.edu" target="_blank">anishmg@umich.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div><div><div><div><div><div>Hi,<br><br></div>So I was able to setup freeradius and coovachilli on a centos x86 machine to setup a captive portal using the method below:<br><a href="https://www.howtoforge.com/tutorial/how-to-install-a-wireless-hotspot-with-captive-page-in-linux-using-coovachilli/" target="_blank">https://www.howtoforge.com/tut<wbr>orial/how-to-install-a-wireles<wbr>s-hotspot-with-captive-page-<wbr>in-linux-using-coovachilli/</a><br><br></div>Now, this is progress since the user experience is exactly how you would see in a coffee shop. Upon connecting, you will see a notification in your phone, and be prompted by a login prompt (where we can redirect the user to school.lan) or whatever afterwards. <br><br></div>However, there are some notes:<br></div>1. Coovachili does its own dhcp, so probably we might have to use that, if the captive portal is being enabled. <br></div>2. By default it does dhcp on a different subnet. and _maybe_ because of that, a bunch of iptables rules dont work. name resolution doesnt work. Will change the default subnet to what we currently use and disable dhcpd and see what happens<br><br></div>To setup coova and freeradius, they have to be compiled from source. The compiling was pretty straightforward on centos, so either the same can be done for ARM, but long term i think packages would be wonderful :-) <br><br></div>All in all, this definitely looks like an approach worth pursuing :) <br><br></div>Cheers,<br></div>Anish<br><div><div><div><div><div><div><div><div><div><div><div><div><div dir="ltr"><div><br></div></div></div>
</div></div></div></div></div></div></div></div></div></div></div></div>
</blockquote></div><br><br clear="all"><br></div></div><span class="HOEnZb"><font color="#888888">-- <br><div data-smartmail="gmail_signature"><div dir="ltr"><div>Anish<br></div><div><br><br></div></div></div>
</font></span></div></div>
</blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>Anish<br></div><div><br><br></div></div></div>
</div>