Configuring Station Count February 05, 2013 02:39AM |
Registered: 11 years ago Posts: 40 |
Quote
Show connected clients
Included since 0.3.1 There is a script, which greps the needed informations from “iw”. It was designed to run on OpenWRT, but it might work on laptops, too. If you want to use this, run the following command:
/opt/piratebox/bin/install_piratebox.sh /opt/piratebox/conf/piratebox.conf station_cnt
The makes an entry to your crontab of the current user. It updates a station_cnt.txt file in /opt/piratebox/www every 2 minutes. On OpenWRT you have to ensure, that the cron daemon runs:
/etc/init.d/cron enable && /etc/init.d/cron start
/etc/init.d/cron enable && /etc/init.d/cron startDo you only have to run that once, or can it be added to a startup script somewhere, or what?
Re: Configuring Station Count February 05, 2013 06:49AM |
Admin Registered: 13 years ago Posts: 4,680 |
Re: Configuring Station Count April 12, 2013 11:56AM |
Registered: 11 years ago Posts: 17 |
Re: Configuring Station Count April 15, 2013 04:44AM |
Admin Registered: 13 years ago Posts: 4,680 |
Re: Configuring Station Count April 26, 2013 03:30AM |
Re: Configuring Station Count April 26, 2013 05:52AM |
Admin Registered: 13 years ago Posts: 4,680 |
Re: Configuring Station Count December 29, 2014 09:58PM |
Re: Configuring Station Count December 30, 2014 02:51PM |
Admin Registered: 13 years ago Posts: 4,680 |
or while being logged into the box: /opt/piratebox/www/station_cnt.txtLanguage: PHPhttp://piratebox.lan/station_cnt.txt