diff options
author | Jason McIntyre <jmc@cvs.openbsd.org> | 2008-10-20 09:58:18 +0000 |
---|---|---|
committer | Jason McIntyre <jmc@cvs.openbsd.org> | 2008-10-20 09:58:18 +0000 |
commit | 782d0d3eb7b8f71c782a07fbb33aefe93a000d53 (patch) | |
tree | 99e5e20b9d39991c148640c78b06be7f41755f2e /sbin | |
parent | 4bcb5a17c397dcaa67190d7232da1531718cb04a (diff) |
add an example of how to scan for wireless networks, since it is not
immediately obvious from reading the main text or the wireless pages;
i killed the "ifconfig gif1 destroy" example to do this, since i want to
keep EXAMPLES relatively short, and we already provide an example of
how to create an interface;
Diffstat (limited to 'sbin')
-rw-r--r-- | sbin/ifconfig/ifconfig.8 | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sbin/ifconfig/ifconfig.8 b/sbin/ifconfig/ifconfig.8 index df08bd5e7bf..79e75dd1280 100644 --- a/sbin/ifconfig/ifconfig.8 +++ b/sbin/ifconfig/ifconfig.8 @@ -1,4 +1,4 @@ -.\" $OpenBSD: ifconfig.8,v 1.171 2008/09/30 13:11:48 deraadt Exp $ +.\" $OpenBSD: ifconfig.8,v 1.172 2008/10/20 09:58:17 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: September 30 2008 $ +.Dd $Mdocdate: October 20 2008 $ .Dt IFCONFIG 8 .Os .Sh NAME @@ -1214,9 +1214,9 @@ Create the gif1 network interface: .Pp .Dl # ifconfig gif1 create .Pp -Destroy the gif1 network interface: +Scan for wireless networks using bwi0: .Pp -.Dl # ifconfig gif1 destroy +.Dl # ifconfig bwi0 chan .Sh DIAGNOSTICS Messages indicating the specified interface does not exist, the requested address is unknown, or the user is not privileged and |