I started looking at man ifconfig and found the section on
media:
media type
If the driver supports the media selection system, set the media
type of the interface to type. Some interfaces support the mutu-
ally exclusive use of one of several different physical media
connectors. For example, a 10Mb/s Ethernet interface might sup-
port the use of either AUI or twisted pair connectors. Setting
the media type to ``10base5/AUI'' would change the currently ac-
tive connector to the AUI port. Setting it to ``10baseT/UTP''
would activate twisted pair. Refer to the interfaces' driver
specific documentation or man page for a complete list of the
available types.
I didn't know where to look for more information, but when I did an ifconfig
on the card itself, I found the answer:
$ ifconfig dc0
dc0: flags=8843<up,broadcast,running,simplex,multicast> mtu 1500
inet 10.0.0.9 netmask 0xffffff00 broadcast 10.0.0.255
ether 00:80:ad:7f:4e:7b
media: autoselect status: active
supported media: autoselect 100baseTX <full-duplex>100baseTX 10baseT/UTP
10baseT/UTP 100baseTX <hw-loopback> none
There's the answer. Look at those media values.
Here is what I put in my /etc/rc.conf (all on one line"
ifconfig_dc0="inet 10.0.0.9 netmask 255.255.255.0 media 10baseT/UTP"
Things look good so far. It's only been 34 minutes of uptime, but we'll see how
it goes. I just started a make buildworld. I may have to amend this
article tomorrow night.
p.s.: This "solution" didn't actually work. After enough of these
attempts, I returned the NIC and will try some plain old 10M cards. |