Page 1 of 1
LED COMMAND...
Posted: Wed Mar 29, 2006 10:56 am
by xandor
HI,
I can't found LED command on scripting list... I use RB532 board. Any idea?
Regards
Xandor
Posted: Wed Mar 29, 2006 11:30 am
by sergejs
There is 'blink',
and you may set 'blink duration=10'.
Posted: Wed Mar 29, 2006 11:41 am
by xandor
HI,
But for enable led1, led2, led3, etc...
Regards
Xandor
Posted: Wed Mar 29, 2006 11:44 am
by sergejs
You can use Ether1,Ether2, Ether3.
'interface ethernet blink ether1'.
Posted: Wed Mar 29, 2006 11:50 am
by xandor
HI,
I need to enable led onboard to RB532, in your script exampèle I have found it:
[admin@MikroTik] > :
beep execute global list pick time toip typeof
delay find if local put toarray tonum while
do for led log resolve tobool tostr
environment foreach len nothing set toid totime
[admin@MikroTik] >
If you see led command is present, instead isn't present into my RB532.
I have to add any new package on RB532 for obtain it?
Regards
Posted: Wed Mar 29, 2006 12:10 pm
by xandor
HI again,
I need to use wireless interfaces and not ethernet.
In wireless blink command isn't available.
I need a script for associate radio signal level to inside led on RB532.
Idea can be:
No signal:
/sys scheduler set 0 on-event="/blink duration=100ms" interval=1s
-95 to -90
/sys scheduler set 0 on-event="/blink duration=250ms" interval=1s
-90 to -85
/sys scheduler set 0 on-event="/blink duration=400ms" interval=1s
-85 to -80
/sys scheduler set 0 on-event="/blink duration=500ms" interval=1s
-80 to -75
/sys scheduler set 0 on-event="/blink duration=750ms" interval=1s
-75 or less:
/sys scheduler set 0 on-event="/blink duration=1s" interval=1s
But I need support for connect this script to radio signal level of wireless interface
Regards