From owner-svn-src-all@FreeBSD.ORG Sat Mar 19 00:35:11 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7F85F106564A; Sat, 19 Mar 2011 00:35:11 +0000 (UTC) (envelope-from gjb@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 6F9FE8FC0A; Sat, 19 Mar 2011 00:35:11 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p2J0ZBor084974; Sat, 19 Mar 2011 00:35:11 GMT (envelope-from gjb@svn.freebsd.org) Received: (from gjb@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p2J0ZBi8084972; Sat, 19 Mar 2011 00:35:11 GMT (envelope-from gjb@svn.freebsd.org) Message-Id: <201103190035.p2J0ZBi8084972@svn.freebsd.org> From: Glen Barber Date: Sat, 19 Mar 2011 00:35:11 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-7@freebsd.org X-SVN-Group: stable-7 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r219766 - stable/7/sbin/ifconfig X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 Mar 2011 00:35:11 -0000 Author: gjb (doc committer) Date: Sat Mar 19 00:35:11 2011 New Revision: 219766 URL: http://svn.freebsd.org/changeset/base/219766 Log: MFC 219574: - Add example of using 'scan' for wireless networks, similarly to OpenBSD's ifconfig(8). - wlan0 isn't available on 7.x, so substitute ath0 for wlan0 in the example. PR: 151952 Modified: stable/7/sbin/ifconfig/ifconfig.8 Directory Properties: stable/7/sbin/ifconfig/ (props changed) Modified: stable/7/sbin/ifconfig/ifconfig.8 ============================================================================== --- stable/7/sbin/ifconfig/ifconfig.8 Sat Mar 19 00:34:12 2011 (r219765) +++ stable/7/sbin/ifconfig/ifconfig.8 Sat Mar 19 00:35:11 2011 (r219766) @@ -1946,6 +1946,10 @@ Create the software network interface Destroy the software network interface .Li gif1 : .Dl # ifconfig gif1 destroy +.Pp +Scan for wireless networks using +.Li ath0 : +.Dl # ifconfig ath0 scan .Sh DIAGNOSTICS Messages indicating the specified interface does not exist, the requested address is unknown, or the user is not privileged and