All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] Failed to initialize driver 'nl80211' wlan0: Unsupported driver 'nl80211'
@ 2020-11-03 14:20 Kevin Tomary
  2020-11-03 14:29 ` daggs
  0 siblings, 1 reply; 6+ messages in thread
From: Kevin Tomary @ 2020-11-03 14:20 UTC (permalink / raw)
  To: buildroot

I am working with Buildroot, to flash an image on my STM32MP157C-DK2 I wanted to have Wi-Fi working it but I got this error:

Successfully initialized wpa_supplicant
nl80211: 'nl80211' generic netlink not found
Failed to initialize driver 'nl80211'
wlan0: Unsupported driver 'nl80211'
FAIL


I configure the interfaces and wpa_supplicant.conf files correctly normally. I don't know wthat that means but my configuration in the menuconfigand linux-menuconfigis right (I think). Does it maybe have something to do with my target machine (the STM in this case) ?


Every Kind of Help is appreciated since I am a newby in Embedded Linux

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20201103/f625450b/attachment.html>

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Buildroot] Failed to initialize driver 'nl80211' wlan0: Unsupported driver 'nl80211'
  2020-11-03 14:20 [Buildroot] Failed to initialize driver 'nl80211' wlan0: Unsupported driver 'nl80211' Kevin Tomary
@ 2020-11-03 14:29 ` daggs
       [not found]   ` <AM0PR10MB243357223E03870295ABE43F82110@AM0PR10MB2433.EURPRD10.PROD.OUTLOOK.COM>
  0 siblings, 1 reply; 6+ messages in thread
From: daggs @ 2020-11-03 14:29 UTC (permalink / raw)
  To: buildroot

Greetings Kevin,

> Sent:?Tuesday, November 03, 2020 at 4:20 PM
> From:?"Kevin Tomary" <kevin.tomary@hotmail.com>
> To:?"buildroot at busybox.net" <buildroot@busybox.net>
> Subject:?[Buildroot] Failed to initialize driver 'nl80211' wlan0: Unsupported driver 'nl80211'
> 
> I am working with Buildroot, to flash an image on my STM32MP157C-DK2 I wanted to have Wi-Fi working it but I got this error:
> Successfully initialized wpa_supplicant nl80211: 'nl80211' generic netlink not found Failed to initialize driver 'nl80211' wlan0: Unsupported driver 'nl80211' FAIL
> I configure the?interfaces?and?wpa_supplicant.conf?files correctly normally. I don't know wthat that means but my configuration in the?menuconfigand?linux-menuconfigis right (I think). Does it maybe have something to do with my target machine (the STM in this case) ?
?
> Every Kind of Help is appreciated since I am a newby in Embedded Linux
>

I'd suggest you make sure that CONFIG_NL80211 is compiled as built-in or module in the kernel inside the image.
if it is marked as module, make sure you modprobe it.

Dagg.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Buildroot] Failed to initialize driver 'nl80211' wlan0: Unsupported driver 'nl80211'
       [not found]   ` <AM0PR10MB243357223E03870295ABE43F82110@AM0PR10MB2433.EURPRD10.PROD.OUTLOOK.COM>
@ 2020-11-03 17:30     ` daggs
  2020-11-04 14:08       ` Shlomi Vaknin
  0 siblings, 1 reply; 6+ messages in thread
From: daggs @ 2020-11-03 17:30 UTC (permalink / raw)
  To: buildroot

An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20201103/22021e48/attachment.html>

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Buildroot] Failed to initialize driver 'nl80211' wlan0: Unsupported driver 'nl80211'
  2020-11-03 17:30     ` daggs
@ 2020-11-04 14:08       ` Shlomi Vaknin
       [not found]         ` <DB7PR10MB24420B05B2C888552C4C172B82EE0@DB7PR10MB2442.EURPRD10.PROD.OUTLOOK.COM>
  2020-11-05 14:40         ` daggs
  0 siblings, 2 replies; 6+ messages in thread
From: Shlomi Vaknin @ 2020-11-04 14:08 UTC (permalink / raw)
  To: buildroot

Hi!

As I told you in another email, there is an issue with the mainline kernel.
I asked st about that and they told me how to fix the problem. I am
attaching the kernel patch. Apply it using buildroot and it should work
(worked for me)

Regards,
Shlomi

??????? ??? ??, 3 ????? 2020 ?-19:30 ??? ?daggs?? <?daggs@gmx.com??>:?

