From owner-svn-src-stable@FreeBSD.ORG Sat Mar 19 00:34:12 2011 Return-Path: Delivered-To: svn-src-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DB1961065675; Sat, 19 Mar 2011 00:34:12 +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 CB0648FC0A; Sat, 19 Mar 2011 00:34:12 +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 p2J0YCoK084914; Sat, 19 Mar 2011 00:34:12 GMT (envelope-from gjb@svn.freebsd.org) Received: (from gjb@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p2J0YCQ8084912; Sat, 19 Mar 2011 00:34:12 GMT (envelope-from gjb@svn.freebsd.org) Message-Id: <201103190034.p2J0YCQ8084912@svn.freebsd.org> From: Glen Barber Date: Sat, 19 Mar 2011 00:34:12 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org X-SVN-Group: stable-8 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r219765 - stable/8/sbin/ifconfig X-BeenThere: svn-src-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for all the -stable branches of the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 Mar 2011 00:34:13 -0000 Author: gjb (doc committer) Date: Sat Mar 19 00:34:12 2011 New Revision: 219765 URL: http://svn.freebsd.org/changeset/base/219765 Log: MFC 219574,219575: - Add example of using 'scan' for wireless networks, similarly to OpenBSD's ifconfig(8)[1]. - remove unneeded newline PR: 151952 [1] Modified: stable/8/sbin/ifconfig/ifconfig.8 Directory Properties: stable/8/sbin/ifconfig/ (props changed) Modified: stable/8/sbin/ifconfig/ifconfig.8 ============================================================================== --- stable/8/sbin/ifconfig/ifconfig.8 Sat Mar 19 00:31:35 2011 (r219764) +++ stable/8/sbin/ifconfig/ifconfig.8 Sat Mar 19 00:34:12 2011 (r219765) @@ -2508,7 +2508,6 @@ to use 100baseTX, full duplex Ethernet m .Dl # ifconfig xl0 media 100baseTX mediaopt full-duplex .Pp Label the em0 interface as an uplink: -.Pp .Dl # ifconfig em0 description \&"Uplink to Gigabit Switch 2\&" .Pp Create the software network interface @@ -2518,6 +2517,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