Ifport
sets the transceiver type for the specified network interface, for
drivers that support multiple transceiver types. If a type is not
specified on the command line, then the current type is displayed.
The type can be specified either numerically or by keyword. The five
standard transceiver types
(auto,
10baseT,
10base2,
aui,
and
100baseT)
correspond to codes 0 to 3, for all the Linux PCMCIA network drivers.
The keyword match is case insensitive.
The network drivers may not reconfigure a card for a new transceiver
type if the interface is already open. It is best to invoke
ifport
prior to configuring the interface with
ifconfig
to ensure that the new setting takes effect immediately.
This utility only works with a limited set of 16-bit PC Card drivers:
3c589_cs,
nmclan_cs,
pcnet_cs,
smc91c92_cs,
and
xirc2ps_cs.
If invoked for other drivers,
ifport
may report bogus transceiver
settings, or report ``Operation not supported''.
DIAGNOSTICS
ioctl: Operation not supported
Indicates that this network device does not support manual transceiver
selection. There may be only one transceiver option, or the device
may always autodetect the appropriate transceiver.