From owner-freebsd-net Thu Feb 8 6:32:26 2001 Delivered-To: freebsd-net@freebsd.org Received: from relay.flashnet.it (ems.flashnet.it [194.247.160.44]) by hub.freebsd.org (Postfix) with ESMTP id 55B3337B401 for ; Thu, 8 Feb 2001 06:32:07 -0800 (PST) Received: from smtp.flashnet.it (ip159.pool-173.cyb.it [195.191.181.160]) by relay.flashnet.it (EMS-RELAY/8.10.0) with SMTP id f18EW3113944 for ; Thu, 8 Feb 2001 15:32:04 +0100 Message-Id: <200102081432.f18EW3113944@relay.flashnet.it> To: freebsd-net@freebsd.org X-Mailer: Post Road Mailer for OS/2 (Green Edition Ver 3.0) Date: Thu, 8 Feb 2001 15:32:03 EST From: Andrea Venturoli Reply-To: Andrea Venturoli Subject: Meditation on rl driver Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hello. I'd like to share some thought on what happened to me: I had an external ADSL modem from Alcatel connected (with a straight cable, since the device has a reversed ethernet port) to a RealTek card on a FreeBSD 4.1-RELEASE box. I used the simple line in rc.conf: ifconfig_rl1="inet 10.0.0.6 netmask 255.0.0.0" Everything would work for a while, but under heavy load the modem would hang so bad it had to be cycle-powered, because it wouldn't communicate anymore (the led on its ethernet port would turn off). After trying a lot of things and reading the modem manual over and over I saw that they required the ethernet card on the computer to be set to half-duplex. So I issued an ifconfig and saw that the card was set to media autoselect (NONE). I tried with ifconfig rl1 inet 10.0.0.6 netmask 255.0.0.0 media 10baseT/UTP mediaopt half-duplex but it would not accept the last parameter. I ended up with the following in rc.conf: ifconfig_rl1="inet 10.0.0.6 netmask 255.0.0.0 media 10baseT/UTP mediaopt -full-duplex" and now everything works fine. My wonderings are: _ "mediaopt full-duplex" does not work, while it's documented in the rl man page; isn't this a bug? _ autoselecting the media obviously does not work correctly, does it? _ if two devices are connected and one speaks half-duplex, the other full-duplex, shouldn't they fail to communicate at all? Is the hang-up after a while and under heavy load normal? _ has anything changed in the rl driver after 4.1-RELEASE? I also hope this might help other people... Bye & Thanks av. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message