home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.dcom.modems:11379 comp.unix.misc:3041 comp.unix.shell:3179
- Path: sparky!uunet!dtix!darwin.sura.net!convex!news.utdallas.edu!corpgate!brtph560!bnr.ca!trice
- From: trice@bnr.ca (Tony Rice P885)
- Newsgroups: comp.dcom.modems,comp.unix.misc,comp.unix.shell
- Subject: passing stuff to an open telnet session
- Keywords: telnet, unix, question, problem, modem
- Message-ID: <1992Jul29.141726.28698@brtph560.bnr.ca>
- Date: 29 Jul 92 14:17:26 GMT
- Sender: news@brtph560.bnr.ca (Usenet News)
- Distribution: usa
- Organization: Bell-Northern Research, BNR-RTP
- Lines: 23
-
-
- I am trying to automate something using telnet and am having troubles.
-
- I would like to telnet to a modem hanging off of our LAN, dial a number
- and hang up. The problem is once I connect, using TELNET, to this modem
- telnet goes into an interactive mode which makes things like:
-
- cat "atdt 9,555121" | telnet <modem address>
- or
- telnet <modem address> < echo "atdt 9,5551212"
-
- not work at all. Even putting the connection command (open <modem address>)
- a file with the atdt command and redirecting or piping that does not work.
-
- Any ideas on how to pass stuff to an open telnet session?
-
- /--------------------------------------------------------------------------\
- |Tony Rice | Disclaimer: Opinions are my own |
- |System Development Environment Support | not that of BNR or |
- |BNR, Research Triangle Park | Northern Telecom |
- | ______|______ |
- |internet: trice@bnr.ca |"Go Hokies"| |
- \--------------------------------------------------------------------------/
-