Re: How to modify dialup number, login and password
Re: How to modify dialup number, login and password
- Subject: Re: How to modify dialup number, login and password
- From: Andreas Monitzer <email@hidden>
- Date: Mon, 8 Oct 2001 20:09:47 +0200
On Monday, October 8, 2001, at 07:41 , Ondra Cada wrote:
Finlay,
Finlay Dobbie (FD) wrote at Mon, 8 Oct 2001 18:15:22 +0100:
FD> You'll need to look at the SystemConfiguration framework, which is a
FD> straight C API
I don't need it now, just am curious: what is this framework needed for?
What kind of configuration fits it?
Currently it handles networking (SCPreferences) and the currently logged
in user & the current networking set (SCDynamicStore).
I was always quite positive that the defaults database and NetInfo between
the pair of them cover pretty much all configuration needs; what have I
overlooked?
Defaults database is used for storing user preferences. Networking cards
are not a user preference (at least in software), same goes for the logged
in user.
The netinfo database is used for storing data which could be shared on the
network (e.g. users, hosts, mount points). Networking MUST not be shared
(everybody the same IP? Doesn't work).
The SystemConfiguration API looks like voodoo first, but after some
days/weeks of using it you realize that SCPreferences is just another API
for managing a big dictionary (stored in
/var/db/SystemConfiguration/preferences.xml, which is great for debugging)
.
SCDynamicStore is very similar to SCPreferences, but it's dynamical (not
persistent, and changes when something network-related happens, like
switching sets or unplugging the Ethernet cable).
andy
--
The downside [of current processors] is that most modern boxes seem to be
best suited for running flight simulators - at least they sound like jet
engines. -- Seen on Slashdot