Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Sep 1999 15:58:12 -0400
From:      Mitch Collinsworth <mkc@Graphics.Cornell.EDU>
To:        mike@sentex.net (Mike Tancsa)
Cc:        questions@freebsd.org
Subject:   Re: how to set fxp0 to half-duplex? [was: nfs tuning] 
Message-ID:  <199909221958.AA276660293@broccoli.graphics.cornell.edu>
In-Reply-To: Your message of "Wed, 22 Sep 1999 02:08:16 GMT." <37e83872.517261482@mail.sentex.net> 

next in thread | previous in thread | raw e-mail | index | archive | help

>>I changed the switch port to half-duplex and the frame and CRC errors
>>and rpc timeouts all stopped immediately.  Then I rebooted the FBSD
>>machine in order to get it to pick up the half-duplex setting from
>>the switch.  I'm not sure if this last step was necessary.  Does it
>>take a reboot?  Is there some way to switch duplex setting on the fly?
>>ifconfig mediaopts seems like the obvious place, but fxp(4) only lists
>>full-duplex as an option, no half-duplex.
>
>ifconfig fxp0 media 10BaseT/UTP 
>ifconfig fxp0 media 10BaseT/UTP mediaopt full-duplex
>
>No reboot is needed.

ackk!  It's not auto-sensing!  I've been ass_u_ming it was.
Why, pray tell, isn't this documented?


>I use lots of fxp cards on a couple of Cat 1900s in 10BaseT Full duplex
>mode without any errors.  Similarly on the 100BaseT ports in full duplex
>Here is a sample in 100BaseT full duplex.  
>
>
>-------------------------------------  
>Total good frames           632711776  
>Total octets              >1834088214  
>Broadcast/multicast frames    4108617  
>Broadcast/multicast octets  498649470 
>Good frames forwarded       632711776 
>Frames filtered                     0 
>Runt frames                         0 
>No buffer discards                  0 
>                                      
>Errors:                               
>  FCS errors                        0   
>  Alignment errors                  2    
>  Giant frames                      0    
>  Address violations                0    
>
>
>-------------------------------------
>Total frames                918936189
>Total octets              > 943528760
>Broadcast/multicast frames  101871841
> Broadcast/multicast octets>2589699969
> Deferrals                           0
> Single collisions                   0
> Multiple collisions                 0
> Excessive collisions                0
> Queue full discards                 0
> Errors:
>Late collisions                   0
>Excessive deferrals               0
>Jabber errors                     0
>Other transmit errors             0

Hey, ethernet counters!  How do you get these?

-Mitch




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?199909221958.AA276660293>