 |
 |
 |
 |
| | I couldn't get the expect scripts to work. Errors trying to set the variables at the start. I notice this is quite an old post, maybe doesnt work with new version. |
|
 |
| try lrange instead of lindex:
set password [lrange $argv 0 0]
set ipaddr [lrange $argv 1 1] |
|
 |
| | I'm trying to use this to login to approx 600 routers, give the same command on each one, get the results and store the results for each one in a unique file based on its ip/hostname. But each router will have a different prompt (of their hostname). Any idea how to do this? |
|
 |
| in the sample above, expect "Password:" could have also been coded as expect "word:"
Hopefully there is something consistent about the last prompt character that you could key on...
another thought... use the uname command to add a consistent character to the prompt?
|
|
 |
| You need a "\r" in the send command. i.e.:
send "$Password\r" |
|
 |
| |
 |
| | I'm trying to use this to login to approx 600 routers, give the same command on each one, get the results and store the results for each one in a unique file based on its ip/hostname. But each router will have a different prompt (of their hostname). online games |
|
 |
| | Everything here ties in strongly to the current state of the anti-spyware economy. It's clear that norton 360 3.0 2 year subscription coupon codes and voucher codes are the best way to save money these days on the internet. It's becoming increasingly clear that free downloading of pc tools is a major element when assessing the money saving value of PC Tools Anti Spyware. The same concerns come into play with the coupon codes and symantec norton 360 antivirus voucher codes seen in Norton 360 3.0 Voucher which is why saving money with coupon codes and voucher codes is so important these days for pc tools promotional discounts with norton 360. Make sure to consider resource discount voucher before going. |
|
 |
|
Thank you, you answered the question I have been searching for which was whether or not to place keywords when blog commenting.. <a href="http://www.hayda.net" title="mirc, cinsel sohbet, cinsellik, chat">mirc</a> . <a href="http://www.hayda.net" title="mirc, cinsel sohbet, cinsellik, chat">chat</a> . <a href="http://www.hayda.net" title="mirc sohbet, mirc, cinsel sohbet, cinsellik, chat">mirc sohbet</a>. <a href="http://www.hayda.net" title="chat sohbet, mirc, cinsel sohbet, cinsellik, chat">chat sohbet</a> . <a href="http://www.hayda.net" title="mirc, cinsel sohbet, cinsellik, chat">cinsel sohbet</a> . <a href="http://www.hayda.net" title="cinsellik sohbet, mirc, cinsel sohbet, cinsellik, chat">cinsellik sohbet</a> . <a href="http://www.hayda.net" title="mirc indir, mirc, cinsel sohbet, cinsellik, chat">mirc indir</a> . <a href="http://www.hayda.net" title="ask sohbet, mirc indir, mirc, cinsel sohbet, cinsellik, chat">ask sohbet</a> . <a href="http://www.hayda.net" title="sicak sohbet, mirc indir, mirc, cinsel sohbet, cinsellik, chat">sicak sohbet</a> . |
|
 |
|
Thank you, you answered the question I have been searching for which was whether or not to place keywords when blog commenting.. http://www.hayda.net/ |
|
 |
| |
 |
|
Your blog is very nice. I m really impressed .I m waiting for your next post. Hopefully I will get it soon.
Printing |
|
 |
| |
 |
 |
 |
 |
Anonymously add a comment: (or register