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
This commit is contained in:
Glen Barber 2011-03-12 19:05:39 +00:00
parent 3ea4913310
commit 48141d377d
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=219574

View File

@ -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