Subject: Re: bge0 doesn't like to autodetect gigabit
To: None <tech-net@netbsd.org>
From: Thor Lancelot Simon <tls@rek.tjls.com>
List: tech-net
Date: 09/03/2003 20:10:24
On Wed, Sep 03, 2003 at 04:52:13PM -0700, Bryan Vyhmeister wrote:
> > 
> > >When I plugged in
> > >a network cable it reported 1000base-T 
> > 
> > So far so good.
> > 
> > >but when I ran dhclient it went
> > >back to 100base-T and then got an IP address. When I first ran
> dhclient,
> > >it sent out several requests and then by the fourth or fifth it
> > >apparently switched to 100base-T and got its IP address.
> > 
> > Hm. Just for diagnostic purposes, can you try assigning a static
> > ip address, configuring that address at boot, and not running
> dhclinet?
> > (The idea is to never take the interface down after power-up).
> > Then do a hard power cycle.
> > 
> > If the link camme up at 1000baseT, and dhclient ifconfig'ing it up and
> > down causes it to drop down to 100Base-TX, mabye there's a bug in
> > PHY reset after link down (or link up?).
> 
> I tried exactly that and the result was that the interface changed its
> status to no carrier. When I booted with everything static, I could not
> access the network at all.

Don't hardwire the link type and duplex -- leave those as auto.  Just
hardwire the IP address, and see what happens.

-- 
 Thor Lancelot Simon	                                      tls@rek.tjls.com
   But as he knew no bad language, he had called him all the names of common
 objects that he could think of, and had screamed: "You lamp!  You towel!  You
 plate!" and so on.              --Sigmund Freud