From owner-freebsd-net@FreeBSD.ORG Thu Sep 23 08:11:53 2010 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F089E106564A for ; Thu, 23 Sep 2010 08:11:53 +0000 (UTC) (envelope-from dngireesh@avrita.com) Received: from mail-qy0-f175.google.com (mail-qy0-f175.google.com [209.85.216.175]) by mx1.freebsd.org (Postfix) with ESMTP id 99CAD8FC0A for ; Thu, 23 Sep 2010 08:11:53 +0000 (UTC) Received: by qyk31 with SMTP id 31so7187256qyk.13 for ; Thu, 23 Sep 2010 01:11:52 -0700 (PDT) MIME-Version: 1.0 Received: by 10.220.33.202 with SMTP id i10mr565131vcd.208.1285228193421; Thu, 23 Sep 2010 00:49:53 -0700 (PDT) Received: by 10.220.202.10 with HTTP; Thu, 23 Sep 2010 00:49:53 -0700 (PDT) X-Originating-IP: [121.243.184.69] In-Reply-To: <916265.44631.qm@web180008.mail.gq1.yahoo.com> References: <916265.44631.qm@web180008.mail.gq1.yahoo.com> Date: Thu, 23 Sep 2010 13:19:53 +0530 Message-ID: From: Gireesh Nagabhushana To: Sushanth Rai Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-net@freebsd.org Subject: Re: Changing link status in bge driver X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Sep 2010 08:11:54 -0000 On Thu, Sep 23, 2010 at 12:41 PM, Sushanth Rai wrote: > Hello, > > I'm using BCM5715C based NIC card on a FreeBSD 7.2 system. I would like to > simulate condition where the PHY layer is powered-off i.e, the link status > should show as "no carrier". When I do "ifconfig down", it just turns-off > the driver and the link status is still active. Is there is anything I can > do in the bge driver or anywhere else in the software stack to simulate this > condition without physically disconnecting the cable ? How about bringing down of interface at the other end? Regards, Gireesh > > Thanks, > Sushanth > _______________________________________________ > 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" >