[rancid] Re: Problems with Dell Extension

Jeremy Singletary jeremys at rickyninja.net
Wed Jun 3 20:14:18 UTC 2009


What happens if you run dlogin from the command line with a switch
command that will produce more than a page of output?  Try dlogin with
the show running-config command (assuming there's more than one page of
ocnfig), and let me know if it hangs.

-jeremy

On 06/03/09, Temporary Mailbox <2009 at tybox.net> said:
> 
>    I'm   attempting   to   set   up   the   dell   extension   found   at
>    [1]http://www.rickyninja.net/rancid/
>    Everything seems to work fine when logging in with dlogin:
>    $ sudo -u www /opt/local/libexec/rancid/dlogin -autoenable -u Engineer
>    -p <snip> -c "show version" 10.13.8.1
>    10.13.8.1
>    spawn telnet 10.13.8.1
>    Trying 10.13.8.1...
>    Connected to 10.13.8.1.
>    Escape character is '^]'.
>    04-Jun-2009  02:12:41  %MSCM-I-NEWTERM:  New  TELNET  connection  from
>    10.75.224.12
>    User Name:Engineer
>    Password:**********
>    TW-G-6024-1#
>    TW-G-6024-1#  show version
>    SW version    1.0.2.07 ( date  21-Nov-2003 time  09:58:38 )
>    Boot version    1.0.0.13 ( date  13-Aug-2003 time  15:28:31 )
>    HW version    00.01.64
>    TW-G-6024-1#eConnection closed by foreign host.
>    However, when I set up cloginrc:
>    #CTX
>    add autoenable 10.13.* 1
>    add method 10.13.* telnet
>    add password 10.13.* Engineer <snip>
>    and router.db:
>    10.13.8.1:dell:up
>    It doesn't seem to work when running rancid manually:
>    $ sudo -u www /opt/local/bin/rancid-run GROUP -r 10.13.8.1
>    Trying to get all of the configs.
>    opened     network     stream     from     10.13.8.1    if    ()    at
>    /opt/local/libexec/rancid/drancid line 266.
>    found_end = 0, clean_run = 0
>    10.13.8.1 dlogin error: Error: Connection closed (telnet): 10.13.8.1
>    [2]10.13.8.1:  missed  cmd(s):  show  version,show running-config,show
>    vlan
>    [3]10.13.8.1: End of run not found
>    !
>    The error in the log isn't really revealing.
>    I installed rancid from macports, this is in the header of rancid-run:
>    ## $Id: [4]rancid-run.in,v 1.30 2004/03/12 23:17:28 heas Exp $
>    I  really  appreciate  any support/ideas/help anyone can offer to help
>    figure this out.
>    -Josh
> 
> References
> 
>    1. http://www.rickyninja.net/rancid/
>    2. http://10.13.8.1/
>    3. http://10.13.8.1/
>    4. http://rancid-run.in/

> _______________________________________________
> Rancid-discuss mailing list
> Rancid-discuss at shrubbery.net
> http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss


More information about the Rancid-discuss mailing list