NetworkManager und wpa_supplicant overview
- From: Boris Glawe <public@xxxxxxxxxxxxxx>
- Date: Wed, 26 Dec 2007 15:30:50 +0100
Hello,
I cannot connect to my AP via WPA/2 anymore after upgrading my distro to
Fedora 8.
I'm using NetworkManager. My WLAN Adapter is a Netgear wg511v2 which can
only be run via ndiswrapper.
Here's what happens during the establishment of the connection
(interpreted by me from the log entries in /var/log/messages):
- The NetworkManager detects the desired Network/SSID and tries to connect
- The NetworkManager detects that "secrets" are required and uses the
gnome-keyring-daemon to retrieve the correct PSK. The PSK is
99.99999999% correct - I've checked it a thousand times. If I
intentionally enter a different PSK, it is rejected by the NetworkManager.
- The NetworkManager shows this (maybe relevant) message in
/var/log/messages:
Dec 25 19:56:10 esel NetworkManager: Missing or invalid key management
- The NetworkManager uses these values for wpa_supplicant configurtaion:
Dec 25 19:56:10 esel NetworkManager: <info> Config: added 'ssid' value
'anuoona'
Dec 25 19:56:10 esel NetworkManager: <info> Config: added 'key_mgmt'
value 'WPA-PSK'
Dec 25 19:56:10 esel NetworkManager: <info> Config: added 'psk' value
'<omitted>'
Dec 25 19:56:10 esel NetworkManager: <info> Config: added 'proto' value
'WPA RSN'
Dec 25 19:56:10 esel NetworkManager: <info> Config: added 'pairwise'
value 'TKIP CCMP'
Dec 25 19:56:10 esel NetworkManager: <info> Config: added 'group' value
'WEP40 WEP104 TKIP CCMP'
These settings are different (!) to the settings which I've specified
in /etc/wpa_supplicant/wpa_supplicant.conf!!
- The NetworkManager detects a successfully established connection:
Dec 25 19:56:16 esel NetworkManager: <info> Activation (wlan0/wireless)
Stage 2 of 5 (Device Configure) successful. Connected to wireless
network 'anuoona'.
- The NetworkManager tries to retrieve an IP-Adress via DHCP and fails!
It tries again an again, each time increasing an "interval" value (maybe
a time to wait for response?) and fails after 45 seconds.
- The AP logs an error message "authorisation failed" while connecting!
The connection can be successfully established (including a successfull
DHCP configuration), if I disable all encryption on the AP.
What do you thing is going wrong here? It work with my Fedora 7
Distibution. I've tried to copy my wpa_supplicant.conf from my old
installation (from a backup), but it did not work.
Is my wpa_supplicant.conf used at all? I'm assuming the opposite due to
two facts: First of all the NetworkManager uses totally different
settings than those specified in my wpa_supplicant.conf (according to
the log messages above) and secondly I've found some settings with
gconftool-2: in /system/networking/wireless/networks
(command: gconftool-2 -R /system/networking/wireless/networks)
How can I influence the the settings used by the NetworkManager if not via /etc/wpa_supplicant/wpa_supplicant.conf??
What could be the reason for the connection failure?
Thanks for any reply and greets
Boris
.
- Prev by Date: Re: hosts.allow does not resolve names
- Next by Date: Re: Wireless security
- Previous by thread: Re: hosts.allow does not resolve names
- Next by thread: 128 bit WEP
- Index(es):
Relevant Pages
|