From owner-freebsd-net Fri Feb 9 19:38:20 2001 Delivered-To: freebsd-net@freebsd.org Received: from smtp1.sentex.ca (smtp1.sentex.ca [199.212.134.4]) by hub.freebsd.org (Postfix) with ESMTP id 51CAA37B491 for ; Fri, 9 Feb 2001 19:37:57 -0800 (PST) Received: from chimp.simianscience.com (cage.simianscience.com [64.7.134.1]) by smtp1.sentex.ca (8.11.2/8.11.1) with SMTP id f1A3bmC59527; Fri, 9 Feb 2001 22:37:48 -0500 (EST) (envelope-from mike@sentex.net) From: Mike Tancsa To: ml.ventu@flashnet.it (Andrea Venturoli) Cc: freebsd-net@freebsd.org Subject: Re: Meditation on rl driver Date: Fri, 09 Feb 2001 22:37:48 -0500 Message-ID: <9nd98tg8n1tbm0ridumhg0ng8b098gm1g0@4ax.com> References: In-Reply-To: X-Mailer: Forte Agent 1.8/32.548 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On 8 Feb 2001 09:32:34 -0500, in sentex.lists.freebsd.net you wrote: >Hello.=20 >I'd like to share some thought on what happened to me: I had an external= ADSL modem from =20 >Alcatel connected (with a straight cable, since the device has a = reversed ethernet port) to =20 >a RealTek card on a FreeBSD 4.1-RELEASE box.=20 >I used the simple line in rc.conf:=20 >=20 > ifconfig_rl1=3D"inet 10.0.0.6 netmask 255.0.0.0"=20 >=20 >Everything would work for a while, but under heavy load the modem would = hang so bad it had =20 >to be cycle-powered, because it wouldn't communicate anymore (the led on= its ethernet port =20 >would turn off).=20 I work for an ISP who has seen a lot of Alcatel modems. There were some firmware versions where the modem would crash. If its a speed touch, see about updating the firmware if possible. >After trying a lot of things and reading the modem manual over and over = I saw that they =20 >required the ethernet card on the computer to be set to half-duplex.=20 >So I issued an ifconfig and saw that the card was set to media = autoselect (NONE).=20 >I tried with=20 >=20 > ifconfig rl1 inet 10.0.0.6 netmask 255.0.0.0 media 10baseT/UTP mediaopt= half-duplex=20 Actually, just ifconfig rl1 media 10baseT/UTP will put it into half = duplex mode. The assumption being that without specifying media-opt, you get half-duplex on 10baseT/UTP e.g. cage# ifconfig rl0 rl0: flags=3D8843 mtu 1500 inet 10.0.0.1 netmask 0xffffff00 broadcast 10.0.0.255 inet6 fe80::250:fcff:fe05:2624%rl0 prefixlen 64 scopeid 0x2=20 ether 00:50:fc:05:26:24=20 media: autoselect (none) status: active supported media: autoselect 100baseTX 100baseTX 10baseT/UTP 10baseT/UTP 100baseTX cage# ifconfig rl0 media 10baseT/UTP cage# ifconfig rl0 rl0: flags=3D8843 mtu 1500 inet 10.0.0.1 netmask 0xffffff00 broadcast 10.0.0.255 inet6 fe80::250:fcff:fe05:2624%rl0 prefixlen 64 scopeid 0x2=20 ether 00:50:fc:05:26:24=20 media: 10baseT/UTP status: active supported media: autoselect 100baseTX 100baseTX 10baseT/UTP 10baseT/UTP 100baseTX cage#=20 ---Mike Mike Tancsa (mdtancsa@sentex.net) =09 Sentex Communications Corp, =09 Waterloo, Ontario, Canada "Given enough time, 100 monkeys on 100 routers=20 could setup a national IP network." (KDW2) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message