Community discussions

MikroTik App

Search found 6 matches

by briencrean
Wed Jan 04, 2012 7:19 pm
Forum: Scripting
Topic: convert time to integer
Replies: 1
Views: 2590

convert time to integer

is it possible to convert from time format to an integer?

I need to convert the time it takes for a command to complete into seconds

e.g. 00:00:13.061801 to 13

Thanks
by briencrean
Wed Jan 04, 2012 7:08 pm
Forum: General
Topic: Calculate Generic Upload Speed
Replies: 2
Views: 1028

Re: Calculate Generic Upload Speed

:local duration; :set duration [:time {/tool fetch address=x.x.x.x src-path=x.jpg user=xxx mode=ftp password=xxxx dst-path=x.jpg upload=yes}]; :put $duration; Output : 00:00:13.061801 I was able to get the length of time it took by using :time. However the value returned is in the format 00:00:13.06...
by briencrean
Wed Jan 04, 2012 5:25 pm
Forum: General
Topic: Calculate Generic Upload Speed
Replies: 2
Views: 1028

Re: Calculate Generic Upload Speed

I was playing around a bit with fetch uploading from a Mikrotik with v5.11 firmware to a linux server and I got the output below. Is there any way to access the duration value and store it?? [admin@MikroTik] /tool> fetch address=x.x.x.x src-path=xxx.rar user=admin mode=ftp password=xxxxx dst-path=xx...
by briencrean
Wed Jan 04, 2012 1:06 pm
Forum: General
Topic: Calculate Generic Upload Speed
Replies: 2
Views: 1028

Calculate Generic Upload Speed

Hi all, Is there a way to calculate the average speed of an upload to use as a variable in a RouterOS script? For example if I started an FTP upload of a file to a linux server on the cloud and I wanted to calculate the average upload speed over time. I know the Mikrotik has btest but as it doesn't ...
by briencrean
Mon Nov 21, 2011 8:07 pm
Forum: Scripting
Topic: automatic "reverse" SSH tunnel script for remote access?
Replies: 3
Views: 3259

Re: automatic "reverse" SSH tunnel script for remote access?

Hi did you manage to get this working on your Mikrotik? This is exactly what I am also looking for to establish remote access to Mikrotiks.

Thanks
Brien
by briencrean
Sat Jul 30, 2011 12:14 am
Forum: General
Topic: PPPoE Passthrough Transparent Bridge
Replies: 0
Views: 827

PPPoE Passthrough Transparent Bridge

Hi all, I have configured a Mikrotik 750, RouterOS v 4.11, as a transparent bridge that prioritises regular ethernet traffic based on source and destination IP address and it works perfectly. Might be a silly question but is it possible to do the same with PPPoE or does the nature of the Layer 2 pro...