Skip site navigation (1)Skip section navigation (2)
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.=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<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=20
        ether 00:50:fc:05:26:24=20
        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=3D8843<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=20
        ether 00:50:fc:05:26:24=20
        media: 10baseT/UTP status: active
        supported media: autoselect 100baseTX <full-duplex> 100baseTX
10baseT/UTP <full-duplex> 10baseT/UTP 100baseTX <hw-loopback>
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9nd98tg8n1tbm0ridumhg0ng8b098gm1g0>