Re: NM 0.7 can't connect to WPA network



On Thu, 2007-12-13 at 18:14 -0400, Joel Goguen wrote:
> Joel Goguen wrote:
> > I built NM 0.7 from SVN (current as of this morning) and when I try to 
> > connect to a WPA network, I get these messages.  Unfortunately, I'm not 
> > certain where to even begin looking to debug this, but hopefully some 
> > info about the network itself is a start.  The SSID contains only 
> > alphanumeric characters, but the passphrase contains non-alphanumeric 
> > characters, including # and !.  It's WPA/TKIP.  The same thing also 
> > happens on a WPA-Enterprise network using TTLS/PAP.  In this case, both 
> > the SSID and passphrase contain non-alphanumeric characters, including ! 
> > and @.  I'm running Ubuntu 7.10 and the driver is madwifi 0.9.3.  Both 
> > these networks worked perfectly using NM 0.6.5.
> > 
> > Any pointers on where to look to help debug this or suggestions to get 
> > this working would be greatly appreciated.
> > 
> > [jgoguen hermes:~/Code/network-manager-applet]$ sudo 
> > /usr/sbin/NetworkManager 
> > --pid-file=/var/run/NetworkManager/NetworkManager.pid --no-daemon
> > NetworkManager: <info>  starting...
> > NetworkManager: <info>  eth0: Device is fully-supported using driver 'sky2'.
> > NetworkManager: <info>  (eth0): exporting device as 
> > /org/freedesktop/Hal/devices/net_00_17_f2_2b_c6_20
> > NetworkManager: <info>  Now managing wired Ethernet (802.3) device 'eth0'.
> > NetworkManager: <info>  Bringing up device eth0
> > NetworkManager: <info>  Deactivating device eth0.
> > NetworkManager: <info>  ath0: Device is fully-supported using driver 
> > 'ath_pci'.
> > NetworkManager: <info>  (ath0): exporting device as 
> > /org/freedesktop/Hal/devices/net_00_16_cb_bc_a6_4b
> > NetworkManager: <info>  Now managing wireless (802.11) device 'ath0'.
> > NetworkManager: <info>  Bringing up device ath0
> > NetworkManager: <info>  Deactivating device ath0.
> > NetworkManager: <info>  (eth0) supplicant interface is now in state 2 
> > (from 1).
> > NetworkManager: <info>  (ath0) supplicant interface is now in state 2 
> > (from 1).
> > NetworkManager: <info>  User request for activation of ath0.
> > NetworkManager: <info>  Activating device ath0
> > NetworkManager: <info>  Activation (ath0) Stage 1 of 5 (Device Prepare) 
> > scheduled...
> > NetworkManager: <info>  Activation (ath0) Stage 1 of 5 (Device Prepare) 
> > started...
> > NetworkManager: <info>  Activation (ath0) Stage 2 of 5 (Device 
> > Configure) scheduled...
> > NetworkManager: <info>  Activation (ath0) Stage 1 of 5 (Device Prepare) 
> > complete.
> > NetworkManager: <info>  Activation (ath0) Stage 2 of 5 (Device 
> > Configure) starting...
> > NetworkManager: <info>  Activation (ath0/wireless): access point 'Auto 
> > GamerCorner' has security, but secrets are required.
> > NetworkManager: <info>  Activation (ath0) Stage 2 of 5 (Device 
> > Configure) complete.
> > NetworkManager: <WARN>  get_secrets_cb(): Couldn't get connection 
> > secrets: applet.c.3297 (get_secrets_dialog_response_cb): failed to hash 
> > setting '802-11-wireless-security'..
> > NetworkManager: <info>  Activation (ath0) failed for access point 
> > (GamerCorner)
> > NetworkManager: <info>  Marking connection 'Auto GamerCorner' invalid.
> > NetworkManager: <info>  Activation (ath0) failed.
> > NetworkManager: <info>  Deactivating device ath0.
> > 
> > ---------------------------------------------------
> > 
> > [jgoguen hermes:~/Code/network-manager-applet]$ nm-applet --sm-disable
> > 
> > ** (nm-applet:4949): WARNING **: No connections defined
> > 
> > ** (nm-applet:4949): WARNING **: No networks found in the configuration 
> > database
> > ** Message: <info>  No keyring secrets found for Auto 
> > GamerCorner/802-11-wireless-security; ask the user
> > 
> > ** Message: <info>  Got setting name: 802-11-wireless-security
> > 
> > 
> > ** (nm-applet:4949): CRITICAL **: nm_setting_to_hash: assertion 
> > `NM_IS_SETTING (setting)' failed
> > 
> > ** (nm-applet:4949): WARNING **: applet.c.3295 
> > (get_secrets_dialog_response_cb): failed to hash setting 
> > '802-11-wireless-security'.
> > 
> > 
> NM 0.7 also can't connect to an open wireless point, but wpa_supplicant
> works fine.  Here's the output from this test.  Also, in both cases I
> started wpa_supplicant with the '-u' and '-B' flags before NetworkManager.

This is with madwifi, right?  What driver were you using (madwifi or
wext) when running wpa_supplicant manually?  Can you post your
wpa_supplicant config?

Dan

> [jgoguen hermes:~]$ sudo /usr/sbin/NetworkManager
> --pid-file=/var/run/NetworkManager/NetworkManager.pid --no-daemon
> [sudo] password for jgoguen:
> NetworkManager: <info>  starting...
> NetworkManager: <info>  eth0: Device is fully-supported using driver 'sky2'.
> NetworkManager: <info>  (eth0): exporting device as
> /org/freedesktop/Hal/devices/net_00_17_f2_2b_c6_20
> NetworkManager: <info>  Now managing wired Ethernet (802.3) device 'eth0'.
> NetworkManager: <info>  Bringing up device eth0
> NetworkManager: <info>  Deactivating device eth0.
> NetworkManager: <info>  ath0: Device is fully-supported using driver
> 'ath_pci'.
> NetworkManager: <info>  (ath0): exporting device as
> /org/freedesktop/Hal/devices/net_00_16_cb_bc_a6_4b
> NetworkManager: <info>  Now managing wireless (802.11) device 'ath0'.
> NetworkManager: <info>  Bringing up device ath0
> NetworkManager: <info>  Deactivating device ath0.
> NetworkManager: <info>  (eth0) supplicant interface is now in state 2
> (from 1).
> NetworkManager: <info>  (ath0) supplicant interface is now in state 2
> (from 1).
> NetworkManager: <info>  User request for activation of ath0.
> NetworkManager: <info>  Activating device ath0
> NetworkManager: <info>  Activation (ath0) Stage 1 of 5 (Device Prepare)
> scheduled...
> NetworkManager: <info>  Activation (ath0) Stage 1 of 5 (Device Prepare)
> started...
> NetworkManager: <info>  Activation (ath0) Stage 2 of 5 (Device
> Configure) scheduled...
> NetworkManager: <info>  Activation (ath0) Stage 1 of 5 (Device Prepare)
> complete.
> NetworkManager: <info>  Activation (ath0) Stage 2 of 5 (Device
> Configure) starting...
> NetworkManager: <info>  Activation (ath0/wireless): connection 'Auto
> Crumbs' requires no security.  No secrets needed.
> NetworkManager: <info>  Config: added 'ssid' value 'Crumbs'
> NetworkManager: <info>  Config: added 'key_mgmt' value 'NONE'
> NetworkManager: <info>  Activation (ath0) Stage 2 of 5 (Device
> Configure) complete.
> NetworkManager: <info>  (ath0) Supplicant interface state change: 2 -> 0
> NetworkManager: <info>  Config: set interface ap_scan to 1
> NetworkManager: <info>  (ath0) Supplicant interface state change: 0 -> 2
> NetworkManager: <info>  (ath0) Supplicant interface state change: 2 -> 3
> NetworkManager: <info>  ath0: link timed out.
> NetworkManager: <info>  (ath0) Supplicant interface state change: 3 -> 0
> NetworkManager: <info>  (ath0) Supplicant interface state change: 0 -> 2
> NetworkManager: <info>  (ath0) Supplicant interface state change: 2 -> 3
> NetworkManager: <info>  Activation (ath0/wireless): association took too
> long, failing activation.
> NetworkManager: <info>  Activation (ath0) failed for access point (Crumbs)
> NetworkManager: <info>  Marking connection 'Auto Crumbs' invalid.
> NetworkManager: <info>  Activation (ath0) failed.
> NetworkManager: <info>  Deactivating device ath0.
> NetworkManager: <WARN>  remove_network_cb(): Couldn't remove network
> from supplicant interface: The requested network does not exist..
> 
> 
> 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]