?
Solved

detecting when a modem has connected

Posted on 2000-03-28
5
Medium Priority
?
219 Views
Last Modified: 2010-04-20
question title says it all really. basically i'd just like to know if there is a way to detect when the modem has finished "talking" to the modem on the other end of the line, and if there is, how to do it.
0
Comment
Question by:dwatling
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
5 Comments
 

Expert Comment

by:moheynow
ID: 2665431
testing, please disregard
0
 
LVL 2

Expert Comment

by:dbusher
ID: 2665688
I am not sure if you mean Linux connecting to host or host connecting to Linux; But, in Linux if you issue the command ifconfig at a terminal prompt. You should find the ppp0 device listed in the output. It may look something like this:
ppp0      Link encap:Point-to-Point Protocol
      inet addr:204.192.67.100      P-t-P:204.91.204.91
Mask:255.255.255.0
      UP POINTOPOINT      RUNNING      MTU:1500 Metric:1
      RX packets:492  errors:0  dropped:0  overruns:0
      TX packets:682  errors:0  dropped:0  overruns:0

If you only so the loop back (lo) then you have not connected.
0
 

Author Comment

by:dwatling
ID: 2670337
that is what i meant, checking to see when linux has finished connecting to a remote host.

are there any other methods that might work? maybe a newly created file perhaps?

0
 
LVL 1

Accepted Solution

by:
Barn_Owl earned 200 total points
ID: 2676849
You could but an echo in the ip-up file as this file is only read after a successful session start. Or just DL a ppp monitor for your favorite window manager. For WM I like WMppp
0
 

Author Comment

by:dwatling
ID: 2685149
Exactly what I was looking for. Thanks.
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

rdate is a Linux command and the network time protocol for immediate date and time setup from another machine. The clocks are synchronized by entering rdate with the -s switch (command without switch just checks the time but does not set anything). …
I am a long time windows user and for me it is normal to have spaces in directory and file names. Changing to Linux I found myself frustrated when I moved my windows data over to my new Linux computer. The problem occurs when at the command line.…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Suggested Courses
Course of the Month12 days, left to enroll

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question