Re: Phase2 patch v2



On Thu, 2007-02-01 at 14:44 +0100, Stefan Schmidt wrote:
> Hello.
> 
> On Wed, 2007-01-31 at 16:10, Volker Braun wrote:
> > 
> > Are you sure you are linking against the new libnm-util.so (and not your
> > old one with the extra phase2 argument)?
> 
> I purged all distro packages (Debian), build it with the source
> packages and your patch from scratch and it still don't work. :(
> 
> I even wrote a wrapper around wpa_supplicant to always give me -dd
> output, but it seems nm not even start to communicate with the
> supplicant.

If you edit the code in nm-device-802-11-device.c, in supplicant_exec():

-	char *	argv[4];
+	char *	argv[5];
	GError *	error = NULL;
	GPid		pid = -1;
	int		sup_stdout;

	argv[0] = WPA_SUPPLICANT_BIN;
	argv[1] = "-g";
	argv[2] = WPA_SUPPLICANT_GLOBAL_SOCKET;
-	argv[3] = NULL;
+	argv[3] = "-ddd";
+	argv[4] = NULL;

That will then make NM log everything that wpa_supplicant prints to
stdout and stderr, to the normal place that NM logs things.  If you run
NM as root with --no-daemon, it will go to your terminal.

We really need to get your NM output here to see what the problem is.

Dan

> This driving me nuts. :)
> 
> I'll take a look into it next week again as I have some other stuff to
> do right now.
> 
> BTW, your setup is dynamic WEP key + phase 2 or wpa enterprise +
> phase 2? Anybody else got such a setup working with the patch?
> 
> I get the feeling that something is wrong with my local setup.
> 
> regards
> Stefan Schmidt
> _______________________________________________
> NetworkManager-list mailing list
> NetworkManager-list gnome org
> http://mail.gnome.org/mailman/listinfo/networkmanager-list




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