Date: Thu, 24 Jan 2013 11:50:56 -0800 From: John-Mark Gurney <jmg@funkthat.com> To: h bagade <bagadeh@gmail.com> Cc: freebsd-net@freebsd.org Subject: Re: how to completely makes an interface down? Message-ID: <20130124195056.GB1410@funkthat.com> In-Reply-To: <CAARSjE0-pFR0yf7xbycPkjrZCvokGp=r7Ls=HeP83t60nhGVVg@mail.gmail.com> References: <CAARSjE0-pFR0yf7xbycPkjrZCvokGp=r7Ls=HeP83t60nhGVVg@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
h bagade wrote this message on Thu, Jan 24, 2013 at 16:59 +0330:
> I'm searching for a method or configuration which when I make the interface
> down, the led goes off. Currently the led still remains on when I shutdowns
> the interface! Is there any way to do this?
Not all ethernet drivers disable the PHY when you down the interface...
You can try to use:
ifconfig <int> media none
to shutdown the PHY, but the em driver on 9.1 doesn't have it, but re
(7.2-R and -current) and msk (-current) seems to have it...
Also, why do you want the led to go off? Remeber, the led is just an
indication if there is a link established, not what will happen to the
packets that are received...
--
John-Mark Gurney Voice: +1 415 225 5579
"All that I will do, has been done, All that I have, has not."
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130124195056.GB1410>
