<div dir="ltr">Judging by that device prompt, it looks like you're trying to login to a Netscreen device. <br><br>So you'll need to use device type netscreen, which uses nrancid and nlogin<br></div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Mon, Jan 14, 2013 at 2:36 PM, Agustin Roca <span dir="ltr"><<a href="mailto:agustin.roca@globant.com" target="_blank">agustin.roca@globant.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><div>Getting Timeout after login.<br><br>rancid]$ jlogin -d -c 'get system version' ar-device<br><br><br>expect: does "Telmex:AR-BADC-FS140-01(M)-> " (spawn_id exp6) match regular expression "(\r\n|\n)"? no<br>
"^[^ ]+>"? yes<br>expect: set expect_out(0,string) "Telmex:AR-BADC-FS140-01(M)->"<br>expect: set expect_out(spawn_id) "exp6"<br>expect: set expect_out(buffer) "Telmex:AR-BADC-FS140-01(M)->"<br>
send: sending "set cli complete-on-space off\r" to { exp6 }<br><br>expect: does " " (spawn_id exp6) match regular expression "Telmex:AR-BADC-FS140-01(M)-[#>]"? no<br>set cli complete-on-space off<br>
^------unknown keyword cli<br>Telmex:AR-BADC-FS140-01(M)-> <br>expect: does " set cli complete-on-space off\r\n ^------unknown keyword cli\r\nTelmex:AR-BADC-FS140-01(M)-> " (spawn_id exp6) match regular expression "Telmex:AR-BADC-FS140-01(M)-[#>]"? no<br>
expect: timed out<br><br>Error: TIMEOUT reached<br>write() failed to write anything - will sleep(1) and retry...<br><br><br></div><div>My cloginrc for that device is:<br>add user ar-* rancid<br>add password ar-* {passwd}<br>
add method * ssh<br>add autoenable ar-* 1<br></div><div><br></div>Any hint will be aprreciated. <br clear="all"><div><div><div><table style="width:100%" cellpadding="0" cellspacing="0" width="100%" border="0">
<tbody><tr><td style="width:97.5pt;background:none repeat scroll 0% 0% white;padding:0cm 15pt 7.5pt" width="130"><p style="text-align:center" align="center"><a href="http://www.globant.com/" target="_blank"><span style="font-size:8.5pt;font-family:"Verdana","sans-serif";color:blue;text-decoration:none"><img src="cid:image001.gif@01CD44D6.7D9661F0" alt="http://www.globant.com/images/globant_130x25.gif" height="25" width="130" border="0"></span></a><span style="font-size:8.5pt;font-family:"Verdana","sans-serif";color:rgb(68,68,68)"></span></p>
</td><td style="border-width:medium medium medium 1pt;border-style:none none none solid;border-color:-moz-use-text-color -moz-use-text-color -moz-use-text-color rgb(203,232,3);background:none repeat scroll 0% 0% rgb(238,238,238);padding:3.75pt 7.5pt 7.5pt 15pt">
<p><b><span style="font-size:8.5pt;font-family:"Verdana","sans-serif";color:rgb(68,68,68)" lang="EN-US">Agustin Roca</span></b><span style="font-size:8.5pt;font-family:"Verdana","sans-serif";color:rgb(68,68,68)" lang="EN-US"><br>
GIST Information Security Analyst<br>CEHv7</span></p><p><span style="font-size:8.5pt;font-family:"Verdana","sans-serif";color:rgb(68,68,68)" lang="EN-US">AR: <a href="tel:%2B54%2011%204109%201700%20ext.%208098" value="+541141091700" target="_blank">+54 11 4109 1700 ext. 8098</a><br>
Mobile: +15 5022 3042<br>
</span><span style="font-size:7.5pt;font-family:"Verdana","sans-serif";color:rgb(68,68,68)"><a href="mailto:agustin.roca@globant.com" target="_blank"><span style="color:rgb(68,68,68);text-decoration:none" lang="EN-US">agustin.roca@globant.com</span></a></span><span style="font-size:8.5pt;font-family:"Verdana","sans-serif";color:rgb(68,68,68)" lang="EN-US"></span></p>
</td></tr><tr><td colspan="2" style="border-width:medium medium 1.5pt;border-style:none none solid;border-color:-moz-use-text-color -moz-use-text-color rgb(102,102,102);background:none repeat scroll 0% 0% rgb(203,232,3);padding:0cm">
<p><span style="font-size:13.5pt;font-family:"Times New Roman","serif""><img src="cid:image002.png@01CD44D6.7D9661F0" alt="http://www.globant.com/images/pxtransp.gif" height="8" width="10" border="0"></span></p>
</td></tr></tbody></table><i>Having the right people is more important than having the right
tools. “Having the right people” requires hiring the right people,
investing in them, and retaining them – three processes we often get wrong.</i><br></div>
</div></div></div>
<br>_______________________________________________<br>
Rancid-discuss mailing list<br>
<a href="mailto:Rancid-discuss@shrubbery.net">Rancid-discuss@shrubbery.net</a><br>
<a href="http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss" target="_blank">http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss</a><br></blockquote></div><br></div>