I'm now testing with an access point configured for WEP, and I found
an interesting case.

The daemon quickly starts up and gets to the point where it knows it
needs a WEP key to attach, but the GUI hasn't started yet, so it
fails.  We're now in the no-LLP-selected state.

The GUI starts one second later and fetches the LLP, WLAN, and known
AP lists -- twice.  It's then stuck.  Doing a right-click on the icon
gives me the usual selection menu, but selecting a WLAN from the list
does nothing at all.  It makes no calls to the daemon.

If I then force it to select wireless with the "always use" option, it
does the right thing and (eventually) prompts for the key.

Here's the output of "nwam-manager --debug" when the GUI is not
working:

** (nwam-manager:1389): DEBUG: ******** toggled testing - 0:40:96:29:e9:d8 
***** status on ***** wifi 0x812b250 ****
** (nwam-manager:1389): DEBUG: active wifi 0x812b250 toggled wifi 0x812b250
** (nwam-manager:1389): DEBUG: nwamui_ncp_get_active_ncu: self->prv->active_ncu 
=  0x00000000
** (nwam-manager:1389): DEBUG: nwamui_ncp_get_active_ncu: returning 0x00000000
** (nwam-manager:1389): DEBUG: ******** toggled testing - 0:40:96:29:e9:d8 
***** status off ***** wifi 0x812b250 ****
** (nwam-manager:1389): DEBUG: active wifi 0x0 toggled wifi 0x812b250


And the output when it does work:

** (nwam-manager:1389): DEBUG: ******** toggled testing - 0:40:96:29:e9:d8 
***** status on ***** wifi 0x812b250 ****
** (nwam-manager:1389): DEBUG: active wifi 0x812b250 toggled wifi 0x812b250
** (nwam-manager:1389): DEBUG: nwamui_ncp_get_active_ncu: self->prv->active_ncu 
=  0x08128F10
** (nwam-manager:1389): DEBUG: nwamui_ncp_get_active_ncu: returning 0x08128F10
** (nwam-manager:1389): DEBUG: 
        ENABLE  Wlan 0x812b250 - testing - 0:40:96:29:e9:d8

** (nwam-manager:1389): DEBUG: NwamuiNcu: wpi0: notify wifi-info changed

** (nwam-manager:1389): DEBUG: nwamd_event_handler : 4
** (nwam-manager:1389): DEBUG: NWAMUI_DAEMON_INFO_RAW led_type 2
** (nwam-manager:1389): DEBUG: set property called
** (nwam-manager:1389): DEBUG: NwamuiDaemon: notify event-cause changed

** (nwam-manager:1389): DEBUG: Interface wpi0 is down, Reason 'Different AP 
selected'
** (nwam-manager:1389): DEBUG: compare ncu: e1000g0 to target wpi0 : DIFFERENT
** (nwam-manager:1389): DEBUG: compare ncu: wpi0 to target wpi0 : SAME
** (nwam-manager:1389): DEBUG: NwamuiIp: notify is-v6 changed

** (nwam-manager:1389): DEBUG: NwamuiIp: notify subnet-prefix changed

** (nwam-manager:1389): DEBUG: NwamuiIp: notify address changed

** (nwam-manager:1389): DEBUG: NwamuiNcu: wpi0: notify ipv4-address changed

** (nwam-manager:1389): DEBUG: NwamuiNcu: wpi0: notify v4addresses changed

** (nwam-manager:1389): DEBUG: NCU Wireless (wpi0) (wpi0) down
** (nwam-manager:1389): DEBUG: ******** toggled testing - 0:40:96:29:e9:d8 
***** status off ***** wifi 0x812b250 ****
** (nwam-manager:1389): DEBUG: active wifi 0x0 toggled wifi 0x812b250
** (nwam-manager:1389): DEBUG: get_pixbuf: Seeking normal stock_id = 
network-location-warning
** (nwam-manager:1389): DEBUG: get_pixbuf: pixbuf loaded
** (nwam-manager:1389): DEBUG: Update tooltip called
** (nwam-manager:1389): DEBUG: Update tooltip setting tooltip to 'Wireless 
(wpi0) interface is active.'
** (nwam-manager:1389): DEBUG: nwamd_event_handler : 4
** (nwam-manager:1389): DEBUG: NWAMUI_DAEMON_INFO_RAW led_type 14
** (nwam-manager:1389): DEBUG: compare ncu: e1000g0 to target wpi0 : DIFFERENT
** (nwam-manager:1389): DEBUG: compare ncu: wpi0 to target wpi0 : SAME
** (nwam-manager:1389): DEBUG: nwamui_ncp_get_active_ncu: self->prv->active_ncu 
=  0x08128F10
** (nwam-manager:1389): DEBUG: nwamui_ncp_get_active_ncu: returning 0x08128F10
** (nwam-manager:1389): DEBUG: Wireless key needed for network 'testing'
** (nwam-manager:1389): DEBUG: Update tooltip called
** (nwam-manager:1389): DEBUG: Update tooltip setting tooltip to 'Wireless 
(wpi0) interface is active.'
** (nwam-manager:1389): DEBUG: nwamd_event_handler : 4
** (nwam-manager:1389): DEBUG: NWAMUI_DAEMON_INFO_RAW led_type 9
** (nwam-manager:1389): DEBUG: compare ncu: e1000g0 to target wpi0 : DIFFERENT
** (nwam-manager:1389): DEBUG: compare ncu: wpi0 to target wpi0 : SAME
** (nwam-manager:1389): DEBUG: set property called
** (nwam-manager:1389): DEBUG: NwamuiDaemon: notify event-cause changed

** (nwam-manager:1389): DEBUG: Interface 'wpi0' unselected, Reason: 'unknown'
** (nwam-manager:1389): DEBUG: nwamui_ncp_get_active_ncu: self->prv->active_ncu 
=  0x08128F10
** (nwam-manager:1389): DEBUG: nwamui_ncp_get_active_ncu: returning 0x08128F10
** (nwam-manager:1389): DEBUG: NCP: deactivate ncu wpi0
** (nwam-manager:1389): DEBUG: NwamuiNcu: wpi0: notify active changed

** (nwam-manager:1389): DEBUG: NwamuiProf: notify active-interface changed

** (nwam-manager:1389): DEBUG: NCP: activate ncu NULL
** (nwam-manager:1389): DEBUG: NwamuiNcp: notify active-ncu changed

** (nwam-manager:1389): DEBUG: Daemon got information type   10 msg Wireless 
(wpi0) interface brought down
Reason: unknown.

-- 
James Carlson, Solaris Networking              <james.d.carlson at sun.com>
Sun Microsystems / 35 Network Drive        71.232W   Vox +1 781 442 2084
MS UBUR02-212 / Burlington MA 01803-2757   42.496N   Fax +1 781 442 1677

Reply via email to