| Forum Home | ||||
| Press F1 | ||||
| Thread ID: 30691 | 2003-02-27 21:37:00 | telnet scripts | yang11 (170) | Press F1 |
| Post ID | Timestamp | Content | User | ||
| 124569 | 2003-02-27 21:37:00 | hey there, how can I use telnet with an answer file in w2k? I know ftp can accept file input . Is there anyway to do it with telnet? like telnet 192 . 168 . 1 . 254 < rboot . txt . many thanks in advance . |
yang11 (170) | ||
| 124570 | 2003-02-28 00:11:00 | Try "telnet /?" to see what options it allows. A command file is likely to be implemented as an option, rather than redirection of the standard input channel. I suspect it's unlikely: telnet is meant for running interactive sessions remotely, but I don't know it all. :D |
Graham L (2) | ||
| 124571 | 2003-02-28 00:54:00 | Excuse me asking... what are you trying to do? | Dolby Digital (160) | ||
| 124572 | 2003-02-28 01:00:00 | You can do it in *nix, with the "expect" utility; this involves running telnet from inside a shell script. It's messy, but it does work. If you have a look with google ("telnet script" gets some links), you might find something. A guy at westga.edu made a programme to drive telnet from w3.1 (www.westga.edu). |
Graham L (2) | ||
| 124573 | 2003-02-28 21:42:00 | I just try to restart my dynalink router 210 on a timed basis to get a new ip address. coz telecom is said to have put something strange on my jetstart line ( in a bid to stop user setting up server), that router will just lockup. I have to push the power button to recover. that used to happen once a week. now happens very often. of coz, i used google to search for some scripts. no luck. someone mentioned secureCRT, but that also needs scripts. look like I need learn some VB programming again. |
yang11 (170) | ||
| 124574 | 2003-03-01 01:20:00 | Can you connect to the router via telnet to reboot it (thats me being ignorant!) Actually I wanted to do an ftp session via a script so I ended up with a GPL version of ftp. | Dolby Digital (160) | ||
| 124575 | 2003-03-01 02:24:00 | Plug it into a timeswitch which turns it off briefly in the middle of the night. :D Don't knock hardware fixes. I've actually done this. Worked like a dream. |
Graham L (2) | ||
| 1 | |||||