Re: Activating/deactivating a network interface
Re: Activating/deactivating a network interface
- Subject: Re: Activating/deactivating a network interface
- From: Jérome Foucher <email@hidden>
- Date: Fri, 6 Feb 2004 14:28:17 +0100
On 6 fivr. 04, at 13:38, Quinn wrote:
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.
The change will not be permanent.
It's for use in a kiosk computer.
When the computer is idle, it just displays a demo movie. During that
time, we want to close all the interfaces for security reasons.
When someone inserts a card to start an internet session, we want to
reactivate the interface to let the user browse.
ifconfig seemed a nice solution for that purpose, without any need to
reconfigure everything.
Jerome
_______________________________________________
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.