Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Nov 2000 19:00:33 -0600
From:      David Kelly <dkelly@hiwaay.net>
To:        Rick Hamell <hamellr@heorot.1nova.com>
Cc:        FreeBSD-questions <freebsd-questions@FreeBSD.ORG>
Subject:   Re: Ifconfig 
Message-ID:  <200011240100.eAO10XS77289@grumpy.dyndns.org>
In-Reply-To: Message from Rick Hamell <hamellr@heorot.1nova.com>  of "Wed, 22 Nov 2000 16:56:48 GMT." <Pine.BSF.4.21.0011221655000.508-100000@heorot.1nova.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
Rick Hamell writes:
> 
> 	How do I get Ifconfig to configure my network card (fxp1) into
> half-duplex? Also, dose anyone happen to know if the Intel Express 10/100
> Stackable Hubs are half-duplex? My old Kingston 10mbs card (da0) worked
> just fine, and all I did was add a 2nd Intel (fxp1) 100mbs card... 

If its a hub then it is half-duplex, not full-duplex. You have to have 
a switch or dedicated point-to-point wire to run full-duplex.

By default FreeBSD autonegotiates on the fxp driver. If you are 
connected to a hub then its smart enough to go half-duplex. Here is an 
example of an fxp which has decided to be full duplex at 100:

grumpy: {1013} ifconfig fxp0
fxp0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
[snip]
        media: autoselect (100baseTX <full-duplex>) status: active
        supported media: autoselect 100baseTX <full-duplex> 100baseTX 10baseT/UTP <full-duplex> 10baseT/UTP
grumpy: {1014}

Were I to yank the wire and insert into a 10baseT hub then it will 
automatically do the right thing without any additional help.

Notice the media: line says, "autoselect" then in parenthisis it shows
what it has decided to do. I believe if one wanted to force half duplex
100baseTX then "ifconfig fxp1 media 100baseTX" would do it. Then to
manually force full duplex guessing from the man page on fxp (haven't
tried it) one would have to do "ifconfig fxp1 media 100baseTX mediaopt
full-duplex".


--
David Kelly N4HHE, dkelly@hiwaay.net
=====================================================================
The human mind ordinarily operates at only ten percent of its
capacity -- the rest is overhead for the operating system.




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?200011240100.eAO10XS77289>