[rancid] Custom Device Login File (mrvlogin)
Gil
gilya at cellcom.co.il
Tue Jun 4 14:51:19 UTC 2013
john heasley <heas <at> shrubbery.net> writes:
>
> > expect: does "" (spawn_id exp6) match regular expression "^[^\n\r
> > *]*InReach:0 ([^#>\r\n]+)?>(\([^)\r\n]+\))?"? no
> >
> > "[\n\r]+"? no
> >
> > expect: read eof
> >
> > expect: set expect_out(spawn_id) "exp6"
> >
> > expect: set expect_out(buffer) ""
> >
> > write() failed to write anything - will sleep(1) and retry...
> >
>
> you've tried to write to a dead/closed pty.
> _______________________________________________
> Rancid-discuss mailing list
> Rancid-discuss <at> shrubbery.net
> http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
>
>
Hi ,
I created a new file rancid with commands for mrv Os-9xx
When I try :
[rancid at nms-rancid bin]mrvlogin cust-52428-os912dc2-1
The process is fine …
cust-52428-os912dc2-1
spawn telnet cust-52428-os912dc2-1
Trying 172.20.101.16...
Connected to cust-52428-os912dc2-1.
Escape character is '^]'.
************************************************
*you are connection to CUST-CL52428-OS912DC2-sw-1*
*unauthorized access is strictly prohibited ****
************************************************
CUST-CL52428-OS912DC2-sw-1 login: admin
Password:
Last login: Tue Jun 4 17:29:27 2013 on pts/0
ATTENTION: LOGOUT timeout is set to 20 min.
CUST-CL52428-OS912DC2-sw-1>
In this stage when I need to enter a command there is no response !!!
CUST-CL52428-OS912DC2-sw-1>show clock
(nothing happened)
sh
sdfgsdfg
gdgdfg
hfghfgh
fghfh
^C or Error: TIMEOUT reached
Do someone familiar with this problem ?
Any ideas ?
More information about the Rancid-discuss
mailing list