detecting when a modem has connected

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.
Who is Participating?
Barn_OwlConnect With a Mentor Commented:
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
testing, please disregard
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:      P-t-P:
      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.
dwatlingAuthor Commented:
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?

dwatlingAuthor Commented:
Exactly what I was looking for. Thanks.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.