Posts by Andre Brancalion • 1 point
2 posts
-
0
votes1
answer190
viewsA: Add expect variable
~#!/usr/bin/expect set timeout 20 set ip [lindex $argv 0] set mac [lindex $argv 1] set desc [lindex $argv 2] spawn telnet $ip expect "User:" send "user\r" expect "Password:" send "password\r" expect…
-
0
votes1
answer190
viewsQ: Add expect variable
I would like to create a shell script connecting on the controller SPECK to insert the macAddres of customers, using expect, I really need to create a script to automate the process. Variables…