Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Jun 2001 05:33:33 +0100
From:      "Mark Hughes" <mark@dvdnews.co.uk>
To:        "Mark Hughes" <mark@dvdnews.co.uk>, "Eric Rosenberry" <ericr@dsl-only.net>, "Ilya" <mail@krel.org>, <freebsd-questions@FreeBSD.ORG>
Subject:   Re: lan speed
Message-ID:  <03ed01c0f22f$ad4467e0$0200a8c0@mark2>
References:  <GLEOKLAKEIBLAAKKFHEIMEANCFAA.ericr@dsl-only.net> <03e001c0f22b$5a8735e0$0200a8c0@mark2>

next in thread | previous in thread | raw e-mail | index | archive | help
>> > > Hi. I have win2k box with 100mb card in it, and a Freebsd dual homed box
>> > > with 100mb on local interface and 10mb on internet side.
>> > > when transfering files from win2k to freebsd i get max 60kb/s throughput,
>> > > and 3com 10/100 hub shows load of only 10%.
>> > > what can be done to acchive a higher rate? thank you
>> >
>> > Make sure you set the media type rather than allowing auto-select (the
>> > default).
>> >
>> > In your rc.conf on the freeBSD box, you need, in the ifconfig_xl0 line,
>> >
>> > media 100baseTX mediaopt full-duplex

> > Umm, if he is using a hub setting the card to full-duplex will cause
> > horrible amounts of collisions.  They should be half duplex.

> to set it to half duplex, am I right in thinking you need a
>
> -mediaopt full-duplex
>
> in place of
>
> mediaopt full-duplex
>
> in ifconfig_rl0 in rc.conf?

To answer my own question here, that is the correct alteration to rc.conf to alter the
duplex settings, and ...

ifconfig rl0 -mediaopt full-duplex

(change rl0 for your adapter)

..at the shell will alter it without a reboot (which is proabbly obvious to everyone
except me :+) ).

Regards,
Mark


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?03ed01c0f22f$ad4467e0$0200a8c0>