Using a semicolon as the deliminator caused running the dlogin script manually to work. Its still not working when called from rancid-run though.<br><br>I did find something in the log file that reveals the problem:<br><br>
<div style="margin-left: 40px;">unknown router manufacturer for a1.aus: dell<br></div><br>So... I'm guessing this is because I didn't install drancid/dlogin correctly. How do I let rancid-run know about the newly installed manufacturer (and corresponding scripts)?<br>
<br>-Josh<br><blockquote style="margin: 1.5em 0pt;"></blockquote><br><br><div class="gmail_quote">On Thu, Jun 4, 2009 at 3:29 PM, Austin Schutz <span dir="ltr"><<a href="mailto:tex@off.org">tex@off.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">On Wed, 3 Jun 2009 17:41:39 -0500<br>
<div class="im">Temporary Mailbox <<a href="mailto:2009@tybox.net">2009@tybox.net</a>> wrote:<br>
<br>
> I didn't realize that is how logind takes arguments. When I tested,<br>
> it did not replace the , with a \n:<br>
><br>
> TW-G-6024-1# show version,show running-config,show vlan<br>
> % Unrecognized command<br>
><br>
> So... is this exactly how rancid is calling dlogin?<br>
><br>
> If so, I'm guessing I need to look at how to do a "s/,/\n/g" on the -c<br>
> argument of dlogin ?<br>
><br>
> -Josh<br>
><br>
> On Wed, Jun 3, 2009 at 5:15 PM, Austin Schutz <<a href="mailto:tex@off.org">tex@off.org</a>> wrote:<br>
><br>
> > On Wed, 3 Jun 2009 14:01:13 -0500<br>
> > Temporary Mailbox <<a href="mailto:2009@tybox.net">2009@tybox.net</a>> wrote:<br>
> ><br>
> > > I'm attempting to set up the dell extension found at<br>
> > > <a href="http://www.rickyninja.net/rancid/" target="_blank">http://www.rickyninja.net/rancid/</a><br>
> > ><br>
> > > Everything seems to work fine when logging in with dlogin:<br>
> > ><br>
> > > $ sudo -u www /opt/local/libexec/rancid/dlogin -autoenable -u<br>
> > > Engineer -p <snip> -c "show version" 10.13.8.1<br>
> ><br>
> > I would try dlogin -c "show version,show running-config,show vlan"<br>
> ><br>
<br>
</div>My mistake: This should be:<br>
<div class="im"><br>
-c "show version;show running-config;show vlan"<br>
<br>
</div>the separator is ';', not ','.<br>
<font color="#888888"><br>
Austin<br>
</font></blockquote></div><br>