Re: wireless driver workarounds



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: pgpe0wvexUVS1.pgp
Description: PGP signature



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]