[rancid] Re: Rancid New Router Type

john heasley heas at shrubbery.net
Thu Apr 16 21:42:34 UTC 2009


Thu, Apr 16, 2009 at 10:19:16PM +0100, Rhys Evans:
> Hi 
> 
> Firstly thanks for the responses. I agree with some of the points raised mainly the naming of the files, I will look at doing this once
> I have this working. I have run the following command (output is shown below)
> 
> env NOPIPE=y PATH=${PATH}:/usr/local/libexec/rancid drancid -d 79.14.24.56
> 
> Let me know what you think
> 
> Thanks
> 
> ++++++++++++++++++++++++++++++++++++
> Screen
> 
> [rancid at ran01 ~]$ env NOPIPE=y PATH=${PATH}:/usr/local/libexec/rancid drancid -d 79.14.24.56
> executing dlogin -t 30 -c"sys version;sys iface" 79.14.24.56
> 79.14.24.56: missed cmd(s): sys version,sys iface
> 79.14.24.56: missed cmd(s): sys version,sys iface
> [rancid at ran01 ~]$
> 
> +++++++++++++++++++++++++++++++++++++
> 
> ++++++++++++++++++++++++++++++++++++
> 79.14.24.56.raw
> 
> 79.14.24.56
> spawn telnet 79.14.24.56
> Trying 79.14.24.56...
> Connected to 79.14.24.56 (79.14.24.56).
> Escape character is '^]'.
> 
> 
> Password: **********
> 
> Type ? for command help
> 
> > 
> > 
> > sys version
> Router Model: Vigor3100 series    Version: v2.7.1 English
> Profile version: 0x2    Status: 1 (0xcd0a7a2)
> Router IP: 192.168.2.1    Netmask: 255.255.255.0
> Firmware Build Date/Time: Wed Nov 29 16:32:4.45 2006
> Revision: 173 
> ADSL Firmware Version: R308_1  Annex B
> 
> > sys iface
> Interface 0 Ethernet:  
> Status: UP  
> IP Address: 192.168.2.1       Netmask: 0xFFFFFF00 (Private)
> IP Address: 79.14.24.56      Netmask: 0xFFFFFFF8  
> MAC: 00-50-7F-B7-5C-C8   
> Interface 3 PPPoE:  
> Status: UP  
> IP Address: 78.141.28.17      Netmask: 0xFFFFFFFF  
> MAC: 00-50-7F-B7-5C-C9   
> > quitConnection closed by foreign host.
> 
> ++++++++++++++++++++++++++++++++++++
> 
> ++++++++++++++++++++++++++++++++++++
> 79.14.24.56.new
> 
> !RANCID-CONTENT-TYPE: draytek
> !
> !
> !
> !
> !
> 
> +++++++++++++++++++++++++++++++++++++

its missing the prompt.  i'd expect something like

% *rancid -d ...
blahblah
PROMPT MATCH: prompt
HIT COMMAND:prompt command
	...


More information about the Rancid-discuss mailing list