Community discussions

MikroTik App

Search found 10 matches

by Base122
Thu Jul 19, 2012 11:37 pm
Forum: Scripting
Topic: enable / disable radio script
Replies: 27
Views: 37064

Re: enable / disable radio script

Had a requirement to set the wireless radio on a RB751U to switch on and off at certain times. E.g. On during business hours only (07:00 - 17:00) The simplest solution was to use the scheduler to enable and disable the radio at the required times. However, if the router was powered off sometime duri...
by Base122
Wed Jun 20, 2012 1:38 am
Forum: Scripting
Topic: SMS script
Replies: 10
Views: 7856

Re: SMS script

its a new SIM - never change it , I will try 0000 (thanks , I didn't know it) and does it matter which channel I'm using? again , no reason I choose 4 You cannot choose any number for the Info channel. It must be the correct one for your GSM Modem. Try 1,2 or 3?? Once you have the correct info chan...
by Base122
Thu Jun 14, 2012 4:32 pm
Forum: Scripting
Topic: SMS script
Replies: 10
Views: 7856

Re: SMS script

Take a look at this script I use for sending an SMS to Email.

http://forum.mikrotik.com/viewtopic.php ... 68#p312202

I am sure you can adapt it for your use.
by Base122
Mon Apr 23, 2012 3:38 pm
Forum: Scripting
Topic: Script on RB411U to check credit on 3G connection
Replies: 9
Views: 8755

Re: Script on RB411U to check credit on 3G connection

Have you checked the Tool/SMS Settings?
SMS Tool Settings.JPG
Do you find an SMS message in the INBOX??
by Base122
Thu Apr 19, 2012 4:36 pm
Forum: General
Topic: RB751 bootup problem
Replies: 10
Views: 2531

Re: RB751 bootup problem

Same problem here on 4x RB751U's.

Units are stable on V5.12, but have boot up problems on v5.13 and V5.14.
I read another post where the problem still occurs on latest V6 beta as well.

Certainly looks like a firmware issue.

I hope MikroTik can identify and resolve this as soon as possible!
by Base122
Sun Apr 15, 2012 12:21 am
Forum: Scripting
Topic: Script on RB411U to check credit on 3G connection
Replies: 9
Views: 8755

Re: Script on RB411U to check credit on 3G connection

This script should help. I have it working on a RB751 with 3G modem. You can schedule this script at regular intervals. Remember to set up /tools/email # Script to forward SMS from GSM Modem Inbox to Email # # Note: The SMS is removed from the inbox after being sent to Email, # # even if the Email f...
by Base122
Sun Mar 18, 2012 11:14 pm
Forum: Scripting
Topic: Using "interface ppp-client info" in script
Replies: 11
Views: 8317

Re: Using "interface ppp-client info" in script

Great job. I didn't know that can get in this way ($"current-operator"). Really I used a piece of your script and is what I needed. :local i 0; /interface ppp-client info umts do={ :set i ($i+1); :if ($i=5) do={ :global modemstatus $"status"; :global pinstatus $"pin-status"; :global currentoperator...
by Base122
Sat Mar 17, 2012 9:04 pm
Forum: Scripting
Topic: Using "interface ppp-client info" in script
Replies: 11
Views: 8317

Re: Using "interface ppp-client info" in script

Is true, you can create the script "umts_info" that contains "/interface ppp-client info ppp-out1" and call it from scheduler. To kill it you can use "/system script job remove [find script=umts_info ]" Thanks for this tip alphil. asesko, I think I have found a way to successfully use this ppp-clie...
by Base122
Thu Mar 15, 2012 1:37 pm
Forum: Scripting
Topic: Using "interface ppp-client info" in script
Replies: 11
Views: 8317

Re: Using "interface ppp-client info" in script

It seems if you use "/interface ppp-client info ppp-out1" in a script, it runs continuously in the background and keeps logging the information to the system log file. This can be seen if the async topic is enabled for system logging. If you have issued this info command once in a script, it cannot ...
by Base122
Tue Mar 13, 2012 4:54 pm
Forum: Scripting
Topic: Mikrotik 3g watchdog
Replies: 21
Views: 12363

Re: Mikrotik 3g watchdog

Having had this same problem with my RB751U, where the 3G modem appears to have "hung" and will not respond to normal commands from the routerboard to reconnect the PPP session, I have come up with an idea to reset the modem. Basically, the PPP connection Modem Init entry is used to send AT commands...