Solved

detecting when a modem has connected

Posted on 2000-03-28
5
213 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
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 50 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Virtual Box issue 6 83
Oracle 12c patching 1 60
Using init script with Systemd: need help crafting unit file 11 77
Why isnt it sending mail from my php but is from my server 10 35
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. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
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…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

911 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now