From: Dan Williams <dcbw@redhat.com>
To: Amitkumar Karwar <akarwar@marvell.com>
Cc: Julien Cubizolles <j.cubizolles@free.fr>,
"linux-wireless@vger.kernel.org" <linux-wireless@vger.kernel.org>,
Nishant Sarmukadam <nishants@marvell.com>
Subject: Re: mwifiex problem: incompatible network settings
Date: Thu, 29 Oct 2015 10:16:44 -0500 [thread overview]
Message-ID: <1446131804.15968.3.camel@redhat.com> (raw)
In-Reply-To: <b2db7a93638f44b683aef052ca442c5c@SC-EXCH04.marvell.com>
On Thu, 2015-10-29 at 12:27 +0000, Amitkumar Karwar wrote:
> Hi Julien,
>
> > From: Julien Cubizolles [mailto:j.cubizolles@free.fr]
> > Sent: Thursday, October 29, 2015 3:09 AM
> > To: Dan Williams
> > Cc: Amitkumar Karwar; linux-wireless@vger.kernel.org
> > Subject: Re: mwifiex problem: incompatible network settings
> >
> > Dan Williams <dcbw@redhat.com> writes:
> >
> > > He actually meant the wpa_supplicant configuration file, not the
> > > supplicant's dbus config file. But when driven by NetworkManager,
> > > there is no supplicant configuration file.
> >
> > Sorry about that.
> >
> > > Instead, you can find out what config NM is pushing to the supplicant
> > > by checking the NetworkManager logs, where NM will log lines like:
> >
> > Here are the relevant entries from the syslog file:
> >
> > I included the failed attempt to connect to the WPA protected network
> > named "southcentral" and the successful one to a non protected one named
> > "FreeWifi".
> >
>
> Thanks for the logs. I compared your network manager log with the one on my setup. Both are same. Basically network manager log doesn't show security info (WPA/WPA2, encryption mode etc). So we can't rely on that.
NetworkManager leaves the 'protos' field empty, which allows the
supplicant to choose the correct WPA/WPA2 mode depending on driver
support. What you see in the NM logs is exactly what gets pushed to the
supplicant in the network block. So if you don't see "proto" or
"pairwise" or "group" in the NM logs, then it doesn't get pushed to the
supplicant, and the supplicant uses its default behavior, which should
be:
proto=WPA RSN
pairwise=CCMP TKIP
group=CCMP TKIP WEP104 WEP40
Dan
next prev parent reply other threads:[~2015-10-29 15:16 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-26 15:51 mwifiex problem: incompatible network settings Julien Cubizolles
2015-10-26 16:10 ` Dan Williams
2015-10-26 21:50 ` Julien Cubizolles
2015-10-27 15:11 ` Dan Williams
2015-10-27 18:55 ` Amitkumar Karwar
2015-10-27 21:44 ` Julien Cubizolles
2015-10-28 14:50 ` Dan Williams
2015-10-28 21:38 ` Julien Cubizolles
2015-10-29 12:27 ` Amitkumar Karwar
2015-10-29 15:16 ` Dan Williams [this message]
2015-10-30 10:34 ` Amitkumar Karwar
2015-11-04 22:04 ` Julien Cubizolles
2015-11-05 8:59 ` Amitkumar Karwar
2015-11-07 7:38 ` Julien Cubizolles
2015-11-25 14:22 ` Amitkumar Karwar
2015-12-01 10:35 ` Julien Cubizolles
2015-12-01 10:36 ` Amitkumar Karwar
-- strict thread matches above, loose matches on Subject: below --
2015-10-29 14:29 Ujjal Roy
2015-10-30 10:27 ` Amitkumar Karwar
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1446131804.15968.3.camel@redhat.com \
--to=dcbw@redhat.com \
--cc=akarwar@marvell.com \
--cc=j.cubizolles@free.fr \
--cc=linux-wireless@vger.kernel.org \
--cc=nishants@marvell.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).