Deleted Added
full compact
ifconfig.8 (76326) ifconfig.8 (77217)
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.

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

25.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
26.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
27.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
28.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30.\" SUCH DAMAGE.
31.\"
32.\" From: @(#)ifconfig.8 8.3 (Berkeley) 1/5/94
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.

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

25.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
26.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
27.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
28.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30.\" SUCH DAMAGE.
31.\"
32.\" From: @(#)ifconfig.8 8.3 (Berkeley) 1/5/94
33.\" $FreeBSD: head/sbin/ifconfig/ifconfig.8 76326 2001-05-07 07:42:56Z ru $
33.\" $FreeBSD: head/sbin/ifconfig/ifconfig.8 77217 2001-05-26 09:27:08Z phk $
34.\"
35.Dd February 13, 1996
36.Dt IFCONFIG 8
37.Os BSD 4.2
38.Sh NAME
39.Nm ifconfig
40.Nd configure network interface parameters
41.Sh SYNOPSIS

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

408.It Cm up
409Mark an interface
410.Dq up .
411This may be used to enable an interface after an
412.Dq ifconfig down .
413It happens automatically when setting the first address on an interface.
414If the interface was reset when previously marked down,
415the hardware will be re-initialized.
34.\"
35.Dd February 13, 1996
36.Dt IFCONFIG 8
37.Os BSD 4.2
38.Sh NAME
39.Nm ifconfig
40.Nd configure network interface parameters
41.Sh SYNOPSIS

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

408.It Cm up
409Mark an interface
410.Dq up .
411This may be used to enable an interface after an
412.Dq ifconfig down .
413It happens automatically when setting the first address on an interface.
414If the interface was reset when previously marked down,
415the hardware will be re-initialized.
416.It Cm ssid Ar ssid
417For IEEE 802.11 wireless interfaces, set the desired Service Set
418Identifier (aka network name.) The SSID is a string up to 32 characters
419in length and may be specified as either a normal string or in
420hexadecimal when proceeded by
421.Sq 0x .
422Additionally, the SSID may be cleared by setting it to
423.Sq - .
424.It Cm nwid Ar ssid
425Another name for the
426.Dq ssid
427parameter. Included for NetBSD compatibility.
428.It Cm stationname Ar name
429For IEEE 802.11 wireless interfaces, set the name of this station.
430It appears that the station name is not really part of the IEEE 802.11
431protocol though all interfaces seem to support it. As such it only
432seems to be meaningful to identical or virtually identical equipment.
433Setting the station name is identical in syntax to setting the SSID.
434.It Cm station Ar name
435Another name for the
436.Dq stationname
437parameter. Included for BSD/OS compatibility.
438.It Cm channel Ar number
439For IEEE 802.11 wireless interfaces, set the desired channel.
440Channels range from 1 to 14, but the exact selection available
441depends on the region your adaptor was manufactured for. Setting
442the channel to 0 will give you the default for your adaptor. Many
443adaptors ignore this setting unless you are in ad-hoc mode.
444.It Cm authmode Ar mode
445For IEEE 802.11 wireless interfaces, set the desired authentication mode
446in infrastructure mode. Not all adaptors support all modes. The set of
447valid modes is
448.Dq none ,
449.Dq open ,
450and
451.Dq shared .
452Modes are case insensitive.
453.It Cm powersave
454For IEEE 802.11 wireless interfaces, enable powersave mode.
455.It Cm -powersave
456For IEEE 802.11 wireless interfaces, disable powersave mode.
457.It Cm powersavesleep Ar sleep
458For IEEE 802.11 wireless interfaces, set the desired max powersave sleep
459time in milliseconds.
460.It Cm wepmode Ar mode
461For IEEE 802.11 wireless interfaces, set the desired WEP mode. Not all
462adaptors support all modes. The set of valid modes is
463.Dq off ,
464.Dq on ,
465and
466.Dq mixed .
467.Dq Mixed
468mode explicitly tells the adaptor to allow association with access
469points which allow both encrypted and unencrypted traffic. On these
470adaptors,
471.Dq on
472means that the access point must only allow encrypted connections. On
473other adaptors,
474.Dq on
475is generally another name for
476.Dq mixed .
477Modes are case insensitive.
478.It Cm weptxkey Ar index
479For IEEE 802.11 wireless interfaces, set the WEP key to be used for
480transmission.
481.It Cm wepkey Ar key|index:key
482For IEEE 802.11 wireless interfaces, set the selected WEP key. If
483an
484.Ar index
485is not given, key 1 is set. A WEP key will be either 5 or 13
486characters (40 or 104 bits) depending of the local network and the
487capabilities of the adaptor. It may be specified either as a plain
488string or as a string of hexadecimal digits proceeded by
489.Sq 0x .
490A key may be cleared by setting it to
491.Sq - .
492If WEP is supported then there are at least four keys. Some adaptors
493support more then four keys. If that is the case, then the first four keys
494(1-4) will be the standard temporary keys and any others will be adaptor
495specific keys such as permanent keys stored in NVRAM.
496.It Cm wep
497Another way of saying
498.Dq wepmode on .
499Included for BSD/OS compatibility.
500.It Cm -wep
501Another way of saying
502.Dq wepmode off .
503Included for BSD/OS compatibility.
504.It Cm nwkey key
505Another way of saying:
506.Pp
507``wepmode on weptxkey 1 wepkey 1:key wepkey 2:- wepkey 3:- wepkey 4:-''.
508.Pp
509Included for NetBSD compatibility.
510.It Cm nwkey n:k1,k2,k3,k4
511Another way of saying
512.Pp
513``wepmode on weptxkey n wepkey 1:k1 wepkey 2:k2 wepkey 3:k3 wepkey 4:k4''.
514.Pp
515Included for NetBSD compatibility.
516.It Cm -nwkey
517Another way of saying
518.Dq wepmode off .
519.Pp
520Included for NetBSD compatibility.
416.El
417.Pp
418.Nm Ifconfig
419displays the current configuration for a network interface
420when no optional parameters are supplied.
421If a protocol family is specified,
422.Nm
423will report only the details specific to that protocol family.

--- 60 unchanged lines hidden ---
521.El
522.Pp
523.Nm Ifconfig
524displays the current configuration for a network interface
525when no optional parameters are supplied.
526If a protocol family is specified,
527.Nm
528will report only the details specific to that protocol family.

--- 60 unchanged lines hidden ---