Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Jan 2013 12:38:27 -0500
From:      Adam McDougall <mcdouga9@egr.msu.edu>
To:        freebsd-net@freebsd.org
Subject:   Re: how to completely makes an interface down?
Message-ID:  <5102C313.8060503@egr.msu.edu>
In-Reply-To: <CAARSjE320t=PjZ=ws2LRMbdc7C93OgPeSSGOXYODRqQtuvAmxQ@mail.gmail.com>
References:  <CAARSjE0-pFR0yf7xbycPkjrZCvokGp=r7Ls=HeP83t60nhGVVg@mail.gmail.com> <20130124195056.GB1410@funkthat.com> <CAARSjE320t=PjZ=ws2LRMbdc7C93OgPeSSGOXYODRqQtuvAmxQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 01/25/13 12:33, h bagade wrote:
> On Thu, Jan 24, 2013 at 11:20 PM, John-Mark Gurney <jmg@funkthat.com> wrote:
>
>> 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."
>>
>
> Thanks for your comments. What I wanna to do is informing the other end
> that the interface is down and also be able to find out that the other
> neighbors are also down or not!
> So firstly, I need to find a way to make the led go off like when the cable
> is not connected. Then I also need to know how to find out the other end is
> going off!
> _______________________________________________
> freebsd-net@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-net
> To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"
>

Can you use LACP on that link  The state of LACP can indicate to both 
sides whether the other end is working.  See if_lagg



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5102C313.8060503>