|
Description
|
Described by Erik Nordmark
---------------------------
I think this issue has been around for a while, but now with NWAM I trip on it all the time. Running snv_62 as I test this.
With ath (but pcwl doesn't have this issue) there is an order dependency between -e and -k on the connect-wifi command line.
This works:
ifconfig ath0 plumb
dladm connect-wifi -e netgear -k nwam-netgear-0.f.66.87.3.b2 ath0
ifconfig ath0 dhcp start primary
But this does not work:
ifconfig ath0 plumb
dladm connect-wifi -k nwam-netgear-0.f.66.87.3.b2 -e netgear ath0
ifconfig ath0 dhcp start primary
The connect-wifi succeeds, but dhcp times out. When I look with snoop I see that I can receive packets just fine, but none of the packets transmitted by DHCPagent make it to the DHCP server.
Could it be that somehow the transmit key(?) isn't been set correctly with the second order of -k/-e.
As I said, with pcwl both orders work.
|