Community discussions

MikroTik App
 
ormandj
just joined
Topic Author
Posts: 18
Joined: Tue Jun 15, 2021 12:25 am

WiFi clients listed by security protocl/AP/DHCP/etc?

Mon Jan 08, 2024 5:19 pm

Is there a way to see what security protocol is being used by clients?

/interface/wifi/registration-table/print detail does not show if clients are using WPA2 or WPA3 or something else.

Additionally, is there a way to easily display what AP users are connected to (CAPsMAN managed WiFi), as well as IPs/DHCP leases associated with those clients? I'm not seeing anything obvious, though I suspect it might be possible using scripting. These seem like basic pieces of functionality so before I went down that route, I figured I'd ask, as I may be missing something obvious.

Thanks!
 
User avatar
bpwl
Forum Guru
Forum Guru
Posts: 3130
Joined: Mon Apr 08, 2019 1:16 am

Re: WiFi clients listed by security protocl/AP/DHCP/etc?

Mon Jan 08, 2024 5:26 pm

Additionally, is there a way to easily display what AP users are connected to (CAPsMAN managed WiFi), as well as IPs/DHCP leases associated with those clients?
I do use DUDE for that overview. (even added RADIUS user in the User Manager comment attribute.)

Just an exemple of DUDE ...
Klembord-2.jpg
just one more (70 AP's, 200 client devices, no CAPsMAN)
Klembord-3.jpg
You do not have the required permissions to view the files attached to this post.
Last edited by bpwl on Thu Jan 11, 2024 3:23 pm, edited 2 times in total.
 
ormandj
just joined
Topic Author
Posts: 18
Joined: Tue Jun 15, 2021 12:25 am

Re: WiFi clients listed by security protocl/AP/DHCP/etc?

Mon Jan 08, 2024 5:29 pm

DUDE isn't an option (no Windows), but appreciate the tip!
 
User avatar
bpwl
Forum Guru
Forum Guru
Posts: 3130
Joined: Mon Apr 08, 2019 1:16 am

Re: WiFi clients listed by security protocl/AP/DHCP/etc?

Mon Jan 08, 2024 5:58 pm

DUDE via browser ... no problem ...
Klembord-3.jpg
It is easier with the DUDE client to add devices .. but can be done
Klembord-4.jpg

(some do run DUDE client on latest MacOS. ) ("Crossover" sofware, they told me)
You do not have the required permissions to view the files attached to this post.
 
ormandj
just joined
Topic Author
Posts: 18
Joined: Tue Jun 15, 2021 12:25 am

Re: WiFi clients listed by security protocl/AP/DHCP/etc?

Mon Jan 08, 2024 6:03 pm

I’m using 7.x and the registration list is what I referenced in the first post as not containing the information I was asking about. Again, thank you for the suggestions.
 
whatever
Member
Member
Posts: 367
Joined: Thu Jun 21, 2018 9:29 pm

Re: WiFi clients listed by security protocl/AP/DHCP/etc?

Mon Jan 08, 2024 7:11 pm

Wifi clients and matching DHCP-lease:
:foreach client in=[/interface/wifi/registration-table/find] do={
	:local "client-mac" [/interface/wifi/registration-table/get $client value-name=mac-address];
	/interface/wifi/registration-table/print stats where mac-address=$"client-mac";
	/ip/dhcp-server/lease/print terse proplist=address,server,host-name where mac-address=$"client-mac";
	}
Ugly output, but it contains the IP and hostname information. I don't see where you could get security protocols.