LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-01-2006, 01:48 PM   #1
tzpow2k2
LQ Newbie
 
Registered: Jun 2006
Posts: 23

Rep: Reputation: 15
What does echo atdt7671234 do??


I have a US Robotics external serial modem.
Well let me tell you. In minicom I configured the serial port to /dev/ttyS0. Thats where the modem is. In Minicom, I type echo atdt2837888 it rings and I pick up the phone and it hangs up after 3 seconds. It never goes beyond 3 seconds. 2837888 is my cell phone and it has very good signal at home. In the terminal I type echo atdt2837888 > /dev/ttyS0 the modem sends a click sound and nothing happens. I look at the hareware manager I could not find the modem. Is there something that I have to configure in order to get this external serial modem to work? Basical I just want to type echo atdt2837888 > /dev/ttyS0 in terminal and if my phone rings i am ok. Do you know?
 
Old 08-02-2006, 11:41 AM   #2
blackhole54
Senior Member
 
Registered: Mar 2006
Posts: 1,896

Rep: Reputation: 61
Quote:
Originally Posted by tzpow2k2
In minicom I configured the serial port to /dev/ttyS0. Thats where the modem is. In Minicom, I type echo atdt2837888 it rings and I pick up the phone and it hangs up after 3 seconds. It never goes beyond 3 seconds.
I assume you meant you typed atdt2837888 into minicom w/o the "echo." The fact that it dialed and rang your phone would indicate you successfully talked to your modem and it was working. It probably hung up because there was not a modem at the other end.

You can probably echo the atdt command to /dev/ttyS0 as root and get it to work, but there might be complications. Programs like minicom and pppd set a bunch of parameters for the serial line. When you use the echo command you will have to set these manually with the program stty. Also be aware that a long time ago when I played around doing what you were talking about, I sometimes seriously hosed the serial line. I never knew why.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
BASH: How to NOT echo to screen with "if echo $x | grep ".*"; then" eur0dad Programming 9 07-27-2006 03:14 PM
Kphone echo (echo echo) scabies Linux - Software 0 10-18-2004 03:59 PM
echo chrismiceli Linux - General 4 04-09-2003 06:25 PM
Echo /devPrinting doesn't work, echo /usb/lp0 works, Testpage works, Printing doesn't Hegemon Linux - General 3 08-15-2002 02:13 PM
Echo linux_freak Linux - General 1 06-05-2001 03:25 PM


All times are GMT -5. The time now is 11:50 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration