NetworkManager und wpa_supplicant overview



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


.



Relevant Pages

  • Re: What is the matter with fedora 9?
    ... After about a dozen installs of Fedora 9 I cannot agree with you on that. ... On every system save one there is only one network connection, in each of those cases it's been /dev/eth0 and NM would not enable the connection by default. ... I disable the NetworkManager service and enable the network service during kickstart installs. ...
    (Fedora)
  • Re: Prism II card not working
    ... > The card is recognized as a wifi card by kudzu, but none of the settings I ... 'NetworkManager' service? ... service NetworkManager stop ...
    (Fedora)
  • Re: FC3 Wireless "Profiles"
    ... > NetworkManager is what you want. ... > I don't know if it has a KDE counterpart to the gnome applet, ... I still have to manually enter my wireless network settings ...
    (Fedora)
  • No Longer Can Edit Devices Settings Using system-config-network
    ... can change the DNS settings) but after installing the latest Fedora 8 ... I turned off NetworkManager and killed ... wired network as of the latest yum update. ...
    (Fedora)
  • Re: gnome problems
    ... > sound and the ability to use Networkmanager. ... You could try creating a new user account and logging in to that first; ... it'll have the clean default settings. ...
    (Fedora)