> please keep it in the mailing list.
>
> see
> https://buildroot.org/downloads/manual/manual.html#_configuration_of_other_components
>
>
> *Sent:* Tuesday, November 03, 2020 at 4:32 PM
> *From:* "Kevin Tomary" <kevin.tomary@hotmail.com>
> *To:* "daggs" <daggs@gmx.com>
> *Subject:* Re: [Buildroot] Failed to initialize driver 'nl80211' wlan0:
> Unsupported driver 'nl80211'
> Can you guide me to do that ?
>
> I am new to buildroot here that's why.
>
> Thank you
>
>
>
> ------------------------------
> *From:* daggs <daggs@gmx.com>
> *Sent:* Tuesday, November 3, 2020 3:29 PM
> *To:* Kevin Tomary <kevin.tomary@hotmail.com>
> *Cc:* buildroot at busybox.net <buildroot@busybox.net>
> *Subject:* Re: [Buildroot] Failed to initialize driver 'nl80211' wlan0:
> Unsupported driver 'nl80211'
>
> Greetings Kevin,
>
> > Sent: Tuesday, November 03, 2020 at 4:20 PM
> > From: "Kevin Tomary" <kevin.tomary@hotmail.com>
> > To: "buildroot at busybox.net" <buildroot@busybox.net>
> > Subject: [Buildroot] Failed to initialize driver 'nl80211' wlan0:
> Unsupported driver 'nl80211'
> >
> > I am working with Buildroot, to flash an image on my STM32MP157C-DK2 I
> wanted to have Wi-Fi working it but I got this error:
> > Successfully initialized wpa_supplicant nl80211: 'nl80211' generic
> netlink not found Failed to initialize driver 'nl80211' wlan0: Unsupported
> driver 'nl80211' FAIL
> > I configure the interfaces and wpa_supplicant.conf files correctly
> normally. I don't know wthat that means but my configuration in
> the menuconfigand linux-menuconfigis right (I think). Does it maybe have
> something to do with my target machine (the STM in this case) ?
>
> > Every Kind of Help is appreciated since I am a newby in Embedded Linux
> >
>
> I'd suggest you make sure that CONFIG_NL80211 is compiled as built-in or
> module in the kernel inside the image.
> if it is marked as module, make sure you modprobe it.
>
> Dagg.
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20201104/2a0d65af/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-stm32mp157c-dk2-add-wifi-support.patch
Type: text/x-patch
Size: 10556 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20201104/2a0d65af/attachment.bin>

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Buildroot] Failed to initialize driver 'nl80211' wlan0: Unsupported driver 'nl80211'
       [not found]         ` <DB7PR10MB24420B05B2C888552C4C172B82EE0@DB7PR10MB2442.EURPRD10.PROD.OUTLOOK.COM>
@ 2020-11-05 11:57           ` Shlomi Vaknin
  0 siblings, 0 replies; 6+ messages in thread
From: Shlomi Vaknin @ 2020-11-05 11:57 UTC (permalink / raw)
  To: buildroot

Please send your replies to the mailing list also.
In the menuconfig of buildroot you can list files to patch the kernel. Look
at the kernel section

?????? ??? ??, 5 ????? 2020, 13:54, ??? Kevin Tomary ?<
kevin.tomary@hotmail.com>:

