ipw3945 fails to associate

2007-04-03 Thread Hector Centeno
Hi,

My system: Asus Aspire 5570 laptop with ipw3945 wireless card. Using
Fedora Core 6 I can't make NetworkManager to associate to either
encrypted or unencrypted wireless access points. Using a terminal and
iwconfg at the same location associates instantly and dhclient works
fine. NetworkManager in the same laptop, same access point but using
Ubuntu works perfectly. I would like to get FC6 to work bcause it's
the distro I want to use. This are the logs I get in /var/log/messages

Apr  2 18:10:48 localhost NetworkManager: information User Switch:
/org/freedesktop/NetworkManager/Devices/eth1 / TPLwireless
Apr  2 18:10:48 localhost NetworkManager: information Deactivating
device eth1.
Apr  2 18:10:48 localhost NetworkManager: information Activation
(eth1): cancelling...
Apr  2 18:10:48 localhost NetworkManager: information Activation
(eth1) cancellation handler scheduled...
Apr  2 18:10:48 localhost NetworkManager: information Activation
(eth1): waiting for device to cancel activation.
Apr  2 18:10:48 localhost dhclient: DHCPRELEASE on eth1 to 10.255.1.1 port 67
Apr  2 18:10:48 localhost dhclient: send_packet: Network is unreachable
Apr  2 18:10:48 localhost dhclient: send_packet: please consult README
file regarding broadcast address.
Apr  2 18:10:49 localhost NetworkManager: information Activation
(eth1) cancellation handled.
Apr  2 18:10:49 localhost NetworkManager: information Activation
(eth1): cancelled.
Apr  2 18:10:49 localhost NetworkManager: information Device eth1
activation scheduled...
Apr  2 18:10:49 localhost NetworkManager: information Activation
(eth1) started...
Apr  2 18:10:49 localhost NetworkManager: information Activation
(eth1) Stage 1 of 5 (Device Prepare) scheduled...
Apr  2 18:10:49 localhost NetworkManager: information Activation
(eth1) Stage 1 of 5 (Device Prepare) started...
Apr  2 18:10:49 localhost NetworkManager: information Activation
(eth1) Stage 2 of 5 (Device Configure) scheduled...
Apr  2 18:10:49 localhost NetworkManager: information Activation
(eth1) Stage 1 of 5 (Device Prepare) complete.
Apr  2 18:10:49 localhost NetworkManager: information Activation
(eth1) Stage 2 of 5 (Device Configure) starting...
Apr  2 18:10:49 localhost NetworkManager: information Activation
(eth1/wireless): access point 'TPLwireless' is unencrypted, no key
needed.
Apr  2 18:10:49 localhost NetworkManager: information SUP: sending
command 'INTERFACE_ADD eth1 wext/var/run/wpa_supplicant '
Apr  2 18:10:49 localhost NetworkManager: information SUP: response was 'OK'
Apr  2 18:10:49 localhost NetworkManager: information SUP: sending
command 'AP_SCAN 1'
Apr  2 18:10:49 localhost NetworkManager: information SUP: response was 'OK'
Apr  2 18:10:49 localhost NetworkManager: information SUP: sending
command 'ADD_NETWORK'
Apr  2 18:10:49 localhost NetworkManager: information SUP: response was '0'
Apr  2 18:10:49 localhost NetworkManager: information SUP: sending
command 'SET_NETWORK 0 ssid 54504c776972656c657373'
Apr  2 18:10:49 localhost NetworkManager: information SUP: response was 'OK'
Apr  2 18:10:49 localhost NetworkManager: information SUP: sending
command 'SET_NETWORK 0 key_mgmt NONE'
Apr  2 18:10:49 localhost NetworkManager: information SUP: response was 'OK'
Apr  2 18:10:49 localhost NetworkManager: information SUP: sending
command 'ENABLE_NETWORK 0'
Apr  2 18:10:49 localhost NetworkManager: information SUP: response was 'OK'
Apr  2 18:10:49 localhost NetworkManager: information Activation
(eth1) Stage 2 of 5 (Device Configure) complete.
Apr  2 18:10:53 localhost NetworkManager: information Old device
'eth1' activating, won't change.
Apr  2 18:10:59 localhost NetworkManager: information eth1: link timed out.
Apr  2 18:10:59 localhost NetworkManager: information Old device
'eth1' activating, won't change.
Apr  2 18:11:29 localhost NetworkManager: information Activation
(eth1/wireless): association took too long (40s), failing activation.
Apr  2 18:11:29 localhost NetworkManager: information Activation
(eth1) failure scheduled...
Apr  2 18:11:29 localhost NetworkManager: information Activation
(eth1) failed for access point (TPLwireless)
Apr  2 18:11:29 localhost NetworkManager: information Activation
(eth1) failed.
Apr  2 18:11:29 localhost NetworkManager: information Deactivating
device eth1.

The only changes I've done to the network configuration was to disable
IPv6 following this guide
http://www.mjmwired.net/resources/mjm-fedora-fc6.html#ipv6

Any help would be greatly appreciated! Please let me know what extra
information should I provide.

Hector



-- 
===
http://www.hcenteno.net
___
NetworkManager-list mailing list
NetworkManager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: ipw3945 fails to associate

2007-04-03 Thread Ryan Novosielski
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

