svn commit: r219765 - stable/8/sbin/ifconfig

Glen Barber gjb at
Sat Mar 19 00:34:13 UTC 2011

Author: gjb (doc committer)
Date: Sat Mar 19 00:34:12 2011
New Revision: 219765

  MFC 219574,219575:
  - Add example of using 'scan' for wireless networks, similarly to
    OpenBSD's ifconfig(8)[1].
  - remove unneeded newline
  PR:		151952 [1]

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
 Label the em0 interface as an uplink:
 .Dl # ifconfig em0 description \&"Uplink to Gigabit Switch 2\&"
 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
+Scan for wireless networks using
+.Li wlan0 :
+.Dl # ifconfig wlan0 scan
 Messages indicating the specified interface does not exist, the
 requested address is unknown, or the user is not privileged and

More information about the svn-src-stable-8 mailing list