From owner-freebsd-questions@FreeBSD.ORG Mon Jun 4 10:35:16 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 80A1616A421 for ; Mon, 4 Jun 2007 10:35:16 +0000 (UTC) (envelope-from freebsd@laws.ms) Received: from mail2.worria.com (mail2.worria.com [205.234.133.139]) by mx1.freebsd.org (Postfix) with SMTP id 3191813C447 for ; Mon, 4 Jun 2007 10:35:16 +0000 (UTC) (envelope-from freebsd@laws.ms) Received: (qmail 7642 invoked by uid 399); 4 Jun 2007 10:35:15 -0000 Received: from unknown (HELO ?203.218.149.28?) (sales@worria.com@203.218.149.28) by mail2.worria.com with SMTP; 4 Jun 2007 10:35:15 -0000 X-Originating-IP: 203.218.149.28 Message-ID: <4663EAD8.3040100@laws.ms> Date: Mon, 04 Jun 2007 18:35:04 +0800 From: Pang User-Agent: Thunderbird 1.5.0.12 (Windows/20070509) MIME-Version: 1.0 To: Rudolf Cejka References: <46629F7E.4040405@laws.ms> <20070604065410.GA31491@fit.vutbr.cz> In-Reply-To: <20070604065410.GA31491@fit.vutbr.cz> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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 10:35:16 -0000 Rudolf Cejka wrote: > 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. > > Hello, The auto-negotiation doesn't work properly. (it goes to half-duplex automatically). But, it works when I switched it back full-duplex manually. However, the switch doesn't seem to support 100baseTX or better. Thanks Pang