On Tue, 21 Sep 2004 20:49:17 -0400, Frank Echanique <frank at ocfaq dot com> wrote:
> Ok background info first :-)
>
> lnc0 is my WAN pcn0 is my OPT1 and xl0 is my LAN, its on an intel BX board
> with a PIII 550 and 128mb ram, loads from a 2gb quantum drive
>
> Here is my ifconfig
>
> $ ifconfig
> lnc0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
> inet 209.42.51.155 netmask 0xffffff00 broadcast 209.42.51.255
> ether 00:00:f4:ae:3c:21
> pcn0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
> inet 192.168.1.1 netmask 0xffffff00 broadcast 192.168.1.255
> ether 00:30:84:0e:df:3d
> media: Ethernet 100baseFX <full-duplex>
> status: active
> xl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
> options=1<RXCSUM>
> inet 192.168.10.1 netmask 0xffffff00 broadcast 192.168.10.255
> ether 00:01:02:66:d9:42
> media: Ethernet 100baseFX
> lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
> inet 127.0.0.1 netmask 0xff000000
> ppp0: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
> sl0: flags=c010<POINTOPOINT,LINK2,MULTICAST> mtu 552
> faith0: flags=8002<BROADCAST,MULTICAST> mtu 1500
>
> ok first thig is first, I need to get xl0 my lan interface to full duplex,
> it is a 3Com 3c905FX 100FX network card, which I know for a fact support
> full duplex
>
> when I type the "ifconfig xl0 media 100BaseFX mediaopt full-duplex" command
> I get this…
>
> $ ifconfig xl0 media 100BaseFX mediaopt full-duplex
> ifconfig: SIOCSIFMEDIA: Device not configured
>
> any suggestions on this?
>
media "100BaseFX" isn't a valid option for the xl driver. I'd try
just giving it the mediaopt line without the media part.
From 'man xl':
The xl driver supports the following media types:
autoselect Enable autoselection of the media type and options.
Note that this option is only available with the
3c905 and 3c905B adapters with external PHYs or
built-in autonegotiation logic. For 3c900
adapters, the driver will choose the mode specified
adding
media options to the /etc/rc.conf file.
10baseT/UTP Set 10Mbps operation. The mediaopt option can also
be used to select either full-duplex or half-duplex
modes.
100baseTX Set 100Mbps (fast ethernet) operation. The
mediaopt option can also be used to select either
full-duplex or half-duplex modes.
10base5/AUI Enable AUI transceiver (available only on COMBO
cards).
10base2/BNC Enable BNC coax transceiver (available only on
COMBO cards).
The xl driver supports the following media options:
full-duplex Force full duplex operation
half-duplex Force half duplex operation.
-Chris |