From owner-freebsd-questions Mon Aug 19 22:58:29 2002 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 A4DA537B400 for ; Mon, 19 Aug 2002 22:58:24 -0700 (PDT) Received: from neptune.he.net (neptune.he.net [216.218.166.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id F367743EA9 for ; Mon, 19 Aug 2002 22:57:12 -0700 (PDT) (envelope-from reverend@sfmidimafia.com) Received: from reverend.sfmidimafia.com (12-232-218-189.client.attbi.com [12.232.218.189]) by neptune.he.net (8.8.6/8.8.2) with ESMTP id WAA06005 for ; Mon, 19 Aug 2002 22:57:11 -0700 Message-Id: <5.1.0.14.2.20020819224216.00bb06e0@neptune.he.net> X-Sender: sfmidimafia.com/reverend@neptune.he.net X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Mon, 19 Aug 2002 22:56:30 -0700 To: freebsd-questions@FreeBSD.org From: "Scott R." Subject: Problems with 'rl' driver not properly setting duplex Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG [please cc: me in any replies as I am not currently subscribed to this list, thank you.] I have a small home network with only two boxes right now. The router is a FreeBSD box running 4.6.2-RELEASE with 2 nics. One nic (rl0) goes out through the AT&T broadband modem, the other (rl1) plugs into my switch with natd running on rl0 so I can share my internet connection. The other box is running Windows XP Pro and is also plugged into the switch. When I leave Windows to 'autoselect' the media for the RealTek card, it likes to choose '100baseTX full-duplex' mode. rl0, which is the DHCP interface going out to AT&T, also autoselects at 100baseTX full-duplex according to ifconfig. Now, here's the tricky part. If I try to set rl1 to also run 100baseTX full-duplex, the switch sees it as only half-duplex and I initially get a 'no carrier' signal (PR kern/38139 was opened by someone with a similar issue but no resolution has been offered). So, in short, I have to set rl1 to 'media 10baseT/UTP mediaopt half-duplex' which works but gets me the following error message: 'ifconfig: SIOCSIFMEDIA: Device not configured'. I set the Windows box for the same and, finally, I get decent throughput. Does anyone know why the rl driver acts so screwy on FreeBSD when it does what it's supposed to in Windows (at least according to my switch)? Any help would be greatly appreciated. Thanks in Advance, Scott To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message