Community discussions

MikroTik App

Search found 10 matches

by NEJI
Fri Apr 13, 2018 12:00 pm
Forum: General
Topic: Torrent
Replies: 43
Views: 10783

Re: Torrent

I've rewritten "get_routeros.sh" that I previously posted.

New code is at https://github.com/jawug/ros-getter/blo ... -getter.sh
It works for versions from when capsman was dropped as a package.

Use at own risk.
by NEJI
Fri Apr 13, 2018 11:57 am
Forum: Scripting
Topic: fetch FTP - empty file uploaded
Replies: 5
Views: 3098

Re: fetch FTP - empty file uploaded

I have the same problem - emty file uploaded to Ubuntu FTP server. Fromm command line - is OK. From the script - is 0Bytes :( Have You found solution? Where is the problem? My problem was that I was using a Windows FTP server and some how the anti virus was messing things up. But when I moved to a ...
by NEJI
Sat Dec 26, 2015 12:46 pm
Forum: General
Topic: Torrent
Replies: 43
Views: 10783

Re: Torrent

Got lazy and updated one of the scripts here. This script will collect files for all listed "instruction sets" as well as the CHR images. Usage: To get the "current" release. Note that you can have a daily cronjob running to get the latest files ./get_routeros.sh Get a specific release. This is so t...
by NEJI
Tue Jun 11, 2013 11:24 pm
Forum: Scripting
Topic: Strange behaviour with 6.0 using "export"
Replies: 0
Views: 562

Strange behaviour with 6.0 using "export"

Hi all, We are using various models, of Routerboards, on our network and have a scripting system in place that exports the configuration to a central server for backup. On the ROS version 5.x units everything works just fine. However on some of our ROS 6.0 units the export function does not work cor...
by NEJI
Wed Feb 13, 2013 10:00 pm
Forum: General
Topic: v6.0rc7-9 config export missing data
Replies: 3
Views: 1271

Re: v6.0rc7-9 config export missing data

Hi cbrown,
Thank you that worked.

Many thx!
/Duncan
by NEJI
Tue Feb 12, 2013 2:43 pm
Forum: General
Topic: v6.0rc7-9 config export missing data
Replies: 3
Views: 1271

Re: v6.0rc7-9 config export missing data

Hi cbrown,
I'll do the test tonight.
If need be I'll add a check on the main script so that it determines if it is version 5 or 6 and then runs the expanded export command.

Many thx so far.
/Duncan
by NEJI
Tue Feb 12, 2013 8:55 am
Forum: General
Topic: v6.0rc7-9 config export missing data
Replies: 3
Views: 1271

v6.0rc7-9 config export missing data

Hi all, We've got multiple routerboards running 5.x in our network. We also have a script that exports the configuration and then ftps the file to a central server which then saves it in subversion, as a method of version control. We've started testing v6.0rc7 and rc9 on some boards and we're seeing...
by NEJI
Sat May 12, 2012 12:05 pm
Forum: Scripting
Topic: on Registration event
Replies: 1
Views: 484

on Registration event

Hi all,
Quick question, is there like an onEvent registration function for when clients connect to an AP?

My end goal is to write to a file every time a client connects to my AP, with information such as IP, MAC address,. Its not setup as a hotspot as that is what I do not need.


Many thx in adv.
by NEJI
Wed Apr 25, 2012 12:08 am
Forum: Scripting
Topic: fetch FTP - empty file uploaded
Replies: 5
Views: 3098

Re: fetch FTP - empty file uploaded

I changed the FTP service from Windows to Ubuntu and so far its working.

No more zero sized files and the right sized file does get FTP'd to the server.
by NEJI
Tue Apr 03, 2012 10:52 pm
Forum: Scripting
Topic: fetch FTP - empty file uploaded
Replies: 5
Views: 3098

Re: fetch FTP - empty file uploaded

Hi zervan, I have noticed the exact same problems with my script sometimes it uploads the whole file and other times its a zero sized file. I have now done this: /tool fetch mode=ftp address=($ftpserver) user=rbcp password=rbcp src-path=($rscFileName) dst-path=($rscFileName) upload=yes; :delay delay...