Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Aug 2005 08:17:04 -0500
From:      "Brett D. Estrade" <estrabd@mailcan.com>
To:        "Bruce O'Neel" <edoneel@sdf.lonestar.org>, freebsd-sparc64@freebsd.org
Subject:   Re: Sun Ultra 2 and hme not in full duplex
Message-ID:  <1123679824.23377.240381298@webmail.messagingengine.com>
In-Reply-To: <20050810073802.GB9599@SDF.LONESTAR.ORG>
References:  <20050810073802.GB9599@SDF.LONESTAR.ORG>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 10 Aug 2005 07:38:02 +0000, "Bruce O'Neel"
<edoneel@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~




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