Jump to content

telnet on mac


4 posts in this topic

Recommended Posts

hi frnds

i need to put telnet commands on a schedule for every hour.basically i have to restart my router(192.168.1.1) every hour and just wait for it for asking the username and password before telling it to reboot.if someone could plz throw some light on how telnet commands can be automated,that would be helpful.here is what i do in windows :

 

 

192.168.1.1 23

WAIT "login"

SEND "......\m" (enter your login ID here)

WAIT "Password"

SEND "......\m" (enter your password here)

WAIT "#"

SEND "reboot\m"

WAIT "#"

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

×
×
  • Create New...