Switching between half-duplex and full duplex

Mike Bristow mike at urgle.com
Sun Jun 3 15:23:08 UTC 2007


Pieter de Goeje wrote:
> On Sunday 03 June 2007, Pang wrote:
>   
>> Hello,
>>   I have just installed FreeBSD and found that the nic em0 is set to
>> half-duplex only. Could anyone tell me how I can switch it to full-duplex?
>>
>> em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
>>         options=b<RXCSUM,TXCSUM,VLAN_MTU>
>>         inet 172.16.0.2 netmask 0xfffffffc broadcast 172.16.0.1
>>         ether XX:XX:XX:XX:XX:XX
>>         media: Ethernet autoselect (10baseT/UTP <half-duplex>)
>>         status: active
>>
>> Thanks
>> Pang
>>     
> According to ifconfig(8) and em(4):
> # ifconfig em0 mediaopt full-duplex
>   

And if that works, you may want to add it to /etc/rc.conf by changing 
the line with setting ifconfig_em0
to something like ifconfig_em0="<whatever was there before> mediaopt 
full-duplex"


More information about the freebsd-questions mailing list