From owner-freebsd-net@FreeBSD.ORG Fri Jan 25 17:38:35 2013 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 2236F1AC for ; Fri, 25 Jan 2013 17:38:35 +0000 (UTC) (envelope-from mcdouga9@egr.msu.edu) Received: from mail.egr.msu.edu (dauterive.egr.msu.edu [35.9.37.168]) by mx1.freebsd.org (Postfix) with ESMTP id E8E89C20 for ; Fri, 25 Jan 2013 17:38:34 +0000 (UTC) Received: from dauterive (localhost [127.0.0.1]) by mail.egr.msu.edu (Postfix) with ESMTP id E9CFA2EE80 for ; Fri, 25 Jan 2013 12:38:27 -0500 (EST) X-Virus-Scanned: amavisd-new at egr.msu.edu Received: from mail.egr.msu.edu ([127.0.0.1]) by dauterive (dauterive.egr.msu.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id rrgimKwpEeE1 for ; Fri, 25 Jan 2013 12:38:27 -0500 (EST) Received: from EGR authenticated sender Message-ID: <5102C313.8060503@egr.msu.edu> Date: Fri, 25 Jan 2013 12:38:27 -0500 From: Adam McDougall User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130115 Thunderbird/17.0.2 MIME-Version: 1.0 To: freebsd-net@freebsd.org Subject: Re: how to completely makes an interface down? References: <20130124195056.GB1410@funkthat.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Jan 2013 17:38:35 -0000 On 01/25/13 12:33, h bagade wrote: > On Thu, Jan 24, 2013 at 11:20 PM, John-Mark Gurney 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 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