• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: DHCP and URL Access on Mac OS X 10.1.2+
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: DHCP and URL Access on Mac OS X 10.1.2+


  • Subject: Re: DHCP and URL Access on Mac OS X 10.1.2+
  • From: Chris Hanson <email@hidden>
  • Date: Mon, 29 Apr 2002 18:47:21 -0500

At 9:37 AM +0100 4/18/02, Quinn wrote:
You can get this sort of notification using System Configuration framework's dynamic store APIs.

Any recommendations about how to do this? It's nonobvious what and how I should be watching. Playing around with scutil I find if I add a notification on "State:/Network/Interface/<device name>/IPv4" and then watch notifications, it gets updated whenever I change the location via the Location menu in the Apple menu. But I'm not sure how I would do that via the API, or if it's even really the right thing to watch. (It seems to change immediately, and then change again a few seconds later.)

I really just need to know when a particular device in a location is fully configured via DHCP.

I was able to work around the issue with URL Access by continually retrying until it returns something other than 1, but now I'm running into an issue with Internet Explorer where it won't resolve a name for a couple seconds after the location changes. In the meantime I can revert to some older, working code that just runs scutil to do its dirty work, but I'm worried that it's just working by chance and will start to mysteriously fail in the future.

-- Chris

--
Chris Hanson | Email: email@hidden
bDistributed.com, Inc. | Phone: +1-847-372-3955
Mac OS X & WebObjects Consulting | Fax: +1-847-589-3738
http://bdistributed.com/ | Personal Email: email@hidden
_______________________________________________
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.

References: 
 >DHCP and URL Access on Mac OS X 10.1.2+ (From: Chris Hanson <email@hidden>)
 >Re: DHCP and URL Access on Mac OS X 10.1.2+ (From: Quinn <email@hidden>)

  • Prev by Date: Re: Setting which 802.11b network to connect to?
  • Next by Date: Re: (OT) Outlook Express email setup
  • Previous by thread: Re: DHCP and URL Access on Mac OS X 10.1.2+
  • Next by thread: PAP not working in X
  • Index(es):
    • Date
    • Thread