Community discussions

Search found 18 matches

by crs
Mon Jul 09, 2012 10:15 am
Forum: General
Topic: v5.18 released
Replies: 92
Views: 26117

Re: SSHD server problem?

Yeah on FreeBSD I'm getting randomly:
protocol error: expected control record
Can anybody else confirm? I've checked connection from FreeBSD and Ubuntu, and both behave the same way and this indicated that problem is on RouterOS side.
by crs
Fri Jul 06, 2012 5:00 pm
Forum: General
Topic: v5.18 released
Replies: 92
Views: 26117

SSHD server problem?

Hi. Recenlty I've upgraded most of my routers to 5.18. I didn't notice any problems except my script that synchronizes configuration between routers stopped working. I've made some investigation and I've noticed that RouterOS commands executed via ssh didn't return any output, but it only happens wh...
by crs
Mon May 21, 2012 3:17 pm
Forum: Scripting
Topic: script for syncing config between two different routers
Replies: 0
Views: 1540

script for syncing config between two different routers

I've faced problem how to setup backup router that can be easily (but manually) switched to act as main. I have two routers - RB1000 and RB750. They are different platforms and I can't just backup config on RB1000 and restore it on RB750. Additionally RB750 have one more ethernet interface which I u...
by crs
Wed May 16, 2012 3:11 pm
Forum: Scripting
Topic: problem with command via ssh - RouterOS bug ?
Replies: 2
Views: 944

Re: problem with command via ssh - RouterOS bug ?

Thanks man. It was very lame of me :)
by crs
Wed May 16, 2012 2:29 pm
Forum: Scripting
Topic: problem with command via ssh - RouterOS bug ?
Replies: 2
Views: 944

problem with command via ssh - RouterOS bug ?

Hello. I'm writing script that gets user list from router. I'm executing commands on router using ssh (auth by key) and grab output. But.... when I execute the same command which works when I'm logged via ssh, but using it as a parameter to ssh command, I'm getting error "Interrupted". To be more cl...
by crs
Mon Apr 16, 2012 4:32 pm
Forum: Scripting
Topic: monitoring internet connection
Replies: 0
Views: 3263

monitoring internet connection

Hi, I've written script which monitors main connection using ping and switches to backup when problem is detected. When main connection works again, script switches back traffic from backup. Idea is simple. Script (I run it every 2 minutes via scheduler) sends ping to 3 defined locations. When all 3...
by crs
Tue Apr 10, 2012 2:29 pm
Forum: Scripting
Topic: find files older than date
Replies: 1
Views: 2110

find files older than date

Hi. Is there any way to find files matching pattern and older than give date? I can find files by pattern (name starting with backup) using: /file find name~'^backup*' but i don't know how to limit list only to older files. Second thing - as I found list of files found by "find" is not sorted. Any w...
by crs
Tue Apr 10, 2012 9:45 am
Forum: General
Topic: can't enable ssh service
Replies: 3
Views: 2167

Re: can't enable ssh service

Answering my own question.. maybe it will be useful for somebody. After normal (not using netinstall) upgrade to from 4.17 to 5.14 ssh works again.
by crs
Tue Mar 13, 2012 1:18 pm
Forum: General
Topic: can't enable ssh service
Replies: 3
Views: 2167

Re: can't enable ssh service

Thanks for answer. No other option to recreate keys without reinstalling system? And one more question - if I upgrade to 5.x will ssh keys be created?
by crs
Tue Mar 13, 2012 9:40 am
Forum: General
Topic: can't enable ssh service
Replies: 3
Views: 2167

can't enable ssh service

Hello. I have RB1000 with v4.17 and everything worked fine till last night. Something happened (there's nothing in logs) and some interfaces (pptp client and pppoe client) disappeared and some features didn't work properly. I've restored configuration from backup and everything seems to be fine exce...
by crs
Wed Feb 15, 2012 10:11 am
Forum: Scripting
Topic: intercept output of command to variable
Replies: 2
Views: 869

Re: intercept output of command to variable

Hmm... Is it possible to have output of traceroute in log ?
by crs
Mon Feb 13, 2012 2:31 pm
Forum: Scripting
Topic: intercept output of command to variable
Replies: 2
Views: 869

intercept output of command to variable

Hi. I have script that monitors my network connection. It works by sending pings to specific address and counts number of succesfull packets. In case of trouble I would like to have traceroute to this address to determine point of failure. Unfortunatelly I can't get output of traceroute command to v...
by crs
Fri May 27, 2011 4:33 pm
Forum: General
Topic: winbox + linux
Replies: 7
Views: 3866

Re: winbox + linux

Ah, sorry I didn't notice it :/
by crs
Fri May 27, 2011 4:32 pm
Forum: General
Topic: PPTP client firewall problem
Replies: 1
Views: 515

PPTP client firewall problem

Hello I've got MT with two physical interfaces used. ETHER1 - connected to Internet and ETHER2 with few VLAN interfaces setup on it (let's sey they are called VLAN1, VLAN2...). I also have firewall configured to allow or block traffic between VLANS and/or Internet. Now I want to run PPTP server - ea...
by crs
Fri May 27, 2011 4:13 pm
Forum: General
Topic: winbox + linux
Replies: 7
Views: 3866

Re: winbox + linux

Disable Ubuntu firewall and check if MT is discovered by MAC address
by crs
Fri Apr 23, 2010 10:05 am
Forum: Virtualization
Topic: OpenWRT metarouter patch v1.2
Replies: 40
Views: 30555

Re: OpenWRT metarouter patch v1.2

I had serious problems with running PowerPC image form Wiki and with image built from OpenWRT sources with applied patch. You can read about it in my post -> http://forum.mikrotik.com/viewtopic.php ... 89#p204389 . Be aware!
by crs
Thu Apr 22, 2010 4:56 pm
Forum: Virtualization
Topic: OpenWRT on RB1000 still in booting phase
Replies: 4
Views: 5321

Re: OpenWRT on RB1000 still in booting phase

Thanks roadrunner for answer. I don't have other RB to check if that image would work but it must be this reason. Anyway, few days ago on wiki page http://wiki.mikrotik.com/wiki/Metarouter appeared new images and new patch for OpenWRT sources. I downloaded tgz for PowerPC platform and imported metar...
by crs
Wed Mar 10, 2010 10:42 am
Forum: Virtualization
Topic: OpenWRT on RB1000 still in booting phase
Replies: 4
Views: 5321

OpenWRT on RB1000 still in booting phase

Hi. I've created Metarouter using OpenWRT image from Mikrotik Wiki but it doesn't want to run. It's still in booting phase, even after long period of time. When connecting to its console there's no output. I've tried with compiled by myself OpenWRT image (from revision 18199) but without success. Ro...