Re: Activating/deactivating a network interface
Re: Activating/deactivating a network interface
- Subject: Re: Activating/deactivating a network interface
- From: Quinn <email@hidden>
- Date: Fri, 6 Feb 2004 12:38:48 +0000
At 10:01 +0100 6/2/04, Jirome Foucher wrote:
Is it better on OS X to use MoreSCF to mark interfaces as __INACTIVE__ ?
It depends on your goal. MoreSCF works on the user's persistent
network preferences. Once you commit your change to the preferences,
the SCF infrastructure applies that change to the currently running
network stack. If you want your changes to be persistent, MoreSCF is
definitely the way to go.
OTOH, if you want your changes to be transient (for example, you want
to take the interface down temporarily, twiddle a parameter, and
bring it straight back up again), there may be better solutions. If
you explain some background to this requirement we may be able to
suggest a better solution.
S+E
--
Quinn "The Eskimo!" <
http://www.apple.com/developer/>
Apple Developer Technical Support * Networking, Communications, Hardware
_______________________________________________
macnetworkprog mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/macnetworkprog
Do not post admin requests to the list. They will be ignored.