cannot connect to wpa personal, but wpa_supplicant alone works

Bug #55448 reported by Peter Frühberger
10
Affects Status Importance Assigned to Milestone
network-manager (Ubuntu)
New
Undecided
Unassigned

Bug Description

when i try to connect with network-manager to my wpa access point, i get the following in syslog:
(attached in the 2nd post, to be better readable)

if i connect only with wpa_supplicant, i get a successfull connection:

wpa_supplicant -Dwext -ieth1 -c /etc/wpa_supplicant.conf

wpa_supplicant.conf looks like this:
ctrl_interface=/var/run/wpa_supplicant

ctrl_interface_group=0

ap_scan=1

network={
  ssid="fritschwlan"
  psk="mein Passwort"
  priority=5
}

driver:
ndiswrapper -l
Installed ndis drivers:
neta504 driver present, hardware presen

installed versions:
ii network-manager 0.6.3-2ubuntu2 network management framework daemon
ii network-manager-dev 0.6.2-0ubuntu7 network management framework (plugin develop
ii network-manager-gnome 0.6.3-2ubuntu2 network management framework (GNOME frontend

ii wpasupplicant 0.5.4-2ubuntu1 Client support for WPA and WPA2 (IEEE 802.11

ii dhcp3-client 3.0.4-6ubuntu4 DHCP Client
ii dhcp3-common 3.0.4-6ubuntu4 Common files used by all the dhcp3* packages
ii dhcp3-relay 3.0.4-6ubuntu4 DHCP Relay

Tags: wireless
Revision history for this message
Peter Frühberger (peter-fruehberger) wrote :

error messages in attachment

description: updated
Revision history for this message
Stefano (cantastefano) wrote :

I confirm this bug. It happens to me, too.
I can only connect through wpa_supplicant alone, not by network-manager. It worked for dapper, though.

Revision history for this message
Darren Albers (dalbers) wrote :

I think the problem is the wirelss drivers workaround patch, this patch sends -Dndiswrapper when it detects ndiswrapper rather than -Dwext. This is because the older versions of NDISWrapper did not support the latest wireless extensions.

I /think/ ndiswrapper > 1.18 (edgy ships with 1.22) support the latest wext so that patch should be backed out for ndiswrapper.

I don't have access to a box to do a proper diff but this is what should change:

in src/nm-device-802-11-wireless.c

- else if (!strcmp (kernel_driver, "ndiswrapper"))
- wpa_driver = "ndiswrapper";

This was reported on the NM devel list as well here:
http://mail.gnome.org/archives/networkmanager-list/2006-September/msg00083.html

Revision history for this message
Sokraates (sokraates) wrote :

Connecting my HP nx6110 (Broadcom 4318 rev2) to my router using WPA worked in Dapper and Edgy, but no longer in Feisty. changing the encryption to WEP "solves" the issue. This seems similar to bug 86039.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.