Solved

detecting when a modem has connected

Posted on 2000-03-28
5
212 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
Comment Utility
testing, please disregard
0
 
LVL 2

Expert Comment

by:dbusher
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
Exactly what I was looking for. Thanks.
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

744 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

16 Experts available now in Live!

Get 1:1 Help Now