Page 1 of 1

How to get radio name, data rates and Tx power?

Posted: Tue Jan 14, 2014 9:19 am
by qinyurong
Hello,

I run CLI /interface/wireless/print,but,where is the radio name of wlan1?
And how to set data rates, Tx power?

Thanks a lot for help!



run CLI /interface/wireless/print, the return is:
!re
=.id=*10
=name=wlan1
=mtu=1500
=l2mtu=2290
=mac-address=00:15:6D:74:05:74
=arp=enabled
=interface-type=Atheros AR5413
=mode=ap-bridge
=ssid=fri
=frequency=2427
=band=2ghz-b/g
=channel-width=5mhz
=scan-list=default
=wireless-protocol=any
=antenna-mode=ant-a
=wds-mode=disabled
=wds-default-bridge=none
=wds-ignore-ssid=false
=bridge-mode=enabled
=default-authentication=true
=default-forwarding=true
=default-ap-tx-limit=0
=default-client-tx-limit=0
=hide-ssid=false
=security-profile=default
=interworking-profile=disabled
=compression=false
=running=false
=disabled=false

Re: How to get radio name, data rates and Tx power?

Posted: Tue Jan 14, 2014 1:37 pm
by Zavi
Try ask for them explicitly by using .proplist argument.
http://wiki.mikrotik.com/wiki/Manual:API#Query_word
see the OID section for .proplist example

Re: How to get radio name, data rates and Tx power?

Posted: Tue Jan 14, 2014 2:20 pm
by boen_robot
Try also to add a "=details=" argument to your request.

Re: How to get radio name, data rates and Tx power?

Posted: Fri Jan 17, 2014 4:15 am
by qinyurong
Try ask for them explicitly by using .proplist argument.
http://wiki.mikrotik.com/wiki/Manual:API#Query_word
see the OID section for .proplist example
thanks a lot!

Re: How to get radio name, data rates and Tx power?

Posted: Fri Jan 17, 2014 10:11 am
by qinyurong
Try also to add a "=details=" argument to your request.
Thank you!

Add "=detail=", I got the same output.