What's new

Client list never updates

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

David Cavalli

Regular Contributor
When I hit "View List" of the connected clients from the GUI main menu, it seems to only show a static unchanging list of clients. Don't know what snapshot it chooses (i.e. startup?), but it never updates after the static list. It shows 17 currently connected.

In my recent firmware update and clean install, I had issues getting it back online, but it's been and remains a rock solid performer.

Specs: RT-AC68U, f/w 384.15.

In my reconfig, I removed all the GUI address reservations. Instead, I created a dnsmasq.conf.add file containing my reserved list of addresses. Sample line:
dhcp-host=1C:F2:9A:XX:XX:XX,ChromecastKitchenW,192.168.1.86,1440

Didn't think it had anything to do with my flash/reinstall, so created a new thread. Thanks.
 
Asus.png
PuTTY.png
 
The two snapshots were taken at the same time. MiBoxTFOfficeW (.1.83) has been running all morning but invisible in the GUI. Wife on her computer Poppy (.1.16) all morning, but not on the GUI. The Wii MIGHT have been on when booting, but not now (shows GUI, not PuTTY).

Figured more data couldn't hurt. Can dump anything that could help debug.

Thanks.
 
Client list is very unreliable sorry Crap

Sent from my ONEPLUS A6013 using Tapatalk
 
Well if that's the answer, no problem... But this same router and same allocation configuration worked for over two years perfectly in the GUI, when configured with the GUI. Using the dnsmasq.conf.add with a fresh install is when things have changed. Wondered if it was the firmware, dnsmasq, or a buggy router, but figured it couldn't hurt to submit. Router working great still.
 
What script are you running to get that display?
 
The networkmap list is built through the arp cache. If you have some kind of bridge/repeater, then it might interfere with it.

Also, make sure you use a real RT-AC68U and not a hacked model. Networkmap has protections in place that will disrupt its behaviour on non-genuine routers.
 
What script are you running to get that display?
I got the script from here, and that is the output of the "clients" command with a sort filter:
https://raw.githubusercontent.com/Xentrk/Asuswrt-Merlin-Linux-Shell-Scripts/master/profile.add

# List active LAN Clients from the command line
# Usage: clients
clients() {
GREEN='\033[0;32m'
RED='\033[0;31m'
NC='\033[0m' # No Color

printf '%b%-23s %-15s %-17s%b\n' "$GREEN" "Description " "IP Address " "MAC Address " "$NC"
arp | sed 's/(//;s/)//' | while read -r DESC IP AT MAC ETH ON IFACE; do
printf '%-23s %-15s %-17s\n' "$DESC" "$IP" "$MAC"
done
}
 
The networkmap list is built through the arp cache. If you have some kind of bridge/repeater, then it might interfere with it.

Also, make sure you use a real RT-AC68U and not a hacked model. Networkmap has protections in place that will disrupt its behaviour on non-genuine routers.
Don't think I have a "bridge" or a "repeater". Just this router connecting everything in the house, most wifi, 3 things on the Ethernet ports. I think the upstairs/downstairs Ring boxes might themselves be repeaters for the individual cameras, but they never were intended to show up on the list. It's mostly my computers, game consoles, Android TV boxes and the like that do/don't show up correctly in the 'active' list.

When I almost bricked my router in Feb flashing the new firmware (last thread I needed help in posting here), everyone there too was concerned for me using a "hacked" router of some sort. Good news. I'm not smart enough to even know where to go if I WANTED a hacked one. Bought this Asus new a couple of years ago and never regretted it. Rock star performance. Here's a picture taken two minutes ago of it, in case that matters in future help on this:
20200315_145121.jpg
 
Currently using firmware version 384.16. I don't know if it was fixed in the current version or flashing it made a difference, but wanted to report that this is no longer a problem. Thanks if it was a change (didn't see it in the change log), and especially thanks to those who helped me recover my router. 100% stable and happy again. :D
 
here a slightly modified cl () function.
Now you can search for an ip or mac address,just use : cl <ip or mac> and get a filtered output.
Without any input ,cl will work just like the above/original function

Code:
cl() { in=$@;GREEN='\033[0;32m';RED='\033[0;31m';NC='\033[0m';printf '%b%-23s %-15s %-17s%b\n' "$GREEN" "Description " "IP Address " "MAC Address " "$NC";if [ -z "$in" ];then arp | grep -v "incomplete" | sed 's/(//;s/)//'|sort -k 2 | while read -r DESC IP AT MAC ETH ON IFACE; do printf '%-23s %-15s %-17s\n' "$DESC" "$IP" "$MAC";done;else arp|grep $in| sed 's/(//;s/)//'|sort -k 2 | while read -r DESC IP AT MAC ETH ON IFACE; do printf '%-23s %-15s %-17s\n' "$DESC" "$IP" "$MAC";done;fi; }
 

Similar threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top