Community discussions

MikroTik App
 
User avatar
nongkode
just joined
Topic Author
Posts: 2
Joined: Sat Dec 30, 2023 10:35 am

Please suggest how to get wifi interface name from band value ?

Sat Mar 09, 2024 3:09 pm

I would like to get Wifi Interface name from radio bands ?
I have try to get id from below command
:put [/interface/wifi/radio find where bands ~".*5.*";];
and it return id *2
when I use this Id to get interface name by
:put ([/interface/wifi get number=*2;]->"name");
it return ether1 instead of wifi2

from my understanding id return in 1st step is for radio only and on 2nd step is from all existing interface.

Would you please help to suggest how can I get interface name for specify radio band ?
Thank you very much

Who is online

Users browsing this forum: pav5 and 9 guests