Activating/deactivating a network interface
Activating/deactivating a network interface
- Subject: Activating/deactivating a network interface
- From: Jérome Foucher <email@hidden>
- Date: Fri, 6 Feb 2004 10:01:20 +0100
Hi all,
I'd like to enable/disable a specific network interface
First I thought about using MoreSCF to mark all interfaces as
__INACTIVE__
But someone suggested I should use ifconfig instead.
The man states that calling "ifconfig en0 down" will deactivates the
interface (no data in or out)
That works fine
"ifconfig en0 up" is suppsed to activate the interface when it was
previously deactivated.
Alas, it doesn't work for me on 10.3
Am I doing something wrong ?
Is it better on OS X to use MoreSCF to mark interfaces as __INACTIVE__ ?
Thanks
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.