Questions about the Wireless

Hello,

I am the beginner for RB951G-2HnD. I would like to know the following:

  1. How to adjust the power of the wireless, as I want to reduce the power of it in the small area.
  2. How to set schedule to enable and disable the wireless automatically everyday?

Thank you,

Under the advanced options on the wireless settings you will see TX Power. This is where you will change the tx power of the device.

You could create a script to disable and enable the wireless interface and then use scheduler to run the enable and disable scripts as desired.

Hello Brown,

Thank you for your information.

May I know how to write the script for disable and enable the wireless?

Thank you,

In /system script you can have a script to disable

/interface wireless set numbers=0 disabled=yes

To enable

/interface wireless set numbers=0 disabled=no

Thanks, Brown.

Excuse me, this is the first time that I create the script. What’s the policy of the script that it should be set?

Thank you

Just leave it default and leave them all selected.

I have set the following for disable, but it doesn’t disable the wlan after run. Why?
29-4-2014 23-02-35.jpg

Okay, I leave it as default (not select anything for policy). After Run the script for disabled, the wlan still enabled.
29-4-2014 23-04-12.jpg

Check all of the policy boxes, save, and try again.

The script setup completed.

Next step, how to add this script in scheduler:

I would like to set as the following:
Disable at 01:30
Enable at 05:45

Does the following set is correct?
29-4-2014 23-10-42.jpg

It should be like this. Don’t forget to set your NTP Client on your router.

/system scheduler
add name="Disable Wireless" on-event=\
    "/interface wireless set numbers=0 disabled=yes" policy=\
    ftp,reboot,read,write,policy,test,winbox,password,sniff,sensitive,api \
    start-date=apr/29/2014 start-time=15:30:00
add name="Enable Wireless" on-event=\
    "/interface wireless set numbers=0 disabled=no" policy=\
    ftp,reboot,read,write,policy,test,winbox,password,sniff,sensitive,api \
    start-date=apr/29/2014 start-time=00:05:45

As I would like to disable the wireless at midnight (01:30), hence, does I fill “start time” for 01:30:00 and Interval for “00:00:00”?

And, does it perform this script everyday?

You don’t need to set interval. Yes, they will run daily.

Noted with thanks, Brown!

Hello Brown,

As the time is passed in my time zone, the scripts has not been ran. You can see the run counter are “0” in the screen captured. Why?
30-4-2014 6-47-48.jpg
30-4-2014 6-47-31.jpg

According to the log, it has not show the script has been run, too. why?
30-4-2014 6-51-51.jpg

Because you have 1:30 which is AM. You need 13:30 for 1:30 pm.

Nope, I would like to set 01:30 am. Does it is 24 hour format as 01:30?

Wrong interval. Write "1d " before zeroes.

But, for interval, does it need to input a time format value, instead of “1d”?