Re: using expect to log into devices

2018-07-21 Thread J Crowe
Have you looked into utilizing Ansible? On Sat, Jul 21, 2018 at 8:22 PM wrote: > On Sun, 22 Jul 2018 00:43:35 +0200, Niels Bakker said: > > Fine as a personal exercise, of course. The inability to download > > modules seems sadistic to me, though. > > And given the adage "Never create a rule

Re: using expect to log into devices

2018-07-21 Thread valdis . kletnieks
On Sun, 22 Jul 2018 00:43:35 +0200, Niels Bakker said: > Fine as a personal exercise, of course. The inability to download > modules seems sadistic to me, though. And given the adage "Never create a rule you can't enforce", I wonder how they enforce it - have to be pretty hardcore to make sure

Re: using expect to log into devices

2018-07-21 Thread Niels Bakker
* sur...@mauigateway.com (Scott Weeks) [Sat 21 Jul 2018, 22:38 CEST]: I had already done this in PERL, but, even though we have PERL, we are not allowed to download modules here. So, I'm redoing it in Expect. I thought someone would say a "oh just and you're done" type of response. Well,

Re: using expect to log into devices

2018-07-21 Thread Scott Weeks
--- ler...@gmail.com wrote: From: Lee > I have a file with 1000s of devices and another file > with a list of commands. The program issues all > commands for a device and then moves on to the next > one using nested loops. In the debug I see the > "spawn_id expNN" (where NN is a number that,

Re: using expect to log into devices

2018-07-21 Thread Lee
On 7/20/18, Scott Weeks wrote: > > I have looked extensively on the web for an answer > and cannot find one, so I come to you guys. I am > not allowed to use modules in PERL or Python or I > wouldn't have to do it this way. I have to do this > all in Expect and I am a newbie at it. > > Also,

Re: using expect to log into devices

2018-07-21 Thread Scott Weeks
--- jwbens...@gmail.com wrote: From: James Bensley :: Do you need to write this yourself, No, but I'm tired of being a coding wussie, so this is 1) an exercise for me in getting better at it and 2) I want it to read a list of machines from one file and execute a list of commands from

Re: using expect to log into devices

2018-07-21 Thread James Bensley
Do you need to write this yourself, I've used this expect script too many times such that I should be ashamed...It "just works": https://sourceforge.net/projects/cosi-nms/files/ciscocmd/ Cheers, James.

Re: Proving Gig Speed

2018-07-21 Thread Stephen Satchell
On 07/20/2018 11:22 PM, Scott Weeks wrote: > Oops, failure to communicate... They folks on the > eyeball end have consumer grade satellite internet > with VSATs in their yard. Thus my CDN in the > satellite joke. That idea would work better with a constellation of LEO satellites, as opposed

Re: Proving Gig Speed

2018-07-21 Thread Mark Tinka
On 21/Jul/18 08:22, Scott Weeks wrote: > > Oops, failure to communicate... They folks on the > eyeball end have consumer grade satellite internet > with VSATs in their yard. Thus my CDN in the > satellite joke. Ah, got you :-). Well, if the earth station on the other side is in a

Re: Proving Gig Speed

2018-07-21 Thread Scott Weeks
--- mark.ti...@seacom.mu wrote: On 20/Jul/18 21:37, Scott Weeks wrote: > Could you explain that? Do you mean logically > near the ground stations? I mean physically in the ISP's backbone. -- Oops, failure to communicate... They folks on the

Re: Proving Gig Speed

2018-07-21 Thread Mark Tinka
On 20/Jul/18 21:37, Scott Weeks wrote: > Could you explain that? Do you mean logically near the > ground stations? I mean physically in the ISP's backbone. They would use the satellite link for cache-fill, but then deliver content locally. This should speed things up a great deal. Having