home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.questions
- Path: sparky!uunet!haven.umd.edu!darwin.sura.net!convex!news.utdallas.edu!corpgate!brtph560!bnr.ca!trice
- From: trice@bnr.ca (Tony Rice P885)
- Subject: passing to an open TELNET session
- Message-ID: <1992Jul29.135821.28197@brtph560.bnr.ca>
- Keywords: telnet, UNIX, modem, script
- Sender: news@brtph560.bnr.ca (Usenet News)
- Organization: Bell-Northern Research, BNR-RTP
- Distribution: usa
- Date: Wed, 29 Jul 1992 13:58:21 GMT
- Lines: 25
-
-
- 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"| |
- \--------------------------------------------------------------------------/
-