On 09/03/2015 03:11 PM, Simon Kitching wrote:
On 09/03/2015 02:31 PM, Douglas R. Reno wrote:


Hi Simon,

I may be wrong on this (I am responding on my phone as I am away from my PC), but if I remember correctly, the backend that you use depends upon the driver that your card uses. Some need the backend specified and some don't. I have never personally had a card that requires this, but I know that such cards exist.


Hmm, yes I suppose that's possible. The wpa_supplicant documentation says that it "uses the first backend that successfully initialises the card", but maybe the "autodetect" step with the wpa_supp wext backend goes wrong even when that backend _does_ actually work with the linux wireless extensions for the driver behind the network interface. Or maybe one of the other backends reports success but then fails to work. I'll see if "-dd" (enable debug output) gives any more info.

I'm running this on a laptop with onboard Intel wireless, using the iwlwifi kernel module. So it's not anything very exotic but is reasonably new. lspci reports:
  03:00.0 Network controller: Intel Corporation Wireless 7265 (rev 59)

Or maybe it could be a kernel version issue? However I'm using the normal LFS-7.7 kernel (3.19) so I would think others would notice.

I have read the wpa_supplicant code, added some extra logging, and:

* when no "-D" option is specified, then the first _and only the first_ available driver (backend) is used.

So when wpa_supplicant has multiple drivers compiled in, the "-D" option is *mandatory* - unless you are really lucky, and the correct driver happens to be the first one.

This raises the question: why is wireless functioning at all for Hazel given that the standard wpa_supplicant.service file for systemd does not specify -D?

Hazel, are you using systemd-networkd, or NetworkManager, or something else? (wild guess: maybe NetworkManager sets the driver-type via a dbus message..)

Hazel (or anyone else with functioning wireless, ideally via systemd-networkd): could you please:

* run "/sbin/wpa_supplicant --help" and post the "drivers:" section of the output?
* run "ps -ax | grep wpa_supp" and post that output too?

Thanks!

Regards,
Simon
--
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to