Re: Using scutil to turn on AppleTalk/set Proxies
Re: Using scutil to turn on AppleTalk/set Proxies
- Subject: Re: Using scutil to turn on AppleTalk/set Proxies
- From: Allan Nathanson <email@hidden>
- Date: Tue, 18 Apr 2006 21:45:20 -0400
On Apr 18, 2006, at 9:14 PM, James Reynolds wrote:
I was using ncutil to turn on AppleTalk and set the computer
Proxies. I'm hoping I can switch to scutil. I tried turning on
AppleTalk with:
scutil
open
d.init
d.add InterfaceName en0
add State:/Network/Service/0/AppleTalk
close
But nothing happens. It does populate the keys:
Setup:/Network/Service/0/AppleTalk
State:/Network/Global/AppleTalk
State:/Network/Interface/en0/AppleTalk
State:/Network/Service/0/AppleTalk
I suspect I have to notify something or run the kicker script, but I
can't seem to find anything that really states what I should be
doing and so far experimentation has produced no results.
I did read a few years back that scutil was not recommended to make
a change like this (to the persistent data store). So I'm also
wondering if that is still true. Should I just stick with ncutil?
(I'm trying to reduce the extra requirements of some management
scripts I maintain, and reducing the requirement of ncutil would be
a nice one).
The scutil commands (that you've noted) do not change the persistent
[data] store. They do make changes to the dynamic [data] but will
a) be lost whenever configd gets restarted
b) be overridden if the persistent store is updated via network prefs
To change the configuration you really need to use an app/tool which
modifies the persistent configuration (like the network prefs pane,
like ncutil, ...).
- Allan
_______________________________________________
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