Bandwidth Troubleshooting

Gunter Wambaugh gunter at six-two.net
Wed May 17 19:30:12 PDT 2006


On May 17, 2006, at 8:01 PM, Mike Tancsa wrote:

> At 08:47 PM 17/05/2006, Gunter Wambaugh wrote:
>>> On Mon, 15 May 2006 20:13:05 -0500, in  
>>> sentex.lists.freebsd.questions
>>> you wrote:
>>>
>>>>         media: Ethernet 100baseTX <full-duplex>
>
> This looks like you have it set to 100-FD *Manual*.  Try
> ifconfig fxp0 media autoselect
>
>
>
>>> What kind of switch do you have your NIC plugged into ?
>>>
>>> What is the output of
>>> netstat -ni
>>> and
>>> sysctl -a | grep flight
>>>
>>>         ---Mike
>>> $ netstat -ni
>> Name    Mtu Network       Address              Ipkts Ierrs    Opkts
>> Oerrs  Coll
>> fxp0   1500 <Link#1>      00:06:29:de:51:ab 44071780  1735
>> 52399432     0     0
>> fxp0   1500 fe80:1::206:2 fe80:1::206:29ff:        0     -
>> 3     -     -
>> fxp0   1500 192.168.1     192.168.1.106     44029897     -
>>
>> This box is plugged into my Linksys Wireless router.  I don't think
>> it's the router as other boxes connected to it seem unaffected.  I
>> tried swapping the network cable and the port on the router, but
>> Ierrs increased.  Bad network card?  Misconfigured network card/ 
>> driver?
>
>
> It looks like a duplex mismatch.  Change your duplex settings to  
> auto and see how things go from there.
>
>         ---Mike
>
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions- 
> unsubscribe at freebsd.org"

AHA!

That worked.

The sad thing is that I read somewhere (probably on this list) that  
*forcing* 100 would
_increase_ performance because there wouldn't be any auto  
negotiating.   I added it to
my rc.conf, but later I decided that it didn't help any so I ran  
ifconfig fxp0 media autoselect,
but failed to change my rc.conf back!  Now I have learned that not  
only did it not improve performance, it seriously
  crippled it.  Thanks for helping me track that down.



More information about the freebsd-questions mailing list