From owner-freebsd-questions@FreeBSD.ORG Thu Dec 29 14:14:48 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 187AF16A431 for ; Thu, 29 Dec 2005 14:14:48 +0000 (GMT) (envelope-from rseals@vdsi.net) Received: from broad.100mwh.com (broad.100mwh.com [205.214.86.31]) by mx1.FreeBSD.org (Postfix) with ESMTP id E9DC043D76 for ; Thu, 29 Dec 2005 14:14:40 +0000 (GMT) (envelope-from rseals@vdsi.net) Received: from static-70-22-125-177.balt.east.verizon.net ([70.22.125.177] helo=stlmofaxtest.mbh.mhs.magellanhs.com) by broad.100mwh.com with esmtp (Exim 4.52) id 1EryY9-00012a-JQ; Thu, 29 Dec 2005 08:14:15 -0600 From: Ray Seals To: Dan Nelson In-Reply-To: <20051228204256.GG39217@dan.emsphone.com> References: <1135797945.645.8.camel@localhost> <20051228204256.GG39217@dan.emsphone.com> Content-Type: text/plain Organization: Virtual Data Systems, Inc. Date: Thu, 29 Dec 2005 08:14:52 -0600 Message-Id: <1135865692.633.4.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.0.2 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - broad.100mwh.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - vdsi.net X-Source: X-Source-Args: X-Source-Dir: Cc: "freebsd-questions@freebsd.org" Subject: Re: Is there a Freebsd equivalent to this Linux header file X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: rseals@vdsi.net List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Dec 2005 14:14:48 -0000 On Wed, 2005-12-28 at 14:42 -0600, Dan Nelson wrote: > That's probably a Linux-specific ioctl. Chances are that FreeBSD's > ifconfig command will do what you want (so its sources are a good place > to start looking); what do you mean by "change it's operating mode"? > Here is a snippet from the specs PDF: Niagara 2261 is a dual Giga bit NIC card with programmable Close or Open while in the power off state. The Niagara 2261 is a universal low profile PCI-X board based on Intel 82546 Dual Gigabit Ethernet controller. Niagara 2261 is designed to operate either in 64-bit or 32-bit mode with the bus speeds up to 133 MHz. The physical form factor for Niagara 2261 meets the requirements of PCI Local Bus specifications Rev2.2 as well as Low profile PCI specifications. Feature Summary - Programmable Close or Open while in the power off state. - Intel s 82546EB controller - Two integrated PHYs for 10/100/1000 Mb/s full- and half-duplex operation - Bypass - during power off or software failures - PCI 2.2 compatible, 32/64-bit, 33/66/133MHz - IEEE 802.3ab, 802.3u, 802.3x compliant - Host offloading options - TCP/IP/UDP checksum, TCP segmentation and advanced packet filtering - Plug and Play - Software support for, Linux 2.2.x and 2.4.x, FreeBSD 4.x and Solaris 7 and 8 running x86-based platforms - Two RJ45 Connectors So, it can do a lot of cool things, but at this point I just wanted to set the box up as an in-line sniffer using this card for tcpdump only and the other built in nic (on the PC) as the management port.