What is the best way to start/stop/monitor PPP connections?
What is the best way to start/stop/monitor PPP connections?
- Subject: What is the best way to start/stop/monitor PPP connections?
- From: Dave Camp <email@hidden>
- Date: Fri, 30 Jan 2004 15:11:18 -0800
I'm working on an update to an ISP aggregator application (you tell it
what city you are in and it automatically configures your network and
modem settings for you) and I'm looking for a better way of starting,
stopping, and getting PPP connection information.
Presently, we install all of our settings in a new Location with
MoreSCF and use OT to start and stop the connection. We also gather
dialing and connection status information from OT as well. We have
encountered a number of problems including:
- OT does not report back a number of conditions we would like to
handle such as busy phone numbers.
- The internal modem seems to need some unknown amount of time to wake
up and be usable on the first dial once we make our Location active. By
that I mean that if you wake up an iBook, make our location active, and
click our Connect button (which uses OTIoctl( I_OTConnect) to start the
connection), it will fail with an I/O error. If we wait a few seconds
after making making our set active, but before starting the connection,
it works as expected. The amount of time we have to wait seems to vary
by hardware model (white iBooks needing seconds to avoid the error).
Since use of OT is being discouraged on OS X, I was wondering what the
recommended way of managing PPP connections was these days.
Thanks,
Dave
---
Among the chief weapons of UNIX: Fear, surprise and ruthless
efficiency.
_______________________________________________
macnetworkprog mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/macnetworkprog
Do not post admin requests to the list. They will be ignored.