linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Larry Finger <Larry.Finger@lwfinger.net>
To: "Nerijus Baliūnas" <nerijus@users.sourceforge.net>,
	linux-wireless@vger.kernel.org
Subject: Re: b43 AP does not work
Date: Sat, 02 May 2015 11:48:37 -0500	[thread overview]
Message-ID: <5544FFE5.5090706@lwfinger.net> (raw)
In-Reply-To: <loom.20150502T183011-57@post.gmane.org>

On 05/02/2015 11:32 AM, Nerijus Baliūnas wrote:
> Hello,
>
> lspci:
> 02:00.0 Network controller [0280]: Broadcom Corporation BCM4311 802.11a/b/g
> [14e4:4312] (rev 02)
>
> AP worked on F21. On F22 kernels 4.0.0 and 4.0.1 it does not.
>
> # hostapd -dB /etc/hostapd/hostapd.conf
> random: Trying to read entropy from /dev/random
> Configuration file: /etc/hostapd/hostapd.conf
> ctrl_interface_group=10 (from group name 'wheel')
> rfkill: initial event: idx=0 type=2 op=0 soft=1 hard=0
> rfkill: initial event: idx=1 type=1 op=0 soft=0 hard=0
> nl80211: Supported cipher 00-0f-ac:1
> nl80211: Supported cipher 00-0f-ac:5
> nl80211: Supported cipher 00-0f-ac:2
> nl80211: Supported cipher 00-0f-ac:4
> nl80211: Supported cipher 00-0f-ac:10
> nl80211: Supported cipher 00-0f-ac:8
> nl80211: Supported cipher 00-0f-ac:9
> nl80211: Using driver-based off-channel TX
> nl80211: interface wlan0 in phy phy0
> nl80211: Set mode ifindex 3 iftype 3 (AP)
> nl80211: Failed to set interface 3 to mode 3: -16 (Device or resource busy)
> nl80211: Try mode change after setting interface down
> nl80211: Set mode ifindex 3 iftype 3 (AP)
> nl80211: Mode change succeeded while interface is down
> nl80211: Setup AP(wlan0) - device_ap_sme=0 use_monitor=0
> nl80211: Subscribe to mgmt frames with AP handle 0x86c16f0
> nl80211: Register frame type=0xb0 (WLAN_FC_STYPE_AUTH) nl_handle=0x86c16f0
> match=
> nl80211: Register frame type=0x0 (WLAN_FC_STYPE_ASSOC_REQ)
> nl_handle=0x86c16f0 match=
> nl80211: Register frame type=0x20 (WLAN_FC_STYPE_REASSOC_REQ)
> nl_handle=0x86c16f0 match=
> nl80211: Register frame type=0xa0 (WLAN_FC_STYPE_DISASSOC)
> nl_handle=0x86c16f0 match=
> nl80211: Register frame type=0xc0 (WLAN_FC_STYPE_DEAUTH) nl_handle=0x86c16f0
> match=
> nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x86c16f0
> match=
> nl80211: Register frame command failed (type=208): ret=-114 (Operation
> already in progress)
> nl80211: Register frame match - hexdump(len=0): [NULL]
> nl80211: Could not configure driver mode
> nl80211: Remove monitor interface: refcount=0
> nl80211: Remove beacon (ifindex=3)
> netlink: Operstate: ifindex=3 linkmode=0 (kernel-control), operstate=6
> (IF_OPER_UP)
> nl80211: Set mode ifindex 3 iftype 2 (STATION)
> nl80211: Failed to set interface 3 to mode 2: -16 (Device or resource busy)
> nl80211: Try mode change after setting interface down
> nl80211: Set mode ifindex 3 iftype 2 (STATION)
> nl80211: Mode change succeeded while interface is down
> nl80211: Teardown AP(wlan0) - device_ap_sme=0 use_monitor=0
> nl80211 driver initialization failed.
> hostapd_interface_deinit_free(0x86bf2a0)
> hostapd_interface_deinit_free: num_bss=1 conf->num_bss=1
> hostapd_interface_deinit(0x86bf2a0)
> hostapd_bss_deinit: deinit bss wlan0
> hostapd_cleanup(hapd=0x86c0cd0 (wlan0))
> hostapd_free_hapd_data: Interface wlan0 wasn't started
> hostapd_interface_deinit_free: driver=(nil) drv_priv=(nil) -> hapd_deinit
> hostapd_interface_free(0x86bf2a0)
> hostapd_interface_free: free hapd 0x86c0cd0
> hostapd_cleanup_iface(0x86bf2a0)
> hostapd_cleanup_iface_partial(0x86bf2a0)
> hostapd_cleanup_iface: free iface=0x86bf2a0

A resource busy error from nl80211 usually means that NetworkManager is 
controlling the interface. Are you using NM? If so, have you tried setting up an 
AP using the "access point" mode of the NM applet. That is a lot easier than 
using hostapd, and has the additional advantage of being able to use wireless 
cards for both the WAN and LAN sides of the AP.

Larry



  reply	other threads:[~2015-05-02 16:48 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-02 16:32 b43 AP does not work Nerijus Baliūnas
2015-05-02 16:48 ` Larry Finger [this message]
2015-05-02 17:07   ` Nerijus Baliūnas
2015-05-02 17:18     ` Nerijus Baliūnas
2015-05-02 18:40       ` Larry Finger
2015-05-04 15:19       ` Dan Williams
2015-05-04 15:41         ` Nerijus Baliūnas
2015-05-04 15:58           ` Larry Finger
2015-05-04 16:21             ` Nerijus Baliūnas
2015-05-04 17:21           ` Dan Williams
2015-05-04 19:00             ` Nerijus Baliūnas
2015-05-04 19:28               ` Dan Williams
2015-05-04 20:23                 ` Nerijus Baliūnas
2015-05-04 20:27                   ` Dan Williams
2015-05-04 20:34                     ` Nerijus Baliūnas

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=5544FFE5.5090706@lwfinger.net \
    --to=larry.finger@lwfinger.net \
    --cc=linux-wireless@vger.kernel.org \
    --cc=nerijus@users.sourceforge.net \
    /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).