All of lore.kernel.org
 help / color / mirror / Atom feed
* hostapd_free_hapd_data: Interface wlan0 wasn't started #dunfell #linux #kernel
@ 2020-12-01  8:09 vijayrakeshmunganda
  2020-12-03  7:02 ` vijayrakeshmunganda
  0 siblings, 1 reply; 5+ messages in thread
From: vijayrakeshmunganda @ 2020-12-01  8:09 UTC (permalink / raw)
  To: yocto

[-- Attachment #1: Type: text/plain, Size: 690 bytes --]

Hi,

I'm new to Yocto Project/Embedded Linux. I had added hostapd recipe (https://layers.openembedded.org/layerindex/recipe/28409/) into my build image, and when I try to run "hostapd hostapd.conf" in terminal, I get the below error.

Configuration file: hostapd.conf
nl80211: Could not configure driver mode
nl80211: deinit ifname=wlan0 disabled_11b_rates=0
nl80211 driver initialization failed.
wlan0: interface state UNINITIALIZED->DISABLED
wlan0: AP-DISABLED
wlan0: CTRL-EVENT-TERMINATING
hostapd_free_hapd_data: Interface wlan0 wasn't started

I had also killed wpa_supplicant, but still I get same error. Kindly please help me with this issue.

Thanks & Regards,
VR.

[-- Attachment #2: Type: text/html, Size: 830 bytes --]

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

* Re: hostapd_free_hapd_data: Interface wlan0 wasn't started #dunfell #linux #kernel
  2020-12-01  8:09 hostapd_free_hapd_data: Interface wlan0 wasn't started #dunfell #linux #kernel vijayrakeshmunganda
@ 2020-12-03  7:02 ` vijayrakeshmunganda
  2020-12-04 18:21   ` [yocto] " Randy MacLeod
  0 siblings, 1 reply; 5+ messages in thread
From: vijayrakeshmunganda @ 2020-12-03  7:02 UTC (permalink / raw)
  To: yocto

[-- Attachment #1: Type: text/plain, Size: 77 bytes --]

Hi All,

Can anyone please help me this issue.

Thanks &  Regards,
VR

[-- Attachment #2: Type: text/html, Size: 105 bytes --]

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

* Re: [yocto] hostapd_free_hapd_data: Interface wlan0 wasn't started #dunfell #linux #kernel
  2020-12-03  7:02 ` vijayrakeshmunganda
@ 2020-12-04 18:21   ` Randy MacLeod
  2020-12-05 14:59     ` vijayrakeshmunganda
  0 siblings, 1 reply; 5+ messages in thread
From: Randy MacLeod @ 2020-12-04 18:21 UTC (permalink / raw)
  To: vijayrakeshmunganda, yocto

On 2020-12-03 2:02 a.m., vijayrakeshmunganda@gmail.com wrote:
> Hi All,
> 
> Can anyone please help me this issue.

Hi VR,

What version/release of yocto (oe-core, bitbake, ...) are you using?
What image are you building and what did you add to your local.conf ?
What is your target system and who provided the BSP?

If it's an open source bsp layer or you can reproduce the issue using
a layer such as meta-intel or meta-raspberrypi then someone
might be able to help. Otherwise you'll have to contact the BSP vendor.

If you can reproduce the issue with poky, and no one on the list
helps out, then you could open a defect in the YP Bugzilla.

https://wiki.yoctoproject.org/wiki/Bug_reporting_and_Information_levels

Good luck,
../Randy

> 
> Thanks &  Regards,
> VR
> 
> 
> 
> 


-- 
# Randy MacLeod
# Wind River Linux

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

* Re: hostapd_free_hapd_data: Interface wlan0 wasn't started #dunfell #linux #kernel
  2020-12-04 18:21   ` [yocto] " Randy MacLeod
@ 2020-12-05 14:59     ` vijayrakeshmunganda
  2020-12-21 12:35       ` Shamil Khan
  0 siblings, 1 reply; 5+ messages in thread
From: vijayrakeshmunganda @ 2020-12-05 14:59 UTC (permalink / raw)
  To: yocto

[-- Attachment #1: Type: text/plain, Size: 458 bytes --]

Hi Randy,

Thanks for the reply. I’m using Dunfell 3.1.1 with bitbake version 1.48.0. I had downloaded hostapd recipe from http://layers.openembedded.org/layerindex/recipe/28409/ for my target system i500-pumpkin with mediatek bsp. I had generated an image by adding IMAGE_INSTALL_append = “hostapd” into local.conf and tested on target board. When I run hostapd with default hostapd.conf file I got the mentioned error.

Thanks & Regards,
VR.

[-- Attachment #2: Type: text/html, Size: 524 bytes --]

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

* Re: hostapd_free_hapd_data: Interface wlan0 wasn't started #dunfell #linux #kernel
  2020-12-05 14:59     ` vijayrakeshmunganda
@ 2020-12-21 12:35       ` Shamil Khan
  0 siblings, 0 replies; 5+ messages in thread
From: Shamil Khan @ 2020-12-21 12:35 UTC (permalink / raw)
  To: yocto

[-- Attachment #1: Type: text/plain, Size: 244 bytes --]

Hi VR,

Please make sure that the interface name in hostapd.conf matches with the wireless interface name of your target.
By default it is set to wlan0, but it could be different in your target (for ex, wlp2s0...).

Best regards,
Shamil

[-- Attachment #2: Type: text/html, Size: 278 bytes --]

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

end of thread, other threads:[~2020-12-21 12:35 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-01  8:09 hostapd_free_hapd_data: Interface wlan0 wasn't started #dunfell #linux #kernel vijayrakeshmunganda
2020-12-03  7:02 ` vijayrakeshmunganda
2020-12-04 18:21   ` [yocto] " Randy MacLeod
2020-12-05 14:59     ` vijayrakeshmunganda
2020-12-21 12:35       ` Shamil Khan

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.