Get list of active clienst via Shell

Post new topic   Reply to topic    DD-WRT Forum Index -> General Questions
Author Message
pianoguy
DD-WRT Novice


Joined: 16 Jan 2013
Posts: 21

PostPosted: Thu Nov 17, 2022 16:39    Post subject: Get list of active clienst via Shell Reply with quote
Hi. I'm trying to get the list of Active Clients (on web interface available via Status -> LAN) from the command line to get a list of active IP adresses.

I tried
Code:
arp -a

but this devlivers just a subset of Clients (LAN & WIFI) compared to the list on web interface.

I'm wondering what additional command is used by the web interface.

The DHCP leases won't help much, as i want the acutal connected clients.
Sponsor
dale_gribble39
DD-WRT Guru


Joined: 11 Jun 2022
Posts: 1899

PostPosted: Thu Nov 17, 2022 18:13    Post subject: Reply with quote
You already answered your own question. The only other option is to use nmap (i.e. nmap -sn 192.168.4.0/24), but it may not be included in your router's firmware image.
_________________
"The woods are lovely, dark and deep,
But I have promises to keep,
And miles to go before I sleep,
And miles to go before I sleep." - Robert Frost

"I am one of the noticeable ones - notice me" - Dale Frances McKenzie Bozzio

<fact>code knows no gender</fact>

This is me, knowing I've ruffled your feathers, and not giving a ****
Some people are still hard-headed.

--------------------------------------
Mac Pro (Mid 2012) - Two 2.4GHz 6-Core Intel Xeon E5645 processors 64GB 1333MHz DDR3 ECC SDRAM OpenSUSE Leap 15.5
pianoguy
DD-WRT Novice


Joined: 16 Jan 2013
Posts: 21

PostPosted: Thu Nov 17, 2022 18:27    Post subject: Reply with quote
nmap did the trick - it outputs the complete list of active clients, like on the web interface.

Thanks for that!
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> General Questions 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 can attach files in this forum
You can download files in this forum