Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 03 Jun 2007 16:23:06 +0100
From:      Mike Bristow <mike@urgle.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: Switching between half-duplex and full duplex
Message-ID:  <4662DCDA.6080903@urgle.com>
In-Reply-To: <200706031321.44524.pieter@degoeje.nl>
References:  <46629F7E.4040405@laws.ms> <200706031321.44524.pieter@degoeje.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
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"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4662DCDA.6080903>