From owner-freebsd-questions@FreeBSD.ORG Mon Jun 4 06:54:12 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D83D316A41F for ; Mon, 4 Jun 2007 06:54:12 +0000 (UTC) (envelope-from cejkar@fit.vutbr.cz) Received: from kazi.fit.vutbr.cz (kazi.fit.vutbr.cz [147.229.8.12]) by mx1.freebsd.org (Postfix) with ESMTP id 710C313C457 for ; Mon, 4 Jun 2007 06:54:12 +0000 (UTC) (envelope-from cejkar@fit.vutbr.cz) Received: from kazi.fit.vutbr.cz (localhost [127.0.0.1]) by kazi.fit.vutbr.cz (envelope-from cejkar@fit.vutbr.cz) (8.14.1/8.14.1) with ESMTP id l546sAHf033045 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 4 Jun 2007 08:54:10 +0200 (CEST) Received: (from cejkar@localhost) by kazi.fit.vutbr.cz (8.14.1/8.13.1/Submit) id l546sAmx033042; Mon, 4 Jun 2007 08:54:10 +0200 (CEST) (envelope-from cejkar@fit.vutbr.cz) X-Authentication-Warning: kazi.fit.vutbr.cz: cejkar set sender to cejkar@fit.vutbr.cz using -f Date: Mon, 4 Jun 2007 08:54:10 +0200 From: Rudolf Cejka To: Pang Message-ID: <20070604065410.GA31491@fit.vutbr.cz> References: <46629F7E.4040405@laws.ms> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <46629F7E.4040405@laws.ms> User-Agent: Mutt/1.4.2.1i X-Scanned-By: MIMEDefang 2.62 on 147.229.8.12 Cc: freebsd-questions@freebsd.org Subject: Re: Switching between half-duplex and full duplex X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Jun 2007 06:54:12 -0000 Pang wrote (2007/06/03): > I have just installed FreeBSD and found that the nic em0 is set to > half-duplex only. Could anyone tell me how I can switch it to full-duplex? > em0: flags=8843 mtu 1500 > options=b > inet 172.16.0.2 netmask 0xfffffffc broadcast 172.16.0.1 > ether XX:XX:XX:XX:XX:XX > media: Ethernet autoselect (10baseT/UTP ) > status: active Hello, so I was right? ;o) I assume, that you have more capable device on the other side, atleast 100 Mb/s full-duplex. In that case, you should check, what connection type is "seen" on the other side (switches with management!). Then you can check auto-negotiation settings on the other side, try to change ethernet cable - it would be faulty and auto-neg would not work correctly, then look, which chipset do you have - the driver would not work with too new chips, I have here some ICH8 machines, which do work just 100 Mb/s instead of 1 Gb/s (I expect that -current should work now). Regards. PS: Another very good command is ifconfig -m em0, where you can see all allowed media/mediaopt combinations. -- Rudolf Cejka http://www.fit.vutbr.cz/~cejkar Brno University of Technology, Faculty of Information Technology Bozetechova 2, 612 66 Brno, Czech Republic