ifconfig.8 (fc2814036cead960c8788231e5c9f028de2f491c) ifconfig.8 (d04b5dfe6cb5c950c97bcc0c5742c01d1d8d33f9)
1.\" Copyright (c) 1983, 1991, 1993
2.\" The Regents of the University of California. All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.

--- 272 unchanged lines hidden (view full) ---

281.Ar type .
282Some interfaces support the mutually exclusive use of one of several
283different physical media connectors.
284For example, a 10Mb/s Ethernet
285interface might support the use of either
286.Tn AUI
287or twisted pair connectors.
288Setting the media type to
1.\" Copyright (c) 1983, 1991, 1993
2.\" The Regents of the University of California. All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.

--- 272 unchanged lines hidden (view full) ---

281.Ar type .
282Some interfaces support the mutually exclusive use of one of several
283different physical media connectors.
284For example, a 10Mb/s Ethernet
285interface might support the use of either
286.Tn AUI
287or twisted pair connectors.
288Setting the media type to
289.Dq 10base5/AUI
289.Dq Li 10base5/AUI
290would change the currently active connector to the AUI port.
291Setting it to
290would change the currently active connector to the AUI port.
291Setting it to
292.Dq 10baseT/UTP
292.Dq Li 10baseT/UTP
293would activate twisted pair.
294Refer to the interfaces' driver
295specific documentation or man page for a complete list of the
296available types.
297.It Cm mediaopt Ar opts
298If the driver supports the media selection system, set the specified
299media options on the interface.
300The

--- 6 unchanged lines hidden (view full) ---

307If the driver supports the media selection system, disable the
308specified media options on the interface.
309.It Cm mode Ar mode
310If the driver supports the media selection system, set the specified
311operating mode on the interface to
312.Ar mode .
313For IEEE 802.11 wireless interfaces that support multiple operating modes
314this directive is used to select between 802.11a
293would activate twisted pair.
294Refer to the interfaces' driver
295specific documentation or man page for a complete list of the
296available types.
297.It Cm mediaopt Ar opts
298If the driver supports the media selection system, set the specified
299media options on the interface.
300The

--- 6 unchanged lines hidden (view full) ---

307If the driver supports the media selection system, disable the
308specified media options on the interface.
309.It Cm mode Ar mode
310If the driver supports the media selection system, set the specified
311operating mode on the interface to
312.Ar mode .
313For IEEE 802.11 wireless interfaces that support multiple operating modes
314this directive is used to select between 802.11a
315.Pq Dq 11a ,
315.Pq Dq Li 11a ,
316802.11b
316802.11b
317.Pq Dq 11b ,
317.Pq Dq Li 11b ,
318and 802.11g
318and 802.11g
319.Pq Dq 11g
319.Pq Dq Li 11g
320operating modes.
321.It Cm name Ar name
322Set the interface name to
323.Ar name .
324.It Cm rxcsum , txcsum
325If the driver supports user-configurable checksum offloading,
326enable receive (or transmit) checksum offloading on the interface.
327Some drivers may not be able to enable these flags independently

--- 294 unchanged lines hidden (view full) ---

622Many
623adaptors ignore this setting unless you are in ad-hoc mode.
624.It Cm authmode Ar mode
625For IEEE 802.11 wireless interfaces, set the desired authentication mode
626in infrastructure mode.
627Not all adaptors support all modes.
628The set of
629valid modes is
320operating modes.
321.It Cm name Ar name
322Set the interface name to
323.Ar name .
324.It Cm rxcsum , txcsum
325If the driver supports user-configurable checksum offloading,
326enable receive (or transmit) checksum offloading on the interface.
327Some drivers may not be able to enable these flags independently

--- 294 unchanged lines hidden (view full) ---

