hi,
i do a script to router' configuration. It is running on distribution suse and its output is correct. But now, I must run same script on Windows. For this reason I've installed cygwin, but when I run this, the router' configuration doesn't change.
The script is similar to:
#/bin/bash
(echo "routerpass";
echo "routerpass";
echo "enable";
echo "routerpass";
echo "configuration terminal";
...
) | telnet 10.0.9.1
If I do
telnet 10.0.9.1
routerpass
routerpass
enable
routerpass
configuration terminal
...
all it online, it works good but I need a sript. How can I resolve this?
Txs.
i do a script to router' configuration. It is running on distribution suse and its output is correct. But now, I must run same script on Windows. For this reason I've installed cygwin, but when I run this, the router' configuration doesn't change.
The script is similar to:
#/bin/bash
(echo "routerpass";
echo "routerpass";
echo "enable";
echo "routerpass";
echo "configuration terminal";
...
) | telnet 10.0.9.1
If I do
telnet 10.0.9.1
routerpass
routerpass
enable
routerpass
configuration terminal
...
all it online, it works good but I need a sript. How can I resolve this?
Txs.