Hi there, I'm having an odd problem where this NIC (cheap-o, yes I know) doesn't seem to work on FreeBSD correctly. I have the same cards (even revision models) in two win boxen and they work fine. 10baseT works but not 100baseT. With a normal NIC config, without explicitly setting the media to 10baseT, it will autosense as 100BaseT @ full-duplex, showing active. However I can't ping any IP. My switch indicates that the port is not active either. If a 10baseT config, the switch will recognise that it's running at half-duplex and all seems well. I've read posts here that changes in stable may have affected this, but I'm still running a 4.9-RELEASE system. If anyone has any hints to why this is happening please E-mail me. Please CC directly since I'm not subscribed to this list. Thank you, - Will Here are my system details:> uname -aFreeBSD epoch.anime.ca 4.8-RELEASE FreeBSD 4.8-RELEASE #0: Mon Sep 15 01:47:21 EDT 2003 root@epoch.anime.ca:/usr/src/sys/compile/EPOCH i386 dmesg: rl0: <D-Link DFE-530TX+ 10/100BaseTX> port 0xb800-0xb8ff mem 0xe6000000-0xe60000ff irq 11 at device 12.0 on pci0 rl0: Ethernet address: 00:40:05:87:27:cd miibus0: <MII bus> on rl0 rlphy0: <RealTek internal media interface> on miibus0 rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
On Mon, 15 Sep 2003, William Wong wrote:> With a normal NIC config, without explicitly setting the media to 10baseT, > it will autosense as 100BaseT @ full-duplex, showing active. However I > can't ping any IP. My switch indicates that the port is not active either.Pinging your own IP tells you nothing, but link issues smells like a bad cable. -- Doug White | FreeBSD: The Power to Serve dwhite@gumbysoft.com | www.FreeBSD.org
> Hi there, > > I'm having an odd problem where this NIC (cheap-o, yes I know) doesn'tseem> to work on FreeBSD correctly. I have the same cards (even revisionmodels)> in two win boxen and they work fine. 10baseT works but not 100baseT. > > With a normal NIC config, without explicitly setting the media to 10baseT, > it will autosense as 100BaseT @ full-duplex, showing active. However I > can't ping any IP. My switch indicates that the port is not activeeither.> > If a 10baseT config, the switch will recognise that it's running at > half-duplex and all seems well. > > I've read posts here that changes in stable may have affected this, butI'm> still running a 4.9-RELEASE system. > > If anyone has any hints to why this is happening please E-mail me. Please > CC directly since I'm not subscribed to this list.Never, ever rely on the NIC and the switch to do proper auto-negotiation. It's not just a FreeBSD thing -- Cisco has many papers outlining why auto-negotiation doesn't work in practice. See 'man ifconfig' for details on how to configure your card for a particular media type upon bootup. -- Matt Emmerton