Rancid and Quagga
Hi All, I recently fired up a few FreeBSD routers using Quagga, and today I went to configure RANCID but I'm having some troubles. RANCID is working fine for my Juniper gear, my Cisco gear and even my APC stuff but I can't get it to work for quagga. I run zrancid (for zebra stuff) and it just hangs. When you add -d you can see that it's asking for show version and write term, but it still hangs. When I copy / paste the commands and run them by hand with clogin, I see it login but it just hangs after terminal length 0 When I login via ssh with the same command line that clogin passes, terminal length 0 works fine and so do the rest of the commands. I'm stumped, does anybody have any ideas? This however does work for my CentOS servers running quagga. I'm using Quagga 0.99.22.3, and Rancid 2.3.6, which is the most recent RANCID version on CentOS and the most recent Quagga on FreeBSD. ~rancid/.cloginrc: add method *.example.net ssh add autoenable *.example.net {1} add user *.example.net rancid add password *.example.net {} (I'm using ssh keys and it's called id_rsa so that works fine). router.db: ur01.example.net:zebra:up ns1.example.net:zebra:up Thanks in advance, -- Eric Martin
Wild guess - is it using an ssh command that doesn't allocate a tty? Frank Sweetser fs at wpi.edu | For every problem, there is a solution that Manager of Network Operations | is simple, elegant, and wrong. Worcester Polytechnic Institute | - HL Mencken On 3/7/2014 4:16 PM, Eric Martin wrote:
Hi All,
I recently fired up a few FreeBSD routers using Quagga, and today I went to configure RANCID but I'm having some troubles.
RANCID is working fine for my Juniper gear, my Cisco gear and even my APC stuff but I can't get it to work for quagga.
I run zrancid (for zebra stuff) and it just hangs. When you add -d you can see that it's asking for show version and write term, but it still hangs. When I copy / paste the commands and run them by hand with clogin, I see it login but it just hangs after
terminal length 0
When I login via ssh with the same command line that clogin passes, terminal length 0 works fine and so do the rest of the commands. I'm stumped, does anybody have any ideas? This however does work for my CentOS servers running quagga.
I'm using Quagga 0.99.22.3, and Rancid 2.3.6, which is the most recent RANCID version on CentOS and the most recent Quagga on FreeBSD.
~rancid/.cloginrc: add method *.example.net <http://example.net> ssh add autoenable *.example.net <http://example.net> {1} add user *.example.net <http://example.net> rancid add password *.example.net <http://example.net> {} (I'm using ssh keys and it's called id_rsa so that works fine).
router.db: ur01.example.net:zebra:up ns1.example.net:zebra:up
Thanks in advance, -- Eric Martin
_______________________________________________ Wlug mailing list Wlug@mail.wlug.org http://mail.wlug.org/mailman/listinfo/wlug
participants (2)
-
Eric Martin
-
Frank Sweetser