Sun Ultra 2 and hme not in full duplex

Brett D. Estrade estrabd at mailcan.com
Wed Aug 10 13:17:16 GMT 2005


On Wed, 10 Aug 2005 07:38:02 +0000, "Bruce O'Neel"
<edoneel at sdf.lonestar.org> said:
> Hi,
> 
> When I boot my sun ultra 2 with a hme, my switch doesn't see
> the connection as full duplex.
> 
> The line in rc.conf is:
> 
> ifconfig_hme0="inet 192.168.0.8  netmask 255.255.255.0 media autoselect"
> 
> Adding or removing the media autoselect seems to make no difference.
> 
> An ifconfig shows:
> 
> biasca# ifconfig hme0
> hme0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
>         options=b<RXCSUM,TXCSUM,VLAN_MTU>
>         inet 192.168.0.8 netmask 0xffffff00 broadcast 192.168.0.255
>         inet6 fe80::a00:20ff:fe89:99ba%hme0 prefixlen 64 scopeid 0x1 
>         ether 08:00:20:89:99:ba
>         media: Ethernet autoselect (100baseTX)
>         status: active
> 
> 
> Now, if I type
> 
> ifconfig hme0 media autoselect
> 
> the interface drops off the switch and then comes back up
> in full duplex.
> 
> Now ifconfig shows:
> 
> biasca# ifconfig hme0
> hme0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
>         options=b<RXCSUM,TXCSUM,VLAN_MTU>
>         inet 192.168.0.8 netmask 0xffffff00 broadcast 192.168.0.255
>         inet6 fe80::a00:20ff:fe89:99ba%hme0 prefixlen 64 scopeid 0x1 
>         ether 08:00:20:89:99:ba
>         media: Ethernet autoselect (100baseTX <full-duplex>)
>         status: active
> 
> Is there a handy way to make this happen on boot?

I am not an ifconfig expert, but dropping a little script in
/usr/local/etc/rc.d (that follows the standard form of things there)
should handle on boot ... perhaps the *right* thing to do is figure out
why ifconfig is not doing what you want it to the first time.

Brett

--

~Sedit qui timuit ne non succederet~



More information about the freebsd-sparc64 mailing list