All Questions
2
questions
1
vote
1
answer
2k
views
Expect script for telnet communication with DLink router
I am trying to connect to my router through telnet using this script:
#!/usr/bin/expect -f
set timeout 20
# router user name
set name "admin"
# router password
set pass "admin"
# router IP ...
0
votes
1
answer
2k
views
Trying to reboot ADSL modem via expect script
I'm trying to create a Linux script which can reboot my ASDL Modem.
Here is my rebootModem.exp file :
#!/usr/bin/expect
set userName admin
set pass admin
set command reboot #It is modem reboot ...