622Many
623adaptors ignore this setting unless you are in ad-hoc mode.
624.It Cm authmode Ar mode
625For IEEE 802.11 wireless interfaces, set the desired authentication mode
626in infrastructure mode.
627Not all adaptors support all modes.
628The set of
629valid modes is
630.Dq none ,
631.Dq open ,
630.Dq Li none ,
631.Dq Li open ,
632and
632and
633.Dq shared .
633.Dq Li shared .
634Modes are case insensitive.
635.It Cm powersave
636For IEEE 802.11 wireless interfaces, enable powersave mode.
637.It Fl powersave
638For IEEE 802.11 wireless interfaces, disable powersave mode.
639.It Cm powersavesleep Ar sleep
640For IEEE 802.11 wireless interfaces, set the desired max powersave sleep
641time in milliseconds.
642.It Cm protmode Ar technique
643For IEEE 802.11 wireless interfaces operating in 11g, use the specified
634Modes are case insensitive.
635.It Cm powersave
636For IEEE 802.11 wireless interfaces, enable powersave mode.
637.It Fl powersave
638For IEEE 802.11 wireless interfaces, disable powersave mode.
639.It Cm powersavesleep Ar sleep
640For IEEE 802.11 wireless interfaces, set the desired max powersave sleep
641time in milliseconds.
642.It Cm protmode Ar technique
643For IEEE 802.11 wireless interfaces operating in 11g, use the specified
644technique for protecting OFDM frames in a mixed 11b/11g network.
644.Ar technique
645for protecting OFDM frames in a mixed 11b/11g network.
645The set of valid techniques is
646The set of valid techniques is
646.Dq off ,
647.Dq cts
647.Dq Li off ,
648.Dq Li cts
648(CTS to self),
649and
649(CTS to self),
650and
650.Dq rtscts
651.Dq Li rtscts
651(RTS/CTS).
652Technique names are case insensitive.
653.It Cm rtsthreshold Ar length
652(RTS/CTS).
653Technique names are case insensitive.
654.It Cm rtsthreshold Ar length
654For IEEE 802.11 wireless interfaces, set the threshold for which
655For IEEE 802.11 wireless interfaces, set the threshold for which
655transmitted frames are preceded by transmission of an
656RTS
657control frame.
656transmitted frames are preceded by transmission of an
657RTS
658control frame.
658.Ar Length
659The
660.Ar length
661argument
659is the frame size in bytes and must be in the range 1 to 2312.
660Not all adaptors support setting the RTS threshold.
661.It Cm txpower Ar power
662For IEEE 802.11 wireless interfaces, set the power used to transmit frames.
662is the frame size in bytes and must be in the range 1 to 2312.
663Not all adaptors support setting the RTS threshold.
664.It Cm txpower Ar power
665For IEEE 802.11 wireless interfaces, set the power used to transmit frames.
663.Ar Power
666The
667.Ar power
668argument
664is a unitless value in the range 0 to 100 that is interpreted
665by drivers to derive a device-specific value.
666Out of range values are truncated.
667Typically only a few discreet power settings are available and
668the driver will use the setting closest to the specified value.
669Not all adaptors support changing the transmit power.
670.It Cm wepmode Ar mode
671For IEEE 802.11 wireless interfaces, set the desired WEP mode.
672Not all adaptors support all modes.
673The set of valid modes is
669is a unitless value in the range 0 to 100 that is interpreted
670by drivers to derive a device-specific value.
671Out of range values are truncated.
672Typically only a few discreet power settings are available and
673the driver will use the setting closest to the specified value.
674Not all adaptors support changing the transmit power.
675.It Cm wepmode Ar mode
676For IEEE 802.11 wireless interfaces, set the desired WEP mode.
677Not all adaptors support all modes.
678The set of valid modes is
674.Dq off ,
675.Dq on ,
679.Dq Li off ,
680.Dq Li on ,
676and
681and
677.Dq mixed .
678.Dq Mixed
682.Dq Li mixed .
683The
684.Dq Li mixed
679mode explicitly tells the adaptor to allow association with access
680points which allow both encrypted and unencrypted traffic.
681On these adaptors,
685mode explicitly tells the adaptor to allow association with access
686points which allow both encrypted and unencrypted traffic.
687On these adaptors,
682.Dq on
688.Dq Li on
683means that the access point must only allow encrypted connections.
684On other adaptors,
689means that the access point must only allow encrypted connections.
690On other adaptors,
685.Dq on
691.Dq Li on
686is generally another name for
692is generally another name for
687.Dq mixed .
693.Dq Li mixed .
688Modes are case insensitive.
689.It Cm weptxkey Ar index
690For IEEE 802.11 wireless interfaces, set the WEP key to be used for
691transmission.
692.It Cm wepkey Ar key Ns | Ns Ar index : Ns Ar key
693For IEEE 802.11 wireless interfaces, set the selected WEP key.
694If an
695.Ar index

--- 143 unchanged lines hidden ---
694Modes are case insensitive.
695.It Cm weptxkey Ar index
696For IEEE 802.11 wireless interfaces, set the WEP key to be used for
697transmission.
698.It Cm wepkey Ar key Ns | Ns Ar index : Ns Ar key
699For IEEE 802.11 wireless interfaces, set the selected WEP key.
700If an
701.Ar index

--- 143 unchanged lines hidden ---