> how do you use the patch ? I mean should I simply clone the repo and it
> should be there ? I am a newby when it comes to buildroot that's why.
>
> Ethernet worked perfectly for me. Wifi is tricky and even when I lshw I
> get
>
> lshw -class network *-network description: Ethernet interface physical id:
>  1 logical name: eth0 serial: 00:80:e1:42:6b:16 size: 1Gbit/s capacity: 1Gbit/s
> capabilities: ethernet physical tp aui bnc mii fibre 10bt 10bt-fd 100bt
> 100bt-fd 1000bt-fd autonegotiation configuration: autonegotiation=on
> broadcast=yes driver=st_gmac driverversion=Jan_2016 duplex=full ip=192.168
> .8.15 link=yes multicast=yes port=MII speed=1Gbit/s
>
>
> Maybe the attached files could help
>
> Best regards
>
> ------------------------------
> *From:* Shlomi Vaknin <shlomi.39sd@gmail.com>
> *Sent:* Wednesday, November 4, 2020 3:08 PM
> *To:* daggs <daggs@gmx.com>
> *Cc:* Kevin Tomary <kevin.tomary@hotmail.com>; buildroot at busybox.net <
> buildroot at busybox.net>
> *Subject:* Re: [Buildroot] Failed to initialize driver 'nl80211' wlan0:
> Unsupported driver 'nl80211'
>
> Hi!
>
> As I told you in another email, there is an issue with the mainline
> kernel. I asked st about that and they told me how to fix the problem. I am
> attaching the kernel patch. Apply it using buildroot and it should work
> (worked for me)
>
> Regards,
> Shlomi
>
> ??????? ??? ??, 3 ????? 2020 ?-19:30 ??? ?daggs?? <?daggs@gmx.com??>:?
>
> please keep it in the mailing list.
>
> see
> https://buildroot.org/downloads/manual/manual.html#_configuration_of_other_components
>
>
> *Sent:* Tuesday, November 03, 2020 at 4:32 PM
> *From:* "Kevin Tomary" <kevin.tomary@hotmail.com>
> *To:* "daggs" <daggs@gmx.com>
> *Subject:* Re: [Buildroot] Failed to initialize driver 'nl80211' wlan0:
> Unsupported driver 'nl80211'
> Can you guide me to do that ?
>
> I am new to buildroot here that's why.
>
> Thank you
>
>
>
> ------------------------------
> *From:* daggs <daggs@gmx.com>
> *Sent:* Tuesday, November 3, 2020 3:29 PM
> *To:* Kevin Tomary <kevin.tomary@hotmail.com>
> *Cc:* buildroot at busybox.net <buildroot@busybox.net>
> *Subject:* Re: [Buildroot] Failed to initialize driver 'nl80211' wlan0:
> Unsupported driver 'nl80211'
>
> Greetings Kevin,
>
> > Sent: Tuesday, November 03, 2020 at 4:20 PM
> > From: "Kevin Tomary" <kevin.tomary@hotmail.com>
> > To: "buildroot at busybox.net" <buildroot@busybox.net>
> > Subject: [Buildroot] Failed to initialize driver 'nl80211' wlan0:
> Unsupported driver 'nl80211'
> >
> > I am working with Buildroot, to flash an image on my STM32MP157C-DK2 I
> wanted to have Wi-Fi working it but I got this error:
> > Successfully initialized wpa_supplicant nl80211: 'nl80211' generic
> netlink not found Failed to initialize driver 'nl80211' wlan0: Unsupported
> driver 'nl80211' FAIL
> > I configure the interfaces and wpa_supplicant.conf files correctly
> normally. I don't know wthat that means but my configuration in
> the menuconfigand linux-menuconfigis right (I think). Does it maybe have
> something to do with my target machine (the STM in this case) ?
>
> > Every Kind of Help is appreciated since I am a newby in Embedded Linux
> >
>
> I'd suggest you make sure that CONFIG_NL80211 is compiled as built-in or
> module in the kernel inside the image.
> if it is marked as module, make sure you modprobe it.
>
> Dagg.
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20201105/32d01654/attachment.html>

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Buildroot] Failed to initialize driver 'nl80211' wlan0: Unsupported driver 'nl80211'
  2020-11-04 14:08       ` Shlomi Vaknin
       [not found]         ` <DB7PR10MB24420B05B2C888552C4C172B82EE0@DB7PR10MB2442.EURPRD10.PROD.OUTLOOK.COM>
@ 2020-11-05 14:40         ` daggs
  1 sibling, 0 replies; 6+ messages in thread
From: daggs @ 2020-11-05 14:40 UTC (permalink / raw)
  To: buildroot

An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20201105/579d215f/attachment.html>

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2020-11-05 14:40 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-03 14:20 [Buildroot] Failed to initialize driver 'nl80211' wlan0: Unsupported driver 'nl80211' Kevin Tomary
2020-11-03 14:29 ` daggs
     [not found]   ` <AM0PR10MB243357223E03870295ABE43F82110@AM0PR10MB2433.EURPRD10.PROD.OUTLOOK.COM>
2020-11-03 17:30     ` daggs
2020-11-04 14:08       ` Shlomi Vaknin
     [not found]         ` <DB7PR10MB24420B05B2C888552C4C172B82EE0@DB7PR10MB2442.EURPRD10.PROD.OUTLOOK.COM>
2020-11-05 11:57           ` Shlomi Vaknin
2020-11-05 14:40         ` daggs

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.