Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Using scutil to turn on AppleTalk/set Proxies



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:
http://lists.apple.com/mailman/options/macnetworkprog/email@hidden

This email sent to email@hidden
References: 
 >Using scutil to turn on AppleTalk/set Proxies (From: James Reynolds <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.