Script 1 - Blinking 5GHz will show how many users are connected on the 2.4GHz (Must have 5GHz wireless band off)
NOTE!: this wll take 1 min to load from boot
Code:
#!/bin/sh
WTTIME=3
WINAME=`nvram get wl0_ifname`
while sleep $WTTIME; do
NUMCLIENTS=`wl -i $WINAME assoclist | wc -l`
i=0
while [ $i != $NUMCLIENTS ]; do
gpio disable 0
usleep 150000
gpio enable 0
usleep 225000
i=`expr $i + 1`
done
done
Script 2 - Blinking 2.4GHz will show how many users are connected on the 5GHz band(Must have 2.4GHz wireless band off)
NOTE!: this wll take 1 min to load from boot
Code:
#!/bin/sh
WTTIME=3
WINAME=`nvram get wl1_ifname`
while sleep $WTTIME; do
NUMCLIENTS=`wl -i $WINAME assoclist | wc -l`
i=0
while [ $i != $NUMCLIENTS ]; do
gpio disable 0
usleep 150000
gpio enable 0
usleep 225000
i=`expr $i + 1`
done
done
Script 3 - Blinking power light will show how many users are connected on the 2.4GHz Band!
Code:
#!/bin/sh
WTTIME=3
WINAME=`nvram get wl0_ifname`
while sleep $WTTIME; do
NUMCLIENTS=`wl -i $WINAME assoclist | wc -l`
i=0
while [ $i != $NUMCLIENTS ]; do
gpio disable 3
usleep 150000
gpio enable 3
usleep 225000
i=`expr $i + 1`
done
done
Again!: this wll take 1 min to load from boot
Script 3 - Blinking power light will show how many users are connected on the 5GHz Band!
Code:
#!/bin/sh
WTTIME=3
WINAME=`nvram get wl1_ifname`
while sleep $WTTIME; do
NUMCLIENTS=`wl -i $WINAME assoclist | wc -l`
i=0
while [ $i != $NUMCLIENTS ]; do
gpio disable 3
usleep 150000
gpio enable 3
usleep 225000
i=`expr $i + 1`
done
done
Notes: this will take 1 min to load from boot _________________ TP-Link TL-WDR3600 v1 [EU]: r36330 (07/16/18 )
D-Link DIR-615 D2 [EU]: r36330 (07/16/18 )
Mikrotik RB750r2 (OpenWrt 17.01.4)
EE BrightBox 1 aka A4001N (OpenWrt 17.01.4)
Sagemcom FAST@5364 (VDSL2,FTTC (Fibre to the Cabinet) Synced 65/17