2016-08-16 - Re: Power Off and User Re-Login

Header Data

From: Eliot Ness <sc***7@googlemail.com>
Message Hash: 3822b70cdb3f252e0c1ded33a97971ae8479ca1011c24bb6fbca988be5b5c977
Message ID: <da8c8f86-7828-4670-95ef-d0617e98c1c1@grasehotspot.org>
Reply To: <a892365d-ce49-4a1f-b689-ab8f1520bdad@grasehotspot.org>
UTC Datetime: 2016-08-16 23:34:06 UTC
Raw Date: Tue, 16 Aug 2016 23:34:06 -0700

Raw message

I have to install phpmyadmin to make my life easier.
So, lets see 1 more time :

chilli_query list | grep "dnat" | awk '{print $1}' 


It print out all connected users in this time....ok till now

Then, 

SELECT CallingStationId, UserName, FramedIpAddress, AcctStopTime FROM radius.radacct WHERE UserName != 'CoovaChilli' and AcctStopTime is null Group BY CallingStationId


I have to search the above records on phpmyadmin or there is a command that 
i can extend ?

chilli_query authorize mac *XX**-XX-XX-XX-XX-**XX* username *USERNAME*


Last step is to call this on every boot....crontab or init,d actions ?

Beta tests made on Pi2 as i write on a previous post

On Thursday, June 2, 2016 at 9:40:51 AM UTC+3, Eliot Ness wrote:
>
> At least one Pi2 comes yesterday in my hands, and ....grase run again.
> Detailed tutorial steps install on next days.
>
> As simple question : On power off or reboot, user have login again, except 
> if admin store mac adr.
>
> Is there any way on grase to remember users after reboot ? So no need user 
> to login again....
>
> Anyone?
>

Thread