I had a similar problem right after updating from Kubuntu 6.10 to 7.04.
My resolution for the problem was to reboot, having never touched the
card with iwconfig. I did not run complicated tests, since I was in a
hurry, but checking iwconfig on the card when NM was failing to
associated showed that it was turning encryption on and off repeatedly.

Conversely, if I've ever touched the device with NM, wpa_supplicant will
not work on the card (only finds access points with all-zero MAC's)
until a reboot where NM never touched the device.

I was running 2.6.17-11 until recently, but now I'm running a 2.6.20
series kernel. I haven't done much testing since I upgraded, so I don't
know if it will make a difference.

Hector Centeno wrote:
 Hi,
 
 My system: Asus Aspire 5570 laptop with ipw3945 wireless card. Using
 Fedora Core 6 I can't make NetworkManager to associate to either
 encrypted or unencrypted wireless access points. Using a terminal and
 iwconfg at the same location associates instantly and dhclient works
 fine. NetworkManager in the same laptop, same access point but using
 Ubuntu works perfectly. I would like to get FC6 to work bcause it's
 the distro I want to use. This are the logs I get in /var/log/messages
 
 Apr  2 18:10:48 localhost NetworkManager: information   User Switch:
 /org/freedesktop/NetworkManager/Devices/eth1 / TPLwireless
 Apr  2 18:10:48 localhost NetworkManager: information   Deactivating
 device eth1.
 Apr  2 18:10:48 localhost NetworkManager: information   Activation
 (eth1): cancelling...
 Apr  2 18:10:48 localhost NetworkManager: information   Activation
 (eth1) cancellation handler scheduled...
 Apr  2 18:10:48 localhost NetworkManager: information   Activation
 (eth1): waiting for device to cancel activation.
 Apr  2 18:10:48 localhost dhclient: DHCPRELEASE on eth1 to 10.255.1.1 port 67
 Apr  2 18:10:48 localhost dhclient: send_packet: Network is unreachable
 Apr  2 18:10:48 localhost dhclient: send_packet: please consult README
 file regarding broadcast address.
 Apr  2 18:10:49 localhost NetworkManager: information   Activation
 (eth1) cancellation handled.
 Apr  2 18:10:49 localhost NetworkManager: information   Activation
 (eth1): cancelled.
 Apr  2 18:10:49 localhost NetworkManager: information   Device eth1
 activation scheduled...
 Apr  2 18:10:49 localhost NetworkManager: information   Activation
 (eth1) started...
 Apr  2 18:10:49 localhost NetworkManager: information   Activation
 (eth1) Stage 1 of 5 (Device Prepare) scheduled...
 Apr  2 18:10:49 localhost NetworkManager: information   Activation
 (eth1) Stage 1 of 5 (Device Prepare) started...
 Apr  2 18:10:49 localhost NetworkManager: information   Activation
 (eth1) Stage 2 of 5 (Device Configure) scheduled...
 Apr  2 18:10:49 localhost NetworkManager: information   Activation
 (eth1) Stage 1 of 5 (Device Prepare) complete.
 Apr  2 18:10:49 localhost NetworkManager: information   Activation
 (eth1) Stage 2 of 5 (Device Configure) starting...
 Apr  2 18:10:49 localhost NetworkManager: information   Activation
 (eth1/wireless): access point 'TPLwireless' is unencrypted, no key
 needed.
 Apr  2 18:10:49 localhost NetworkManager: information   SUP: sending
 command 'INTERFACE_ADD eth1   wext/var/run/wpa_supplicant '
 Apr  2 18:10:49 localhost NetworkManager: information   SUP: response 
 was 'OK'
 Apr  2 18:10:49 localhost NetworkManager: information   SUP: sending
 command 'AP_SCAN 1'
 Apr  2 18:10:49 localhost NetworkManager: information   SUP: response 
 was 'OK'
 Apr  2 18:10:49 localhost NetworkManager: information   SUP: sending
 command 'ADD_NETWORK'
 Apr  2 18:10:49 localhost NetworkManager: information   SUP: response 
 was '0'
 Apr  2 18:10:49 localhost NetworkManager: information   SUP: sending
 command 'SET_NETWORK 0 ssid 54504c776972656c657373'
 Apr  2 18:10:49 localhost NetworkManager: information   SUP: response 
 was 'OK'
 Apr  2 18:10:49 localhost NetworkManager: information   SUP: sending
 command 'SET_NETWORK 0 key_mgmt NONE'
 Apr  2 18:10:49 localhost NetworkManager: information   SUP: response 
 was 'OK'
 Apr  2 18:10:49 localhost NetworkManager: information   SUP: sending
 command 'ENABLE_NETWORK 0'
 Apr  2 18:10:49 localhost NetworkManager: information   SUP: response 
 was 'OK'
 Apr  2 18:10:49 localhost NetworkManager: information   Activation
 (eth1) Stage 2 of 5 (Device Configure) complete.
 Apr  2 18:10:53 localhost NetworkManager: information   Old device
 'eth1' activating, won't change.
 Apr  2 18:10:59 localhost NetworkManager: information   eth1: link 
 timed out.
 Apr  2 18:10:59 localhost NetworkManager: information   Old device
 'eth1' activating, won't change.
 Apr  2 18:11:29 localhost NetworkManager: information   Activation
 (eth1/wireless): association took too long (40s), failing activation.