[rancid] Re: Mikrotik Router Backups

Chris Boot bootc at bootc.net
Tue Jun 16 18:04:42 UTC 2009


Eric,

You need to make sure '+ct' is on the end of your username. This  
disables colour (+c) and autodetection (+t). See http://www.mikrotik.com/download/CHANGELOG_3 
  for more details, under "What's new in 3.0rc14".

HTH,
Chris

On 15 Jun 2009, at 22:08, Eric Merkel (Mail Lists) wrote:

> I've patched rancid 2.3.2 to handle mikrotik router backups per the  
> following thread http://www.gossamer-threads.com/lists/rancid/users/3826
>
> The new program mtlogin seems to work ok. However when I run /usr/ 
> local/rancid/bin/mtlogin -c" system package print detail;system  
> routerboard print;system license print;export" 10.11.9.1 it pauses  
> after login waiting for the command prompt and spits out some  
> special characters  ^[[?6c^[[36;3R. Once it detects the login prompt  
> it runs the previous commands showing the configs etc as it should  
> then at the very end says "interrupted" and quits.
>
> When the rancid-run process runs I get the following errors.
>
> Trying to get all of the configs.
> 10.11.9.1: missed cmd(s): system routerboard print
> =====================================
> Getting missed routers: round 1.
> 10.11.9.1: missed cmd(s): system routerboard print
> =====================================
> Getting missed routers: round 2.
> 10.11.9.1: missed cmd(s): system routerboard print
> =====================================
> Getting missed routers: round 3.
> 10.11.9.1: missed cmd(s): system routerboard print
> =====================================
> Getting missed routers: round 4.
> 10.11.9.1: missed cmd(s): system routerboard print
> If you are not familiar with Mikrotik, it has a command line  
> interface although some of the text is color coded. I am wondering  
> if these special characted codes could be causing the issue. If not  
> where do I start looking? Thanks!
>
> ===
> Eric Merkel
> ejmerkel.lists at gmail.com
> _______________________________________________
> Rancid-discuss mailing list
> Rancid-discuss at shrubbery.net
> http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss

-- 
Chris Boot
bootc at bootc.net


More information about the Rancid-discuss mailing list