http://defect.opensolaris.org/bz/show_bug.cgi?id=8869
Summary: nwam doesn't respect keyname in WLAN
Classification: Development
Product: nwam
Version: unspecified
Platform: ANY/Generic
OS/Version: All
Status: NEW
Severity: normal
Priority: P3
Component: ON daemon
AssignedTo: nwam-dev at opensolaris.org
ReportedBy: John.Leser at sun.com
QAContact: nwam-dev at opensolaris.org
I've been trying to pre-configure my WLAN to come up automatically without user
interaction. To do this, I've created an WLAN entry using nwamcfg:
nwamcfg list wlan LeserNet
WLAN:LeserNet
priority 0
keyname "LeserNet-Key"
bssids "0:21:29:b6:e8:cb"
And created the secure object LeserNet-Key using dladm create-secobj.
$ pfexec dladm show-secobj
OBJECT CLASS
LeserNet-Key wpa
When I do this, and start the nwam service, I get asked many times (via nwamadm
interact -v) to supply my WLAN key:
WLAN_NEED_KEY
Enter WLAN key for ESSID LeserNet, BSSID 0:21:29:b6:e8:cb:XXXXXXXXXX
Setting key XXXXXXXXXX
After I enter the correct key many times, I end up connected, but:
$ pfexec dladm show-secobj
OBJECT CLASS
nwam-LeserNet wpa
nwam-LeserNet-0.21.29.b6.e8.cb wpa
LeserNet-Key wpa
It looks like different strategies for generating the key name are used
throughout the code - it should be the keyname property for the WLAN
everywhere, I would think.
Sorry, I don't have a debug log for this, but I can redo the whole thing and
create one if that would be helpful.
--
Configure bugmail: http://defect.opensolaris.org/bz/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.