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: Finlay Dobbie <email@hidden>
- Date: Mon, 8 Oct 2001 18:50:01 +0100
On Monday, October 8, 2001, at 06:41 pm, Ondra Cada wrote:
I don't need it now, just am curious: what is this framework needed for?
What kind of configuration fits it?
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?
The stuff that configd keeps track of. See scutil in the terminal for
having a poke around in the database. A sample session in case you don't
know how to use it:
[localhost:~] finlayd% scutil
> open
> list
subKey [0] = File:/var/run/lookupd.pid
subKey [1] = File:/var/run/nibindd.pid
subKey [2] = Plugin:IPConfiguration
subKey [3] = Setup:
subKey [4] = Setup:/
subKey [5] = Setup:/Network/Global/IPv4
subKey [6] = Setup:/Network/Service/0
subKey [7] = Setup:/Network/Service/0/IPv4
subKey [8] = Setup:/Network/Service/0/Interface
subKey [9] = Setup:/Network/Service/0/Modem
subKey [10] = Setup:/Network/Service/0/PPP
subKey [11] = Setup:/Network/Service/0/Proxies
subKey [12] = Setup:/Network/Service/1
subKey [13] = Setup:/Network/Service/1/Ethernet
subKey [14] = Setup:/Network/Service/1/IPv4
subKey [15] = Setup:/Network/Service/1/Interface
subKey [16] = Setup:/Network/Service/1/Proxies
subKey [17] = Setup:/System
subKey [18] = State:/Network/Global/DNS
subKey [19] = State:/Network/Global/IPv4
subKey [20] = State:/Network/Global/Proxies
subKey [21] = State:/Network/Interface
subKey [22] = State:/Network/Interface/en0/Link
subKey [23] = State:/Network/Interface/lo0/IPv4
subKey [24] = State:/Network/Interface/ppp0/IPv4
subKey [25] = State:/Network/Service/0/DNS
subKey [26] = State:/Network/Service/0/IPv4
subKey [27] = State:/Network/Service/0/Modem
subKey [28] = State:/Network/Service/0/PPP
subKey [29] = State:/Users/ConsoleUser
> get Setup:/Network/Service/0/Modem
> d.show
<dictionary> {
ErrorCorrection : 1
Speaker : 1
ConnectionScript : Apple Internal 56K Modem (v.90)
DialMode : WaitForDialTone
DataCompression : 1
PulseDial : 0
}
Also read the architecture document I pointed to before.
-- Finlay