summaryrefslogtreecommitdiffstats
path: root/sbin/ifconfig/ifconfig.8
diff options
context:
space:
mode:
authorgjb <gjb@FreeBSD.org>2011-03-12 19:05:39 +0000
committergjb <gjb@FreeBSD.org>2011-03-12 19:05:39 +0000
commitf99117a37ba6dc6bc1a22fe27d458a4b7d01e75f (patch)
tree4edb258982a7f99bf96834425a9059204b9e0103 /sbin/ifconfig/ifconfig.8
parent47db500b776775c1ce05462601b2d0beca1dbc2a (diff)
downloadFreeBSD-src-f99117a37ba6dc6bc1a22fe27d458a4b7d01e75f.zip
FreeBSD-src-f99117a37ba6dc6bc1a22fe27d458a4b7d01e75f.tar.gz
Add example of using 'scan' for wireless networks, similarly to
OpenBSD's ifconfig(8). PR: 151952 Submitted by: Jared (rhyous of yahoo com) MFC after: 1 week
Diffstat (limited to 'sbin/ifconfig/ifconfig.8')
-rw-r--r--sbin/ifconfig/ifconfig.84
1 files changed, 4 insertions, 0 deletions
diff --git a/sbin/ifconfig/ifconfig.8 b/sbin/ifconfig/ifconfig.8
index a7735d5..39fca13 100644
--- a/sbin/ifconfig/ifconfig.8
+++ b/sbin/ifconfig/ifconfig.8
@@ -2537,6 +2537,10 @@ Create the software network interface
Destroy the software network interface
.Li gif1 :
.Dl # ifconfig gif1 destroy
+.Pp
+Scan for wireless networks using
+.Li wlan0 :
+.Dl # ifconfig wlan0 scan
.Sh DIAGNOSTICS
Messages indicating the specified interface does not exist, the
requested address is unknown, or the user is not privileged and
OpenPOWER on IntegriCloud