Copyright (c) 2008, Sun Microsystems, Inc. All Rights Reserved
The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
/usr/lib/inet/wpad [-i interface] [-k pre_shared_key_name]
The wpad daemon provides common client functionality for the WiFi Protected Access (WPA) versions 1 and 2, as defined by IEEE802.11i standard. WPA was created by the WiFi Alliance, an industry trade group. WPA implements the majority of the IEEE 802.11i standard, and was intended as an intermediate measure to take the place of Wired Equivalent Privacy (WEP) while 802.11i was prepared. WPA2 implements the full standard.
wpad provides the following WPA/IEEE 802.11i features:
WPA-PSK ("WPA-Personal")
Key management for CCMP, TKIP, WEP104, WEP40
Stop and start the wpad daemon using dladm(1M). Use:
# dladm connect-wifi
...to start the wpad daemon. Use:
# dladm disconnect-wifi
...to stop the daemon.
The following options are supported: -i interface
Specify a WiFi Link interface to start the wpad daemon.
Specify the pre-shared key used for the WiFi Link.
Example 1 Starting the wpad Daemon on Specific WiFi Link
To create the WPA key psk, enter the following command:
# dladm create-secobj -c wpa psk
To use key psk to connect to ESSID wlan on link ath0, enter the following command:
# dladm connect-wifi -k psk -e wlan ath0
Example 2 Stopping the wpad Daemon on Specific WiFi Link
To stop the daemon on the link ath0, enter:
# dladm disconnect-wifi ath0
See attributes(5) for descriptions of the following attributes:
ATTRIBUTE TYPE ATTRIBUTE VALUE |
Interface Stability Uncommitted |
svcs(1), dladm(1M), svcadm(1M), attributes(5), smf(5)
The wpad service is managed by the service management facility, smf(5), under the service identifier:
svc:/network/wpa:<link>
Administrative actions on this service, such as enabling, disabling, or requesting restart, can be performed using svcadm(1M). The service's status can be queried using the svcs(1) command.