Community discussions

MikroTik App

Search found 43 matches

by Cobusbu
Sun Sep 28, 2014 10:57 pm
Forum: Scripting
Topic: USSD Commands
Replies: 0
Views: 1255

USSD Commands

Hi all

I need help with USSD commands over Mikrotik.

Has anyone experimented with this successfully?
by Cobusbu
Mon Jan 20, 2014 7:23 pm
Forum: Scripting
Topic: How do I get Huawei E3131 modem to respond to AT commands?
Replies: 0
Views: 1704

How do I get Huawei E3131 modem to respond to AT commands?

Please help

How do I get my Huawei E3131 modem to respond to AT commands?

I have tried everything and it doesn't work.
by Cobusbu
Tue Mar 05, 2013 9:44 pm
Forum: Scripting
Topic: How to implement a delay in a foreach loop
Replies: 4
Views: 3474

Re: How to implement a delay in a foreach loop

Thank you very much it worked! :D
by Cobusbu
Tue Mar 05, 2013 7:49 am
Forum: Scripting
Topic: How to implement a delay in a foreach loop
Replies: 4
Views: 3474

Re: How to implement a delay in a foreach loop

Where do I put the delay command in order that a 10 second delay is executed before each query? The script below is supposed to send sms's to prepaid users based on data used but a sms is only sent to the 1st user then the subsequent sms's don't go through: { :local name :local surname :local usage ...
by Cobusbu
Mon Mar 04, 2013 9:38 pm
Forum: Scripting
Topic: How to implement a delay in a foreach loop
Replies: 4
Views: 3474

How to implement a delay in a foreach loop

Hi all I need to implement a delay of 10 seconds in a foreach i in loop. Between every query of the foreach i in loop ten seconds must laps. The foreach i command is used to send emails and sms's to users about their data usage. I require a delay in the script in order for email or sms server not to...
by Cobusbu
Tue Dec 18, 2012 10:23 pm
Forum: Scripting
Topic: Usermanager 5 Script to change rate limits based on usage
Replies: 12
Views: 8500

Re: Usermanager 5 Script to change rate limits based on usag

Hi Skot I realized that there is no need for changing the rate limitation details with a script in v 5.22. When a customer's monthly usage exceed a certain amount of data, a script must activate a predefined profile with reduced speed. I am struggling with the terminal command to activate a predefin...
by Cobusbu
Thu Dec 13, 2012 8:14 pm
Forum: Scripting
Topic: Usermanager 5 Script to change rate limits based on usage
Replies: 12
Views: 8500

Re: Usermanager 5 Script to change rate limits based on usag

Hi Skot

Thanks for your time spent to help me with the problem

I would not have figured this out myself ;-)

I hope Mikrotik fix this bug soon.
by Cobusbu
Wed Dec 05, 2012 9:35 pm
Forum: Scripting
Topic: Usermanager 5 Script to change rate limits based on usage
Replies: 12
Views: 8500

Re: Usermanager 5 Script to change rate limits based on usag

There are no errors when I copy into Terminal
by Cobusbu
Tue Dec 04, 2012 7:51 pm
Forum: Scripting
Topic: Usermanager 5 Script to change rate limits based on usage
Replies: 12
Views: 8500

Re: Usermanager 5 Script to change rate limits based on usag

