• 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: [SystemConfiguration] How to be informed when the router IP address is available/known
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [SystemConfiguration] How to be informed when the router IP address is available/known


  • Subject: Re: [SystemConfiguration] How to be informed when the router IP address is available/known
  • From: Stéphane Sudre <email@hidden>
  • Date: Wed, 30 May 2012 09:24:48 +0000
  • Acceptlanguage: en-US
  • Thread-topic: [SystemConfiguration] How to be informed when the router IP address is available/known

On May 29, 2012, at 10:55 PM, Allan Nathanson wrote:

>
> On May 29, 2012, at 12:34 PM, Stéphane Sudre <email@hidden> wrote:
>
>>
>> On May 29, 2012, at 5:38 PM, Allan Nathanson wrote:
>>
>> […]
>> It was only watching for this key: SCDynamicStoreKeyCreateNetworkGlobalEntity(kCFAllocatorDefault, kSCDynamicStoreDomainState, kSCEntNetIPv4)
>>
>> Now, I changed it to watch for these keys:
>>
>> SCDynamicStoreKeyCreateNetworkServiceEntity(kCFAllocatorDefault, kSCDynamicStoreDomainState, (CFStringRef)tPrimaryServiceKey,kSCEntNetIPv4)
>> SCDynamicStoreKeyCreateNetworkServiceEntity(kCFAllocatorDefault, kSCDynamicStoreDomainSetup, (CFStringRef)tPrimaryServiceKey,kSCEntNetIPv4)
>>
>> It works better _but_ there's always a point when the Router IP address is not found and from them it never re-appears. ( I repeatedly set/unset the Router text field (and click Apply in the SysPrefs > Network pane).
>
[…] Additional useful data from Allan […]

After further investigation, it looks like the IP address is indeed correctly set all the times. It's the MAC address that I can't retrieve from another part of my code at the time of the notification (which is something I can understand).

Thanks.


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


References: 
 >[SystemConfiguration] How to be informed when the router IP address is available/known (From: Stéphane Sudre <email@hidden>)
 >Re: [SystemConfiguration] How to be informed when the router IP address is available/known (From: Allan Nathanson <email@hidden>)
 >Re: [SystemConfiguration] How to be informed when the router IP address is available/known (From: Stéphane Sudre <email@hidden>)

  • Prev by Date: Re: [SystemConfiguration] How to be informed when the router IP address is available/known
  • Previous by thread: Re: [SystemConfiguration] How to be informed when the router IP address is available/known
  • Index(es):
    • Date
    • Thread