Connected Clients

Posted by Panos 
This forum is currently read only. You can not log in or make any changes. This is a temporary situation.
Now, this forum is in read-only mode. You find details Details hereContinue on /r/PirateBox
Connected Clients
November 04, 2013 05:54PM
Every time i do:
/opt/piratebox/bin/install_piratebox.sh /opt/piratebox/conf/piratebox.conf station_cnt

i can see the connected clients at the end of the page, but it no seems to refresh or restart after a reboot.

What to look?
Re: Connected Clients
November 04, 2013 07:31PM
Hi,
can you please double check if your cron is running?

ps -ef | grep cron

Thanks smiling smiley
Matthias
Re: Connected Clients
November 04, 2013 09:41PM
Sure,

root 2143 1 0 09:19 ? 00:00:00 /usr/bin/cron
pi 2705 2689 0 09:27 pts/0 00:00:00 grep --color=auto cron

Thanks
Re: Connected Clients
November 05, 2013 05:14AM
Hi,
try to enable the cron service:

update-rc.d cron defaults
/etc/init.d/cron start

If it is not called "cron", check

ls /etc/init.d

and find something "cron" in the name, and try the commands above with that name

:/

Matthias
Re: Connected Clients
November 05, 2013 07:47PM
Thanks Mathias,

cron is there, it seems to start, it shows say 3 clients connected once and then, after a while, again 0 (i checked the file in /www too). Perhaps something going wrong with the routine updating the file and not cron fault?
Re: Connected Clients
November 06, 2013 09:07PM
but there were still 3 connected clients? tongue sticking out smiley

The commandline command is
iw wlan0 station dump | grep Station | wc -l

and to see the connected stations:

iw wlan0 station dump | grep Station
so you can verify. There is not much more in the script: [github.com]

Matthias
Re: Connected Clients
November 06, 2013 11:16PM
Yes they were smiling smiley at least the one i did SSH for sure..

Syslog geting the known "MTA server" error, do you think that i should install some mail server on rasp ?

Thanks



Edited 1 time(s). Last edit at 11/06/2013 11:17PM by Panos.
Re: Connected Clients
November 07, 2013 04:35AM