• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Activating/deactivating a network interface
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: Activating/deactivating a network interface
      • From: Quinn <email@hidden>
  • Prev by Date: Re: gethostname returns loginname on "Pather Server" version
  • Next by Date: RE: gethostname returns loginname on "Pather Server" version
  • Previous by thread: Re: gethostname returns loginname on "Pather Server" version
  • Next by thread: Re: Activating/deactivating a network interface
  • Index(es):
    • Date
    • Thread