I have a router with free WiFi (no ned user\pass) , mwaning all the users use the same name
is there any way to get the MAC of the connected device on login ?
I know there is this script
Code: Select all
:log info "User $user logged in!"
:global "hotspot_user" $user;
:log info "User $user with mac-address of $[/ip hotspot active get [find user=$"hotspot_user"] mac-address] logged in!"
it there a way to get the MAC ?