On 09/27/11 20:05, Brad wrote:
> On 27/09/11 1:59 PM, Christopher Zimmermann wrote:
>> Hi,
>>
>> I just started using a aue(4) device. Now I am a bit confused about
>> full-duplex / half-duplex operation.
>>
>>
>> The manpage states:
>>
>> full-duplex
>>      Force full duplex operation.  The interface will operate in
>>      half duplex mode if this media option is not specified.
>>
>> But for me ifconfig aue0 says:
>>
>> aue0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST>  mtu 1500
>>          lladdr 00:05:1b:e5:9a:02
>>          priority: 0
>>          groups: egress
>>          media: Ethernet autoselect (100baseTX full-duplex)
>>          status: active
>>          inet6 fe80::205:1bff:fee5:9a02%aue0 prefixlen 64 scopeid 0x6
>>          inet 192.168.1.37 netmask 0xffffff00 broadcast 192.168.1.255
>>
>>
>> My hostname.aue0 just says "dhcp". Nothing about full-duplex.
>>
>> Which one is wrong now? Manpage or ifconfig?
> 
> Neither. You're not understanding the man page correctly and took that
> piece of the page out of context. The manual duplex setting goes along
> with the two manual speed selections listed above that in the man page.
> 

Thats just ridiculous. the 'media options' section is a section of its
own as well as the 'media types' section. The 'media types' section has
three items. 'autoselect' '10baseT' and '100baseTX'. It would be stupid
to assume that the explanation in the following section 'media options'
only apply to the last two(!) items in the previous section.

I think the manpage is very clear and leaves little room for
interpretation.


What about changing the 'full-duplex' section to:

full-duplex
         Force full duplex operation.

And the 'autoselect' section to:

autoselect
            Enable autoselection of the media type and options.  Full
            duplex mode will be selected if possible.  The user can
            manually override the autoselected mode by adding media
            options to the appropriate hostname.if(5) file.

Reply via email to