Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756488AbYHBOiO (ORCPT ); Sat, 2 Aug 2008 10:38:14 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753089AbYHBOh6 (ORCPT ); Sat, 2 Aug 2008 10:37:58 -0400 Received: from ogre.sisk.pl ([217.79.144.158]:37158 "EHLO ogre.sisk.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752176AbYHBOh5 (ORCPT ); Sat, 2 Aug 2008 10:37:57 -0400 From: "Rafael J. Wysocki" To: Justin Madru Subject: Re: [2.6.27-rc1] Can't connect to encrypted network Date: Sat, 2 Aug 2008 16:41:02 +0200 User-Agent: KMail/1.9.6 (enterprise 20070904.708012) Cc: lkml References: <4893DC52.9060203@gawab.com> In-Reply-To: <4893DC52.9060203@gawab.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200808021641.02487.rjw@sisk.pl> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 10687 Lines: 206 On Saturday, 2 of August 2008, Justin Madru wrote: > Hi, > > When I use the 2.6.27-rc1 kernel I can't connect to an encrypted > network; the connection times out. Connecting to unencrypted works fine. > If I use my distro's kernel (2.6.24) or my build 2.6.26 kernel it is > able to connect. I'm using Ubuntu 8.4 and an intel 3945 card. > Am I doing something wrong? or is this a regression? I get the following > in my syslog: > > NetworkManager: [1217605131.709159] > nm_device_802_11_wireless_get_activation_ap(): Forcing AP '6DTY0' > NetworkManager: User Switch: > /org/freedesktop/NetworkManager/Devices/wlan0 / 6DTY0 > NetworkManager: Deactivating device wlan0. > dhclient: There is already a pid file /var/run/dhclient.wlan0.pid with > pid 4333 > dhclient: killed old client process, removed PID file > dhclient: wmaster0: unknown hardware address type 801 > dhclient: wmaster0: unknown hardware address type 801 > dhclient: DHCPRELEASE on wlan0 to 192.168.1.254 port 67 > avahi-daemon[3220]: Withdrawing address record for 192.168.1.5 on wlan0. > avahi-daemon[3220]: Leaving mDNS multicast group on interface wlan0.IPv4 > with address 192.168.1.5. > avahi-daemon[3220]: Interface wlan0.IPv4 no longer relevant for mDNS. > NetworkManager: Device wlan0 activation scheduled... > NetworkManager: Activation (wlan0) started... > NetworkManager: Activation (wlan0) Stage 1 of 5 (Device Prepare) > scheduled... > NetworkManager: Activation (wlan0) Stage 1 of 5 (Device Prepare) > started... > NetworkManager: Activation (wlan0) Stage 2 of 5 (Device > Configure) scheduled... > NetworkManager: Activation (wlan0) Stage 1 of 5 (Device Prepare) > complete. > NetworkManager: Activation (wlan0) Stage 2 of 5 (Device > Configure) starting... > NetworkManager: Activation (wlan0/wireless): access point > '6DTY0' is encrypted, but NO valid key exists. New key needed. > NetworkManager: Activation (wlan0) New wireless user key > requested for network '6DTY0'. > NetworkManager: Activation (wlan0) Stage 2 of 5 (Device > Configure) complete. > NetworkManager: Activation (wlan0) New wireless user key for > network '6DTY0' received. > NetworkManager: Activation (wlan0) Stage 1 of 5 (Device Prepare) > scheduled... > NetworkManager: Activation (wlan0) Stage 1 of 5 (Device Prepare) > started... > NetworkManager: Activation (wlan0) Stage 2 of 5 (Device > Configure) scheduled... > NetworkManager: Activation (wlan0) Stage 1 of 5 (Device Prepare) > complete. > NetworkManager: Activation (wlan0) Stage 2 of 5 (Device > Configure) starting... > NetworkManager: Activation (wlan0/wireless): access point > '6DTY0' is encrypted, and a key exists. No new key needed. > NetworkManager: retry to connect to global supplicant socket > (try=1) > NetworkManager: SUP: sending command 'INTERFACE_ADD > wlan0^I^Iwext^I/var/run/wpa_supplicant0^I' > NetworkManager: SUP: response was 'OK' > NetworkManager: SUP: sending command 'AP_SCAN 1' > NetworkManager: SUP: response was 'OK' > NetworkManager: SUP: sending command 'ADD_NETWORK' > NetworkManager: SUP: response was '0' > NetworkManager: SUP: sending command 'SET_NETWORK 0 ssid > 3644545930' > NetworkManager: SUP: response was 'OK' > NetworkManager: SUP: sending command 'SET_NETWORK 0 key_mgmt NONE' > NetworkManager: SUP: response was 'OK' > NetworkManager: SUP: sending command 'SET_NETWORK 0 wep_key0 ' > NetworkManager: SUP: response was 'OK' > NetworkManager: SUP: sending command 'SET_NETWORK 0 > wep_tx_keyidx 0' > NetworkManager: SUP: response was 'OK' > NetworkManager: SUP: sending command 'ENABLE_NETWORK 0' > NetworkManager: SUP: response was 'OK' > NetworkManager: Activation (wlan0) Stage 2 of 5 (Device > Configure) complete. > NetworkManager: Supplicant state changed: 0 > last message repeated 27 times > NetworkManager: Supplicant state changed: 1 > NetworkManager: Activation (wlan0/wireless) Stage 2 of 5 (Device > Configure) successful. Connected to access point '6DTY0'. > NetworkManager: Activation (wlan0) Stage 3 of 5 (IP Configure > Start) scheduled. > NetworkManager: Activation (wlan0) Stage 3 of 5 (IP Configure > Start) started... > NetworkManager: Activation (wlan0) Beginning DHCP transaction. > NetworkManager: DHCP daemon state is now 12 (successfully > started) for interface wlan0 > NetworkManager: Activation (wlan0) Stage 3 of 5 (IP Configure > Start) complete. > dhclient: There is already a pid file /var/run/dhclient.wlan0.pid with > pid 134519072 > dhclient: wmaster0: unknown hardware address type 801 > dhclient: wmaster0: unknown hardware address type 801 > NetworkManager: DHCP daemon state is now 1 (starting) for > interface wlan0 > NetworkManager: Old device 'wlan0' activating, won't change. > dhclient: DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 6 > dhclient: DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 10 > dhclient: DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 15 > ntpd[4566]: sendto(217.160.254.116) (fd=18): Invalid argument > ntpd[4566]: sendto(69.65.110.186) (fd=18): Invalid argument > ntpd[4566]: sendto(204.152.186.173) (fd=18): Invalid argument > ntpd[4566]: sendto(69.36.240.252) (fd=18): Invalid argument > dhclient: No DHCPOFFERS received. > dhclient: Trying recorded lease 192.168.1.17 > avahi-daemon[3220]: Joining mDNS multicast group on interface wlan0.IPv4 > with address 192.168.1.17. > avahi-daemon[3220]: New relevant interface wlan0.IPv4 for mDNS. > avahi-daemon[3220]: Registering new address record for 192.168.1.17 on > wlan0.IPv4. > avahi-daemon[3220]: Withdrawing address record for 192.168.1.17 on wlan0. > avahi-daemon[3220]: Leaving mDNS multicast group on interface wlan0.IPv4 > with address 192.168.1.17. > avahi-daemon[3220]: Interface wlan0.IPv4 no longer relevant for mDNS. > avahi-autoipd(wlan0)[5220]: Found user 'avahi-autoipd' (UID 104) and > group 'avahi-autoipd' (GID 112). > avahi-autoipd(wlan0)[5220]: Successfully called chroot(). > avahi-autoipd(wlan0)[5220]: Successfully dropped root privileges. > avahi-autoipd(wlan0)[5220]: Starting with address 169.254.8.72 > avahi-autoipd(wlan0)[5220]: Callout BIND, address 169.254.8.72 on > interface wlan0 > avahi-daemon[3220]: Joining mDNS multicast group on interface wlan0.IPv4 > with address 169.254.8.72. > avahi-daemon[3220]: New relevant interface wlan0.IPv4 for mDNS. > avahi-daemon[3220]: Registering new address record for 169.254.8.72 on > wlan0.IPv4. > ntpd[4566]: Listening on interface #3 wlan0:avahi, 169.254.8.72#123 Enabled > ntpd[4566]: Deleting interface #2 wlan0, 192.168.1.5#123, interface > stats: received=36, sent=36, dropped=4, active_time=601 secs > avahi-autoipd(wlan0)[5220]: Successfully claimed IP address 169.254.8.72 > NetworkManager: DHCP daemon state is now 8 (timeout) for > interface wlan0 > NetworkManager: Activation (wlan0) Stage 4 of 5 (IP Configure > Timeout) started... > NetworkManager: [1217605189.015977] > real_act_stage4_ip_config_timeout(): Activation (wlan0/wireless): could > not get IP configuration info for '6DTY0', asking for new key. > NetworkManager: Activation (wlan0) Stage 4 of 5 (IP Configure > Timeout) scheduled... > dhclient: Trying recorded lease 192.168.1.1 > avahi-autoipd(wlan0)[5220]: A routable address has been configured. > avahi-daemon[3220]: Leaving mDNS multicast group on interface wlan0.IPv4 > with address 169.254.8.72. > avahi-autoipd(wlan0)[5220]: Callout UNBIND, address 169.254.8.72 on > interface wlan0 > avahi-daemon[3220]: Joining mDNS multicast group on interface wlan0.IPv4 > with address 192.168.1.1. > avahi-daemon[3220]: Registering new address record for 192.168.1.1 on > wlan0.IPv4. > avahi-daemon[3220]: Withdrawing address record for 169.254.8.72 on wlan0. > NetworkManager: Activation (wlan0) New wireless user key > requested for network '6DTY0'. > NetworkManager: Activation (wlan0) Stage 4 of 5 (IP Configure > Timeout) complete. > avahi-autoipd(wlan0)[5220]: No longer a routable address configured, > restarting probe process. > avahi-daemon[3220]: Withdrawing address record for 192.168.1.1 on wlan0. > avahi-daemon[3220]: Leaving mDNS multicast group on interface wlan0.IPv4 > with address 192.168.1.1. > avahi-daemon[3220]: Interface wlan0.IPv4 no longer relevant for mDNS. > dhclient: Trying recorded lease 192.168.1.65 > NetworkManager: DHCP daemon state is now 8 (timeout) for > interface wlan0 > avahi-autoipd(wlan0)[5220]: A routable address has been configured. > avahi-daemon[3220]: Joining mDNS multicast group on interface wlan0.IPv4 > with address 192.168.1.65. > avahi-daemon[3220]: New relevant interface wlan0.IPv4 for mDNS. > avahi-daemon[3220]: Registering new address record for 192.168.1.65 on > wlan0.IPv4. > NetworkManager: Activation (wlan0) New wireless user key request > for network '6DTY0' was canceled. > NetworkManager: Activation (wlan0) failure scheduled... > NetworkManager: Activation (wlan0) failed for access point (6DTY0) > NetworkManager: Activation (wlan0) failed. > NetworkManager: Deactivating device wlan0. > dhclient: There is already a pid file /var/run/dhclient.wlan0.pid with > pid 5169 > dhclient: killed old client process, removed PID file > dhclient: wmaster0: unknown hardware address type 801 > dhclient: wmaster0: unknown hardware address type 801 > avahi-autoipd(wlan0)[5220]: No longer a routable address configured, > restarting probe process. > avahi-daemon[3220]: Withdrawing address record for 192.168.1.65 on wlan0. > avahi-daemon[3220]: Leaving mDNS multicast group on interface wlan0.IPv4 > with address 192.168.1.65. > avahi-daemon[3220]: Interface wlan0.IPv4 no longer relevant for mDNS. > dhclient: DHCPRELEASE on wlan0 to 192.168.1.254 port 67 > dhclient: send_packet: Network is unreachable > dhclient: send_packet: please consult README file regarding broadcast > address. > avahi-autoipd(wlan0)[5220]: Got SIGTERM, quitting. Please test the current -git (2.6.27-rc1-git4 as of today). Thanks, Rafael -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/