Hi Skot I am completely lost The script executes only the log info at the bottom but the rate limits are not changed in user-manager { :local user :local surname :local bytesin :local bytesout :local bytestotal :local megstotal :local profilename /tool user-manager user :foreach i in=[find customer=...
by Cobusbu
Sun Dec 02, 2012 7:41 pm
Forum: Scripting
Topic: Usermanager 5 Script to change rate limits based on usage
Replies: 12
Views: 8500

Re: Usermanager 5 Script to change rate limits based on usag

Thank you very much for your assistance. I am going to try this and will post my findings.

Regards
by Cobusbu
Thu Nov 29, 2012 10:15 pm
Forum: Scripting
Topic: Usermanager 5 Script to change rate limits based on usage
Replies: 12
Views: 8500

Usermanager 5 Script to change rate limits based on usage

Hi all I had a script running in Usermanager 4 that could change the rate limits if a user used more than a 40 Gigs amount of data in a month. I have in the mean while upgraded my usermanager router to routeros v5.21 This script does not work in usermanager 5.21 any more I have tried making correcti...
by Cobusbu
Wed Nov 28, 2012 9:15 pm
Forum: The User Manager
Topic: Mikrotik Hotspot Ticket Thermal Printer
Replies: 11
Views: 9921

Re: Mikrotik Hotspot Ticket Thermal Printer

How can I download it?
by Cobusbu
Fri Dec 16, 2011 5:46 pm
Forum: Scripting
Topic: UM SCRIPT NOT WORKING :set transferlimit [get $i transfer]
Replies: 0
Views: 752

UM SCRIPT NOT WORKING :set transferlimit [get $i transfer]

Hi all I still have no solution for my problem I'm beginning to think its a bug in usermanager. 5.xx I had a script calling the usermanager database in RouterOS V3.3 I upgraded to v 5.11 and after the upgrade the script didn't run any more I have tried to de-bug the script by copying it part by part...
by Cobusbu
Fri Dec 16, 2011 4:24 pm
Forum: Scripting
Topic: :set transferlimit [get $i transfer]
Replies: 3
Views: 1342

Re: :set transferlimit [get $i transfer]

Hi

No, it is a user-manager user.

Any suggestions?
by Cobusbu
Thu Dec 15, 2011 11:05 pm
Forum: Scripting
Topic: :set transferlimit [get $i transfer]
Replies: 3
Views: 1342

:set transferlimit [get $i transfer]

Good evening all I have a big problem in RouterOS & Usermanager 5.11 I had a script running in RouterOS V3.3 and upgraded to V5.11 After the upgrade the script didn'tt run any more I have tried to de-bug the script by copying it part by part in New Terminal and got to the line where the value na...
by Cobusbu
Tue Jun 23, 2009 9:13 pm
Forum: Scripting
Topic: Dynamic simple queue "total-bytes"?
Replies: 3
Views: 2578

Re: Dynamic simple queue "total-bytes"?

There is no traffic limit only speed limit.
by Cobusbu
Tue Jun 23, 2009 6:19 am
Forum: Scripting
Topic: Dynamic simple queue "total-bytes"?
Replies: 3
Views: 2578

Dynamic simple queue "total-bytes"?

I have written a script which interrogates the dynamic queues from Usermanager. When the users download more than 150MB the script should override the speed of the queues released by user-manager: { :local traf 0; /queue simple; :foreach i in=[find dynamic=yes] do={ :set traf [get $i total-bytes]; :...
by Cobusbu
Sun Jun 21, 2009 11:18 pm
Forum: General
Topic: Ip -> Firewall -> Mangle -> Advanced -> Connection Bytes?
Replies: 3
Views: 6826

Re: Ip -> Firewall -> Mangle -> Advanced -> Connection Bytes?

Hi MRZ

Can you give me some clues as how to achieve this?

Thank you
by Cobusbu
Mon Jun 15, 2009 8:40 pm
Forum: General
Topic: Ip -> Firewall -> Mangle -> Advanced -> Connection Bytes?
Replies: 3
Views: 6826

Ip -> Firewall -> Mangle -> Advanced -> Connection Bytes?

Could someone please explain to me how the counter under connection bytes works. I have been trying to set a mangle rule which marks packets for a given connection above 100Mbytes: The setting in the connection bytes window is as follows: 100000000-0 Which means that the rule must apply above 100MB ...
by Cobusbu
Wed May 27, 2009 11:58 pm
Forum: The User Manager
Topic: Usermanager RADIUS incoming messages
Replies: 1
Views: 1650

Usermanager RADIUS incoming messages

When will the Usermanager be released that supports RADIUS incoming messages?
by Cobusbu
Sat Mar 14, 2009 8:31 am
Forum: Scripting
Topic: Why is script generating email message twice?
Replies: 5
Views: 1695

Why is script generating email message twice?

I have script generating a usage notification for users every 2nd morning at 05h55. However I find that the script is running twice although Scheduler is set to run it only once.

Has anyone experience a similar problem?
by Cobusbu
Fri Feb 27, 2009 7:09 pm
Forum: Wireless Networking
Topic: WDS block local lan
Replies: 2
Views: 982

Re: WDS block local lan

How do you deliver information to the clients over this WDS network? Do you have a windows server at a central point in the network which they must be able to access?

I need more information regarding your setup.
by Cobusbu
Fri Feb 27, 2009 6:35 pm
Forum: General
Topic: MikroTik T-Shirts ?
Replies: 6
Views: 1970

Re: MikroTik T-Shirts ?

I will surely buy one as well. I think it's a great idea.
by Cobusbu
Sun Feb 22, 2009 5:10 pm
Forum: The User Manager
Topic: When will User Manager supports RADIUS incoming messages?
Replies: 0
Views: 994

When will User Manager supports RADIUS incoming messages?

A question to Mikrotik:

When will User Manager supports RADIUS incoming messages? When will it be able to alter PPPoE dynamic queues on the fly?

Regards,

Cobusbu
by Cobusbu
Fri Feb 20, 2009 1:21 pm
Forum: General
Topic: PPTP tunnel and PPPoE server on same interface?
Replies: 4
Views: 1639

Re: PPTP tunnel and PPPoE server on same interface?

I have tested the PPTP tunnel through the 2 PPPoE interfaces, it works.
by Cobusbu
Wed Feb 18, 2009 7:36 pm
Forum: General
Topic: PPTP tunnel and PPPoE server on same interface?
Replies: 4
Views: 1639

Re: PPTP tunnel and PPPoE server on same interface?

Thank you idelac3 and tgrand. I will definately experiment with the virtualAP. I have managed to create a pptp vpn tunnel through two PPPoE connections. I have set up the PPPoE server on the AP to hand out fixed remote IP addresses to the dial up clients who require the pptp tunnel and routed the PP...
by Cobusbu
Sun Feb 15, 2009 1:49 pm
Forum: General
Topic: PPTP tunnel and PPPoE server on same interface?
Replies: 4
Views: 1639

PPTP tunnel and PPPoE server on same interface?

Hi I have 5 clients connected to a high site AP. The client routers cannot see each other. I would like to link client1 and 2 with a transparent bridge and create another link between client 3 & 4. The two links must be isolated from each other and secure. The links must be relayed through the A...
by Cobusbu
Sun Jan 25, 2009 9:42 pm
Forum: General
Topic: Best method for VPN services from high site?
Replies: 0
Views: 554

Best method for VPN services from high site?

I have a high site consisting of routerboard 600 and 3 WLAN interfaces which feed 3 sector antennas to which my clients connect. The high site also has one backbone interface. Each of the WLAN interfaces has a PPPoE server running on it with no IP address assigned to the WLAN interfaces for security...
by Cobusbu
Wed Dec 10, 2008 6:25 pm
Forum: Scripting
Topic: How can I access a global variable on another router?
Replies: 8
Views: 3223

Re: How can I access a global variable on another router?

Thanks mrz

The global variable is $bytestotal. I want the router to extract this variable from another router every 15 minutes. As soon as it exceeds 100MB it must disconnect the user's PPPoE session.
by Cobusbu
Sun Dec 07, 2008 8:31 am
Forum: Scripting
Topic: How can I access a global variable on another router?
Replies: 8
Views: 3223

Re: How can I access a global variable on another router?

Thanks Letni

I will investigate this method.
by Cobusbu
Sat Dec 06, 2008 1:22 pm
Forum: Scripting
Topic: How can I access a global variable on another router?
Replies: 8
Views: 3223

How can I access a global variable on another router?

Hi

Is it possible for a script on one router to access a global variable on another router?

What would the command be in order to do this?

Any help will be appreciated.
by Cobusbu
Sat Dec 06, 2008 1:07 pm
Forum: The User Manager
Topic: Why can't Userman change PPPoE Dynamic Queues on the fly?
Replies: 5
Views: 2928

Re: Why can't Userman change PPPoE Dynamic Queues on the fly?

Hi Serge

I am looking forward to this improvement.

Regds
by Cobusbu
Wed Nov 26, 2008 7:45 pm
Forum: Scripting
Topic: /tool e-mail
Replies: 4
Views: 1818

Re: /tool e-mail

Hi

You can resolve the problem by using a smtp proxy to act as a relay, e.g. Sambar Server.

I had the same problem I resolved it with Sambar Server.
by Cobusbu
Sun Nov 09, 2008 10:57 am
Forum: The User Manager
Topic: Why can't Userman change PPPoE Dynamic Queues on the fly?
Replies: 5
Views: 2928

Re: Why can't Userman change PPPoE Dynamic Queues on the fly?

Hi Giepie

Thanks for your reply.

I have realized it as well, that there is no way to alter dynamic queues of pppoe sessions on the fly.

Regds.
by Cobusbu
Tue Jun 24, 2008 8:40 pm
Forum: The User Manager
Topic: Why can't Userman change PPPoE Dynamic Queues on the fly?
Replies: 5
Views: 2928

Why can't Userman change PPPoE Dynamic Queues on the fly?

Hi Can somebody please tell me why Usermanager cannot change Dynamic Queues on a remote router on-the fly? The PPPoE active session must first be disconnected before the new speed settings takes effect from Usermanager via the radius protocol. Can somebody please tell me how the rate limits of a dyn...
by Cobusbu
Sun May 11, 2008 10:26 pm
Forum: The User Manager
Topic: Interim-Update ..?!
Replies: 12
Views: 17307

Re: Interim-Update ..?!

Hi Krige I am very interested in your offer to access your Freeradius server (if your offer still stands) :-) I have not seen Freeradius installed on Linux before and your offer will save me a lot of hassles to get such a system up and running. As far as I am concerned, Usermanager cannot alter the ...
by Cobusbu
Wed May 07, 2008 10:14 pm
Forum: The User Manager
Topic: Interim-Update ..?!
Replies: 12
Views: 17307

Re: Interim-Update ..?!

Hi Krige I have managed to resolve 50% of the problem. Usermanager is now interpreting the interim updates and the upload/download counters are increasing. I am running RouterOS 2.9.51 and userman 2.9.51 on two seperate boards the board running the pppoe server pointing to the one with usermanager o...
by Cobusbu
Mon May 05, 2008 9:57 am
Forum: The User Manager
Topic: Interim-Update ..?!
Replies: 12
Views: 17307

Re: Interim-Update ..?!

Hi Krige Thanks for your response. What I would like to establish, is if other radius managers will resolve the problem, i.e do the bytes upload -and download counters increase at the predetermined interim update interval and do the dynamic queues active on the remote router(s) automatically change ...
by Cobusbu
Sun May 04, 2008 11:19 pm
Forum: The User Manager
Topic: Interim-Update ..?!
Replies: 12
Views: 17307

Re: Interim-Update ..?!

Hi Krige I am currently experiencing the same problem with User Manager. I have a script running every 6 hours pulling the total bytes used from User Manager. The same script writes back into the rate limit table of User Manager,depending upon the amount of bytes used by each client. But I have to d...
by Cobusbu
Sun Feb 03, 2008 9:52 pm
Forum: Beginner Basics
Topic: [ask] how to limit only port 80
Replies: 8
Views: 17687

Re: [ask] how to limit only port 80

You can set the burst rate to e.g. 192kBps and the maximum download limit to 32kBps. Make the burst threshold 15kBps and the burst period 1800s. This will allow for browsing only but will make downloads very slow.
by Cobusbu
Sun Feb 03, 2008 9:45 pm
Forum: Scripting
Topic: I need script remove user in (pppoe)
Replies: 10
Views: 7723

Re: I need script remove user in (pppoe)

I have been looking for a script to remove pppoe users and 'dead' sessions for a long time when in came across this script. It works great. Thank you.
by Cobusbu
Mon Jan 07, 2008 12:28 pm
Forum: RouterBOARD hardware
Topic: Please help! UserManager -> PPPOE server authentication
Replies: 0
Views: 1023

Please help! UserManager -> PPPOE server authentication

Is there somebody who knows how I get UserManager (which is connected to the backbone interface of the network) to answer to a PPPOE server running on the tower. The problem is that the PPPOE server local address is assigned dinamically and only after the first customer is authenticated does it appe...
by Cobusbu
Fri Jan 04, 2008 11:41 am
Forum: RouterBOARD hardware
Topic: Mikrotik PPPOE Server and UserManager Problem
Replies: 1
Views: 2796

Mikrotik PPPOE Server and UserManager Problem

Hi I have a test network setup as follows: Routerboard 112 with 2 wireless interfaces and 1 x ether interface Ip address of ether1= 192.168.12.3 I have not assigned an IP address to WLAN1 but have a PPPOE server running on this interface with local address =192.168.3.1 and remote address range=192.1...