• 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
new network service not visible in System Prefrences
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

new network service not visible in System Prefrences


  • Subject: new network service not visible in System Prefrences
  • From: "Pavel Hlavnicka" <email@hidden>
  • Date: Wed, 13 Aug 2008 22:47:35 +0200

Dear all,

in my utility I'm using system configuration API to create a new network service (PPP). I'm using SCPreferences and SCPreferencesPath set of API to create a new service in the persistent store, then I user this API to create a __LINK__ from the current set. The whole service is defined in one big dictionary - so I use just one set value not atomic API for service creation.

After I create the service and link it into the current set/location all seems be fine BUT System Preferences.app does not display this service. It lasts even after reboot etc. Any check I do for consistence of the persistent store seems be fine. Even the modem status icon in the menu bar is aware of the new service... BUT System Preferences.

Any clue what I'm missing? Do I need to do something special outside the persistent store or...?

what I do in detail is (on 10.5.4)

- create the preferences session
- lock the session
- create new unique path
- store CFDictionaryRef with the whole service to the store
- create link in surrent set
- commit
- unlock
- apply
- release session

Thanks

Pavel
 _______________________________________________
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

  • Prev by Date: Raw socket behavior in OS/X 10.5... "Invalid argument"?
  • Next by Date: Network kernel stack TODOLIST
  • Previous by thread: Re: Raw socket behavior in OS/X 10.5... "Invalid argument"?
  • Next by thread: Network kernel stack TODOLIST
  • Index(es):
    • Date
    • Thread