Hello Everybody!

As I can't use rt2500 with networkmanager (due the lack of 
wpa_supplicant-support) I tried ndiswrapper-1.2 (?) on gentoo and it works fine 
with networkmanager. On dapper - with ndiswrapper-1.8 - nm doesn't connect. 
Manually trying to run wpa_supplicant I discovered that I get a connection with 
my ap when NOT using -Dndiswrapper BUT -Dwext.

Back to networkmanager: I found a workaround in 
src/nm-device-802-11-wireless.c, 

if (!strcmp (kernel_driver, "ath_pci"))
        wpa_driver = "madwifi";
else if (!strcmp (kernel_driver, "ndiswrapper"))
        wpa_driver = "ndiswrapper";
else
        wpa_driver = "wext";

which I removed (well, at least the part concerning ndiswrapper). Finally 
networkmanager connects fine.

BTW: Installing the source with "apt-src network-manager", the workaround isn't 
applied (it's in src/nm-device-802-11-wireless.c.orig). I removed the lines 
from src/nm-device-802-11-wireless.c.orig and copied it over to 
src/nm-device-802-11-wireless.c and build a package, which works fine.

Ciao,

Olaf 

Attachment: pgp6z9se79BdO.pgp
Description: PGP signature

_______________________________________________
NetworkManager-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/networkmanager-list

Reply via email to