summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjmc <jmc@openbsd.org>2015-02-02 08:25:05 +0000
committerjmc <jmc@openbsd.org>2015-02-02 08:25:05 +0000
commite5dadb5bf0228e39798aad5769dbec5fcc281ff4 (patch)
treee2077b349c6064db3c9023c254b89052fea300f9
parentturn UpdateHostkeys off by default until I figure out mlarkin@'s (diff)
downloadwireguard-openbsd-e5dadb5bf0228e39798aad5769dbec5fcc281ff4.tar.xz
wireguard-openbsd-e5dadb5bf0228e39798aad5769dbec5fcc281ff4.zip
replace the wireless scan example with one showing how to select monitor
mode: the wireless pages already carry the scan example, and this one seems a fair substitute; the diff is from bradain foley, tweaked according to some suggestions from stsp;
-rw-r--r--sbin/ifconfig/ifconfig.88
1 files changed, 4 insertions, 4 deletions
diff --git a/sbin/ifconfig/ifconfig.8 b/sbin/ifconfig/ifconfig.8
index be5e0bd5b7c..3b312ddf53a 100644
--- a/sbin/ifconfig/ifconfig.8
+++ b/sbin/ifconfig/ifconfig.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: ifconfig.8,v 1.249 2014/12/03 21:30:30 florian Exp $
+.\" $OpenBSD: ifconfig.8,v 1.250 2015/02/02 08:25:05 jmc Exp $
.\" $NetBSD: ifconfig.8,v 1.11 1996/01/04 21:27:29 pk Exp $
.\" $FreeBSD: ifconfig.8,v 1.16 1998/02/01 07:03:29 steve Exp $
.\"
@@ -31,7 +31,7 @@
.\"
.\" @(#)ifconfig.8 8.4 (Berkeley) 6/1/94
.\"
-.Dd $Mdocdate: December 3 2014 $
+.Dd $Mdocdate: February 2 2015 $
.Dt IFCONFIG 8
.Os
.Sh NAME
@@ -1570,9 +1570,9 @@ Create the gif1 network interface:
.Pp
.Dl # ifconfig gif1 create
.Pp
-Scan for wireless networks using bwi0:
+Put the athn0 wireless interface into monitor mode:
.Pp
-.Dl # ifconfig bwi0 scan
+.Dl # ifconfig athn0 mediaopt monitor
.Sh DIAGNOSTICS
Messages indicating the specified interface does not exist, the
requested address is unknown, or the user is not privileged and