Discussion:
[rancid] Applying Expect Patch Manually
m***@softhome.net
2009-11-27 18:30:30 UTC
Permalink
Hello,

Please excuse this mail if this has been answered before, but I have
completed a new rancid install and only need to apply the expect patch
(running on Linux).

Could someone please provide the syntax to apply the patch manually?

I'm running expect 5.43 on CentOS.



Thank you,
Mario
m***@softhome.net
2009-12-01 14:28:45 UTC
Permalink
Thanks.

Ok, I couldn't work out how to correctly patch the already-installed expect
5.43.0-5.1, so I uninstalled it and tcl 8.4.13-4.el5 and used the
pre-patched versions from your FTP site.

They both seemed to compile and install fine.

Unfortunately I am still have a 'freezing' with two CISCO 800 devices. I
have 3 catalyst switches (4948 and 3750) and two routers (2811) which work
fine.

The only difference with the CISCO 800 is that there is a <username>
<password> to login rather than simply a <password>.


The log file from rancid-run shows:
clogin error: Error: TIMEOUT reached
.....
<cisco-800>: End of run not found


A clogin test shows:

./clogin <cisco-800>
<cisco-800>

spawn telnet <cisco-800>
Trying 172.16.11.1...
Connected to <cisco-800> (172.16.11.1).
Escape character is '^]'.


User Access Verification

Username: administrator
Password:

<cisco-800>#

and then it just stays there. I thought that maybe it was the expect bug
mentioned on your website, but it seems the freeze is still happening.


Could someone advise on what to check next?


Mario
Post by m***@softhome.net
Hello,
Please excuse this mail if this has been answered before, but I have
completed a new rancid install and only need to apply the expect patch
(running on Linux).
Could someone please provide the syntax to apply the patch manually?
see patch(1).
Post by m***@softhome.net
I'm running expect 5.43 on CentOS.
Thank you,
Mario
_______________________________________________
Rancid-discuss mailing list
http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
m***@softhome.net
2009-12-01 14:40:44 UTC
Permalink
Scratch the post below, I just read a reply to someone else's post and the
solution was there (I had to autoenable <device name>).


Regards and thanks,
Post by m***@softhome.net
Thanks.
Ok, I couldn't work out how to correctly patch the already-installed expect
5.43.0-5.1, so I uninstalled it and tcl 8.4.13-4.el5 and used the
pre-patched versions from your FTP site.
They both seemed to compile and install fine.
Unfortunately I am still have a 'freezing' with two CISCO 800 devices. I
have 3 catalyst switches (4948 and 3750) and two routers (2811) which work
fine.
The only difference with the CISCO 800 is that there is a <username>
<password> to login rather than simply a <password>.
clogin error: Error: TIMEOUT reached
.....
<cisco-800>: End of run not found
./clogin <cisco-800>
<cisco-800>
spawn telnet <cisco-800>
Trying 172.16.11.1...
Connected to <cisco-800> (172.16.11.1).
Escape character is '^]'.
User Access Verification
Username: administrator
<cisco-800>#
and then it just stays there. I thought that maybe it was the expect bug
mentioned on your website, but it seems the freeze is still happening.
Could someone advise on what to check next?
Mario
Post by m***@softhome.net
Hello,
Please excuse this mail if this has been answered before, but I have
completed a new rancid install and only need to apply the expect patch
(running on Linux).
Could someone please provide the syntax to apply the patch manually?
see patch(1).
Post by m***@softhome.net
I'm running expect 5.43 on CentOS.
Thank you,
Mario
_______________________________________________
Rancid-discuss mailing list
http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
_______________________________________________
Rancid-discuss mailing list
http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
Loading...