OpenSolaris
Collectives
Discussions
Documentation
Download
Source Browser
Free CD
Log-in
|
en
Community Group laptop
:
Wireless Networking
>
wpa_supplicant
Top Menu
Show
:
Comments
Attachments
History
Information
Print
:
Print
Print preview
Export as PDF
Export as RTF
Export as HTML
Export as XAR
Wiki code for
wpa_supplicant
Hide Line numbers
1: == Wireless WPA/WPA2/IEEE802.1X supplicant 2: 3: =====NOTE: WPA/Personal support has been integrated into OpenSolaris build 64, please refer wpad(1M), dladm(1M) for more details. 4: 5: This tool is based on the Linux WPA/WPA2/IEEE 802.1X Supplicant project and Sun elected to provide it under the BSD license. 6: 7: The wpa~_supplicant is the IEEE 802.1X/WPA component that is used on wireless clients and implements key negotiation with WPA Authenticator, controls roaming and IEEE 802.11 authentication/association of the wlan driver. wpa~_supplicant is a daemon that runs in the background and acts as backend component controlling wireless connections. 8: 9: Supported WPA/IEEE 802.11i features: 10: * WPA-PSK ("WPA-Personal") 11: * WPA with EAP (e.g., with RADIUS authentication server) ("WPA-Enterprise") 12: * Key management for CCMP, TKIP, WEP104, WEP40 13: * WPA and full IEEE 802.11i/RSN/WPA2 14: * RSN: PMKSA caching, pre-authentication 15: 16: Supported EAP methods (IEEE 802.1X Supplicant) 17: * EAP-TLS 18: 19: === Downloads 20: 21: * [[wpa_supplicant v0.1>>../../downloads/wpa-0.1-pkg.tar.gz]] daemon package 22: * [[ath-0.5>>../../downloads/ath-0.5-pkg.tar.gz]] driver package 23: * [[wificonfig-0.3>>../../downloads/wificonfig-0.3-pkg.tar.gz]] utility package 24: 25: * wpa_supplicant [[source code>>../../downloads/wpa-0.1-src.tar.gz]] 26: * ath-0.4 driver [[source code>>../../downloads/ath-0.4-src.tar.gz]] 27: 28: Note that these binary packages only works before OpenSolaris build 64, after that, you should download source code, and build in lastest workspace. 29: 30: === Installation 31: 32: Download pre-compiled wpa~_supplicant package and install it 33: 34: {{{ 35: # wget http://www.opensolaris.org/os/community/laptop/downloads/wpa-0.1-pkg.tar.gz 36: # gzip -dc wpa-0.1-pkg.tar.gz | tar xvf - 37: # cd wpa-0.1; pkgadd -d . SUNWwupu 38: }}} 39: 40: Download pre-compiled ath-0.4 driver package and install it 41: 42: {{{ 43: # wget http://www.opensolaris.org/os/community/laptop/downloads/ath-0.4-pkg.tar.gz 44: # gzip -dc ath-0.4-pkg.tar.gz | tar xvf - 45: # cd ath-0.4; pkgadd -d . SUNWatheros 46: }}} 47: 48: Download pre-compiled wificonfig-0.3 utility package and install it 49: 50: {{{ 51: # wget http://www.opensolaris.org/os/community/laptop/downloads/wificonfig-0.3-pkg.tar.gz 52: # gzip -dc wificonfig-0.3-pkg.tar.gz | tar xvf - 53: # cd wificonfig-0.3; pkgadd -d . SUNwlanu 54: }}} 55: 56: Note that Solaris Express already contains SUNWatheros (v0.1) and 57: SUNWwlanu (0.1) packages, so you need to manually remove them first using 58: pkgrm(1M). 59: 60: === Configuration 61: 62: The wpa~_supplicant daemon runs in the background, and wificonfig can 63: be used to connect to access points with WPA similarly to how it is done 64: for WEP. 65: 66: Step 1. Start wpa~_supplicant daemon: 67: 68: {{{ 69: # wpa~_supplicant -i ath0 70: }}} 71: 72: To see debugging information, wpa~_supplicant can be started as a frontend 73: program: 74: 75: {{{ 76: # wpa~_supplicant -i ath0 -F -dd 77: }}} 78: 79: Step 2. Use wificonfig to create new profile. Note that configuration 80: parameters are case sensitive. For WPA-PSK mode: 81: 82: {{{ 83: # wificonfig createprofile home essid=dlink psk=whatever 84: }}} 85: 86: Additional parameters can be specified (e.g., "proto=WPA key~_mgmt=WPA-PSK pairwise=TKIP"), but they’re not required. 87: 88: For EAP-TLS mode: 89: 90: {{{ 91: # wificonfig createprofile office essid=linksys key~_mgmt=WPA-EAP eap=TLS identity=user@sun.com ca~_cert=/etc/inet/WPA/cacert.pem client~_cert=/etc/inet/WPA/client~_cert.pem private~_key=/etc/inet/WPA/client~_key.pem private~_key~_passwd=whatever 92: }}} 93: 94: Step 3. Connect to your profile. 95: 96: {{{ 97: # ifconfig ath0 plumb 98: # wificonfig -i ath0 connect home 99: }}} 100: 101: You might want to check the status of the wireless link: 102: 103: {{{ 104: # wificonfig -i ath0 showstatus 105: }}} 106: 107: Link status property should say "connected". If not, try using the -dd option 108: for wpa~_supplicant to get additional debugging information. 109: 110: Step 4. Start DHCP client: 111: 112: {{{ 113: # ifconfig ath0 dhcp 114: }}} 115: 116: Step 5. You can connect to another AP at any time using wificonfig: 117: 118: {{{ 119: # wificonfig -i ath0 disconnect 120: # wificonfig -i ath0 connect office 121: }}} 122: 123: === FAQ 124: 125: 1) I can connect to my access point successfully, but I can’t get an IP 126: address through DHCP. 127: 128: Due to certain export control restrictions, stardard Solaris encryption kit only supports 128 bit RC4, so you might need to download and install new SUNWcry package. 129: 130: 2) wpa~_supplicant fails to start with error message °ld.so.1: wpa~_supplicant: fatal : libssl.so.0.9.7: open failed: No such file or directory". 131: 132: Make sure that openssl 0.9.7 or higher is installed on your system. You can 133: use the following command to determine your openssl version: 134: 135: {{{ 136: # /usr/sfw/bin/openssl version 137: OpenSSL 0.9.7d 17 Mar 2004 138: }}} 139: 140: 3) wpa_supplicant exits with "Failed to enable WPA in the driver error. 141: 142: Make sure your wireless driver supports WPA. Currently, only Atheros 143: driver v0.4 or higher version supports WPA. Other drivers with WPA support have not yet been released. 144: 145: 4) EAP-TLS doesn’t work. 146: 147: The EAP-TLS mode needs a Radius Server, such as Freeradius. Please contact 148: your network administrator to make sure your Radius Server and your AP are configured correctly and you have a certificate for your machine. 149: 150: 5) Why doesn’t CCMP encryption work? 151: 152: The wpa~_supplicant deamon supports both TKIP and CCMP, but Atheros wireless driver v0.4 does not yet support CCMP encryption. 153: 154: === Notes 155: 156: This is work in progress. Please send your questions and comments to laptop-discuss@opensolaris.org mailing list.
Search
Collectives
Community Group
Academic and Research
Accessibility
Advocacy
Appliances
Approachability
Architecture Process and Tools
BrandZ
Chinese Users
Community Advisory Board
Databases
Desktop
Device Drivers
Distribution
Documentation
DTrace
Emerging Platforms
Fault Management
Games on OpenSolaris
HA Clusters
HPC Developer
Installation and Packaging
Internationalization and Localization
Laptop
Logical Domains
Modular Debugger (MDB)
Networking
NFS
Observability
OpenSolaris Governing Board (OGB)
OpenSolaris Printing
OS/Net (ON)
Performance
Power Management
PowerPC
Security
Service Management Facility (smf(5))
Software Porters
Solaris Volume Manager
Storage
Systems Administration Community Group
Testing
Tools Home
Unix File Systems (UFS)
Website Community
X Window System
Xen
ZFS
Zones
Project
ADSL Modem Enhancement
ARC Process Definition
ARM Platform Port
Automatic Data Migration
BIND Update
Bluetooth Stack & Drivers
Brocade FC HBA - Initiator
Brocade FC HBA - Target
Brussels - unified network link configuration
Caiman, Solaris Install Revisited
Celeste
Český portál
Chime Visualization Tool for DTrace
CIFS client for Solaris
CIFS Server
Clearview: Network Interface Coherence
Cluster Agent: Informix Dynamic Server
Cluster Agent: OpenSolaris Container
Cluster Agent: OpenSolaris xVM
Cluster Agent: Oracle E-Business Suite
Cluster agent: PostgreSQL
Cluster Agent: Samba
Cluster Agent: Tomcat
CMT
Coarse Data Flow Parallelism
Colorado: Open HA Cluster on OpenSolaris
Command Assistant
Common Array Manager
Companion - /opt/sfw: Free and Open Source software
COMSTAR: Common Multiprotocol SCSI Target
Content
Contest
CPU Observability
Credentials Process Groups
Crossbow: Network Virtualization and Resource Control
Crypto KMS Agent Toolkit
Cryptographic Framework
Data Migration Manager
Data Tethers
Deutsches Portal
Device Detection Tool
Device Driver Utility
Device Manager
Device Mapper
Direct Rendering Infrastructure & 3D drivers
DTrace Guide
Duckwater: Simplified name services management
Easy Tools
Emancipation
Emulex Fibre Channel Device Driver
Emulex Advanced Ethernet Device Driver
Enable/Enhance Solaris support for Intel Platform
Enhance the support of USB webcams
Enhanced SMF Profiles
Enhancements for AMD-based Platforms
Erlang DTrace Integration
Ethernet bridge module for Solaris
Evaluate Conary
Events Registry
Ext3 file system support
F/OSS Package Base
Facilitation
Fibre Channel over Ethernet
Fine Grained Access Policy (FGAP)
Fingerprint Authentication
Flexible Mandatory Access Control
Forensic Tools
Fully Open X Project
Fuse on Solaris
gcore
Generic Machine Check Architecture Improvements
Google SOC
HA-JBoss
HA-MySQL
Hadoop Live CD
Hitachi
HoneyComb Fixed Content Storage
HPC Stack
Image Packaging System
Improved Performance MIB
Indiana
Innovation Awards
Input Method
Intel Graphics
Interrupt Resource Management
IP Datapath Refactoring
IP over Infiniband
IPsec Tunnel Reform
iSCSI Extensions for Remote DMA (iSER)
iSNS Server
JeOS - Just enough Operating System
JKstat - a java binding for libkstat
Journaled File System (JFS)
K Desktop Environment
Kerberos
Kernel Sockets
Kernel SSL Enhancements
Key Management Framework
Korn Shell 93 integration/migration project
Labeled IPsec
LatencyTOP
Layer 2 Filtering
LDoms Manager
Lending
libMicro - portable microbenchmarks
Link Layer Discovery
Live Media: Technologies for distributions running from CD and other media
Locale Data
lofi compression and cryptography support
lx64 brand
Media Management System
Mega_sas
Mexico
MilaX minimal Live Distribution
MIPS Platform Port
Mozilla DTrace
MRSL.NONsharedDevice
Multi-lingual Glossary
Multi-pathing software (MPxIO)
Multiple disk sector size support
Multiple DOI
Muskoka: An open repository for OpenSolaris technical content
Navigator
Nemo: A Framework for High-Performance Networking
Network Auto-Magic
Network Data Management Protocol
Network MIBs
Network Storage
Network Time Protocol (NTP)
Nevada Globalization
New Design of 4over6 Mechanism Based on OpenSolaris
NFS RDMA transport update and performance analysis
NFS Server in non-Global Zones
NFS version 4.1 pNFS
NFSv4 namespace extensions
Nightingale: Port Songbird to OpenSolaris
NPort ID Virtualization (NPIV)
NUMA
Object Storage Device (OSD) support for Solaris
OHACGE Script Based Plug-in
ON/Nevada (ONNV) Project
Open Development Infrastructure
Open HA Cluster Utilities
Open Sound System
OpenGrok
OpenPegasus CIM Server
OpenRTI
OpenSolaris Busybox
OpenSolaris Desktop
OpenSolaris Hispano
OpenSolaris Security Audit
OpenSolaris support for the QEMU processor emulator: host and guest
PEF: Packet Event Framework
Performance Wrappers
Pkgfactory
Polski Portal
Portail Francophone
Portal Brasil
Portals
Power Management Usability Interfaces
Presto: Automatic Printing Configuration
Printable Many Page Solaris Manuals
Promise SuperTrak RAID HBA Driver
QLogic Converged Network Adapter GLDv3 NIC Driver
Quagga Routing Protocol Suite Integration
RAID Configuration Utility
RBridge (IETF TRILL) support
RDMA Offload Framework
Reno: Login Process Enhancements for Interop
Resource Management
s10brand
SAM/QFS
SCM Migration Project
SCSI RDMA Protocol
SDcard Drivers
Sensor Abstraction Layer
Session Initiation Protocol
SFW
Shell: bourne shell, korn shell, C shell, etc.
Sierra: Intel WiFi Chipsets Support
Simple Panels
SM-HBA Based SAS HBA Management
SMF Documentation
Solaris iSCSI Target
Solaris PowerPC Port
SourceJuicer
Sparks: name service switch/nscd enhancements
Squashfs
Star integration/migration project
Starfish
Starter Kit
Storage Power Management
Sun Security Toolkit
Sun StorageTek Availability Suite
Support for OpenFabrics User Verbs / API on OpenSolaris OS
Support gcc4/GCCfss in Solaris
Suspend/Resume
SVR4 Packaging
Systemz
Tamarack: Removable Media Enhancements in Solaris
Tesla: OpenSolaris Enhanced Power Management
Test Development
Tickless Kernel Architecture
TIPC
Trademarks
Trusted networking interface policy database for Trusted Extensions
Trusted Platform Module support
Use Case
Validated Execution Project
Virtual Console
Virtual Network Machines
Visual Panels
Visualization for HPC
Volo
VRRP: Virtual Router Redundancy Protocol Implementation
VSCAN service
Web Stack
Website
Winchester: Schema mapping and ID mapping for AD Interoperability
Wireless USB Support
Wireless Wide Area Network
X Consolidation
x86 Generic FMA Topology Enumerator
Xen Gate
Xfce: A lightweight desktop environment
ZFS Boot and Install
ZFS on disk encryption support
Zone Manager
Zone Statistics
Русский портал
البوابة العربية
भारतीय पोर्टल
中国门户
日本ポータル
한국 포탈
User Group
Adelaide
Argentina
Arizona
Atlanta
Baltimore-Washington
Bangalore
Bangkok
Bangladesh
Beijing
Bélem
Berlin
Bhimavaram
Bloomington
Campus Ambassadors
Capital Region
Cardiff
Charlotte
Chengdu
Chennai
Chihuahua
Chile
Cleveland
Colombia
Columbus
Connecticut
Cracow
Czech
Dallas/Ft. Worth
Danish
Delaware
Edinburgh
Egypt
Finland
Florida
Front Range
FuZhou
Great Lakes
Greece
Hangzhou
Hawaii
HeFei
Houston
Hyderabad
Indonesia
Irish
Israel
Italian
Jinan
Kabul
Kansas City
Latvia
London
Madurai
Manchester
Mato Grosso
Melbourne
Minas Gerais
Minnesota
Montreal
Moscow
Mumbai
Munich
NEA
Netherlands
New England
New York City
New Zealand
NIT Hamirpur
Noroeste
Oklahoma City
Osnabrück
Peru
Philadelphia
Piaski
Pittsburgh
Porto Alegre
Puget Sound
Pune
Queensland
Research Triangle Park
Romania
Russia
San Antonio
San Diego
San Francisco
São Paulo
Scottish
Serbia
Shanghai
Shenzhen
Silicon Valley
Singapore
Slovak
South African
Southern Connecticut
St. Louis
Sweden
Switzerland
Sydney
Szczecin
Taiwan
Tecum
Thames Valley
Tokyo
Toronto
Trondheim
Tulsa
Turkey
Ukraine
University of Melbourne
Vale do Paraíba
Vancouver
Venezuela
Welsh - Cymru
Wisconsin
Xi'an
Subsites
Code Reviews
Code Repositories
Package Search
Bugster
Bugzilla
Test Machines
Planet
Mailing Lists
Elections & Polls
ARC Case Logs
Source Juicer
Package Factory
User Authentication
Community Group laptop Pages
Completed Laptop CRs
Contributors
HAL Cpufreq
Enhanced ACPI support
Intel Active Management Technology
Downloads
frkit
Gnome Power Management
Hotkey Display Device Switch
Solaris Laptop Hotkey Support
Inetmenu
Power Management
Suspend and Resume
Wireless Networking
Solaris Wireless FAQ
arn driver
ath driver
atu driver
cardbus driver
ipw driver
iwi driver
iwk driver
malo driver
mwl driver
ndis wrapper
pcan driver
pcwl driver
ral driver
rtw driver
rum driver
rwd driver
rwn driver
uath driver
ural driver
urtw driver
wificonfig
WiFi Devices List
wpa_supplicant
wpi driver
zyd driver