From owner-freebsd-questions@FreeBSD.ORG Sun Jun 3 15:23:08 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 84C8C16A46D for ; Sun, 3 Jun 2007 15:23:08 +0000 (UTC) (envelope-from mike@urgle.com) Received: from anchor-post-31.mail.demon.net (anchor-post-31.mail.demon.net [194.217.242.89]) by mx1.freebsd.org (Postfix) with ESMTP id 4F1F313C489 for ; Sun, 3 Jun 2007 15:23:08 +0000 (UTC) (envelope-from mike@urgle.com) Received: from rocher.urgle.com ([80.177.40.50]) by anchor-post-31.mail.demon.net with esmtp (Exim 4.42) id 1Hurv9-0002IN-3S for freebsd-questions@freebsd.org; Sun, 03 Jun 2007 15:23:07 +0000 Message-ID: <4662DCDA.6080903@urgle.com> Date: Sun, 03 Jun 2007 16:23:06 +0100 From: Mike Bristow User-Agent: Thunderbird 2.0.0.0 (X11/20070602) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <46629F7E.4040405@laws.ms> <200706031321.44524.pieter@degoeje.nl> In-Reply-To: <200706031321.44524.pieter@degoeje.nl> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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: Sun, 03 Jun 2007 15:23:08 -0000 Pieter de Goeje wrote: > On Sunday 03 June 2007, Pang wrote: > >> Hello, >> 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 >> >> Thanks >> Pang >> > According to ifconfig(8) and em(4): > # ifconfig em0 mediaopt full-duplex > And if that works, you may want to add it to /etc/rc.conf by changing the line with setting ifconfig_em0 to something like ifconfig_em0=" mediaopt full-duplex"