Page 1 of 1

Frequency oid in label

Posted: Fri Jan 08, 2010 3:11 pm
by rodolfo
Hi all.
I try to put the frequency of 1 or 2 wlan in device label.
I tried oid taken from 'snmp walk' as well as 'print oid' then I put in device label the string:
Freq: [oid("")];[oid("")];[oid("")];[oid("")];[oid("")]

The problem is that frequency is shown oly in few cases and not always.
I have different oid in case if interface is bridge, ap-pridge, etc ?

Is there a more reliable method to show the frequency of wlan1 and (if present) wlan2 ?

I have ROS 3.30.


Re: Frequency oid in label

Posted: Fri Jan 08, 2010 4:42 pm
by sergejs
Note, oid from interface wireless is used for station. OID from registration-table is used for access-point.

Re: Frequency oid in label

Posted: Wed Feb 24, 2010 4:21 pm
by samcarney
I have the same problem.

The oid print list from the registration table does not show frequency.

So in AP-Bridge Mode, how can you show on dude label the frequency of your card?
Below is my print oid from registration table
1 strength=.

Re: Frequency oid in label

Posted: Wed Mar 03, 2010 4:17 pm
by sergejs
You can get frequency on station from /interface wireless print oid

Re: Frequency oid in label

Posted: Tue Apr 20, 2010 2:01 pm
by samcarney
Correct, it works fine in station mode. But I have a decvice with AP-Bridge Mode and I cant get it to print the frequency on the device label.

Device oid seems to be listed, but does not report a value/does not work :(
in wi pr oid
 0 tx-rate=. rx-rate=. strength=. 
   ssid=. bssid=. frequency=. 

Re: Frequency oid in label

Posted: Mon Apr 26, 2010 7:10 pm
by znet
Ah yes, no OID that reports 'AP' frequency. Very true. What a pain. This one took a while to figure out for me.

I had to resort to scripting on the RB to create global variable, and/or use ros_command with esoteric methods to display AP freq in device label. This problem isnt obvious until you have to solve it!

Not all values of interest to the WISP operator are available. How about SNR, and most connection related variables? They are all there in the RB. Use the command line to see how many more values are available than from just SNMP. Then put your coding hat on, get much coffee and try, try, try, and eventually you will be able to extract them through a rather circuitous, but effective route...

Re: Frequency oid in label

Posted: Wed Sep 14, 2011 7:27 am
by changeip
Can I use this in a static label? I would like to use functions / variables in the Static items on the map but can't figure out how. I want to put something on the map with 48 point text not attached to anything else...

Re: Frequency oid in label

Posted: Wed Sep 14, 2011 10:03 pm
by lebowski
Need to tell the label which ip address to request the oid from, got to go but you might be able to figure it out before I have a chance to help...

Re: Frequency oid in label

Posted: Wed Sep 14, 2011 10:22 pm
by changeip
yeah was trying to figure that out - however I think the static labels dont take any dynamic data ... they just display the [ ] in the text on the map ... so im not sure i can use a function in the label...

Re: Frequency oid in label

Posted: Thu Sep 15, 2011 4:17 pm
by lebowski
OH yeah that is probably it, build your label on an active device then move it to a static label. Make an active device with ip address but put the ip address in the label. Then just set the image to cloud.