hostapd can't start: "Error! Can't set wlan master mode"

Everything about WLan and hostap
Post Reply
ikacsor
Posts: 5
Joined: September 15th, 2014, 2:21 pm

hostapd can't start: "Error! Can't set wlan master mode"

Post by ikacsor » September 18th, 2014, 4:50 pm

Hello,

I installed IPFire on a miniPC (BareBone) with the following wireless HW:
Intel WiMAX/WiFi Link 5150 [8086:423c] (a miniPCI card)
lspci says kernel driver in use "iwlwifi"

at the boot process, hostapd says: "Error! Can't set wlan master mode"

Is the problem the hw itself? Is this "WiMax 5150" generally unusable as an access point, or it's just unsupported yet by hostapd/IPFire kernel?

Thank you,
Istvan

User avatar
copymaster
Core Developer
Core Developer
Posts: 904
Joined: August 7th, 2012, 6:02 am

Re: hostapd can't start: "Error! Can't set wlan master mode"

Post by copymaster » September 18th, 2014, 6:32 pm

https://wikidevi.com/wiki/Iwlwifi

Says the driver supports mastermode only on a limited selection of hardware.

Maybe your Hardware is not supported?
Are there any log entries?

aesis

Re: hostapd can't start: "Error! Can't set wlan master mode"

Post by aesis » September 18th, 2014, 6:53 pm

Intel says this card supports the infastructure mode: http://www.intel.com/Assets/PDF/prodbri ... 3_5150.pdf

User avatar
StefanSchantl
Core Developer
Core Developer
Posts: 822
Joined: December 3rd, 2008, 2:50 pm
Location: Steiermark

Re: hostapd can't start: "Error! Can't set wlan master mode"

Post by StefanSchantl » September 18th, 2014, 8:01 pm

aesis wrote:Intel says this card supports the infastructure mode: http://www.intel.com/Assets/PDF/prodbri ... 3_5150.pdf


Beware Infrastructure != Master Mode.

The infrastructure mode is used when the card connects as a client to an access point. The second client mode is ad-hoc which is used for unmanaged direct client to client connections.

For providing an access point the support for master mode is required, which as copymaster already said just available for a limited selection of that hardware.

Best regards,

-Stefan

ikacsor
Posts: 5
Joined: September 15th, 2014, 2:21 pm

Re: hostapd can't start: "Error! Can't set wlan master mode"

Post by ikacsor » September 19th, 2014, 3:15 pm

Thanks for replies, so it looks incompatible.

Best regards, Istvan

ikacsor
Posts: 5
Joined: September 15th, 2014, 2:21 pm

Re: hostapd can't start: "Error! Can't set wlan master mode"

Post by ikacsor » September 19th, 2014, 3:34 pm

copymaster wrote:https://wikidevi.com/wiki/Iwlwifi

Says the driver supports mastermode only on a limited selection of hardware.

Maybe your Hardware is not supported?
Are there any log entries?


Where should I search these log entries? At /var/log I didn't find any logs for hostapd/iwlwifi,
just in /var/log/messages, the following:

>Sep  9 16:33:20 kipfire kernel: iwlwifi 0000:03:00.0: L1 Disabled; Enabling L0S
>Sep  9 16:33:20 kipfire kernel: iwlwifi 0000:03:00.0: Radio type=0x1-0x1-0x0
>Sep  9 16:33:20 kipfire kernel: iwlwifi 0000:03:00.0: L1 Disabled; Enabling L0S
>Sep  9 16:33:20 kipfire kernel: iwlwifi 0000:03:00.0: Radio type=0x1-0x1-0x0
>Sep  9 16:33:20 kipfire kernel: IPv6: ADDRCONF(NETDEV_UP): blue0: link is not ready

Post Reply