Date: Fri, 09 Feb 2001 22:37:48 -0500 From: Mike Tancsa <mike@sentex.net> To: ml.ventu@flashnet.it (Andrea Venturoli) Cc: freebsd-net@freebsd.org Subject: Re: Meditation on rl driver Message-ID: <9nd98tg8n1tbm0ridumhg0ng8b098gm1g0@4ax.com> In-Reply-To: <SEN.981642754.100803984@news.sentex.net> References: <SEN.981642754.100803984@news.sentex.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On 8 Feb 2001 09:32:34 -0500, in sentex.lists.freebsd.net you wrote:
>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).
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
>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
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=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> 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
ether 00:50:fc:05:26:24
media: autoselect (none) status: active
supported media: autoselect 100baseTX <full-duplex> 100baseTX
10baseT/UTP <full-duplex> 10baseT/UTP 100baseTX <hw-loopback>
cage# ifconfig rl0 media 10baseT/UTP
cage# ifconfig rl0
rl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> 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
ether 00:50:fc:05:26:24
media: 10baseT/UTP status: active
supported media: autoselect 100baseTX <full-duplex> 100baseTX
10baseT/UTP <full-duplex> 10baseT/UTP 100baseTX <hw-loopback>
cage#
---Mike
Mike Tancsa (mdtancsa@sentex.net)
Sentex Communications Corp,
Waterloo, Ontario, Canada
"Given enough time, 100 monkeys on 100 routers
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9nd98tg8n1tbm0ridumhg0ng8b098gm1g0>
