NETGEAR WNDR3400 Number of wireless clients flashing

Post new topic   Reply to topic    DD-WRT Forum Index -> Contributions Upload
Author Message
liverpoolatnight
DD-WRT User


Joined: 29 May 2008
Posts: 243
Location: United Kingdom

PostPosted: Sun Feb 26, 2012 20:03    Post subject: NETGEAR WNDR3400 Number of wireless clients flashing Reply with quote
Credits go to joeDeuce @ http://www.dd-wrt.com/phpBB2/viewtopic.php?t=76087

GPIO Info found: http://www.dd-wrt.com/phpBB2/viewtopic.php?t=151658

Tested on a WNDR3400 v1 AKA. N600

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

Twitter: @francisuk1989
---------------------------------
Found a bug? Report it http://svn.dd-wrt.com
DD-WRT Official FB Group: https://www.facebook.com/groups/493762527744455
Sponsor
IAmWEC
DD-WRT Novice


Joined: 15 Oct 2010
Posts: 23

PostPosted: Mon May 21, 2012 17:15    Post subject: Reply with quote
How would I go about making the 5 GHz light blink on activity like the 2.4 GHz one does or the 5 GHz one does on stock firmware?
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Contributions Upload All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum