# hostapd -dd ./hostapd5.conf random: Trying to read entropy from /dev/random Configuration file: ./hostapd5.conf ctrl_interface_group=0 nl80211: interface wlan0 in phy phy2 rfkill: initial event: idx=1 type=2 op=0 soft=0 hard=0 rfkill: initial event: idx=2 type=1 op=0 soft=0 hard=0 rfkill: initial event: idx=3 type=1 op=0 soft=0 hard=0 nl80211: Using driver-based off-channel TX nl80211: Use separate P2P group interface (driver advertised support) nl80211: Add own interface ifindex 5 nl80211: Set mode ifindex 5 iftype 3 (AP) nl80211: Setup AP - device_ap_sme=0 use_monitor=0 nl80211: Subscribe to mgmt frames with AP handle 0x13e6140 nl80211: Register frame type=0xb0 nl_handle=0x13e6140 nl80211: Register frame match - hexdump(len=0): [NULL] nl80211: Register frame type=0x0 nl_handle=0x13e6140 nl80211: Register frame match - hexdump(len=0): [NULL] nl80211: Register frame type=0x20 nl_handle=0x13e6140 nl80211: Register frame match - hexdump(len=0): [NULL] nl80211: Register frame type=0xa0 nl_handle=0x13e6140 nl80211: Register frame match - hexdump(len=0): [NULL] nl80211: Register frame type=0xc0 nl_handle=0x13e6140 nl80211: Register frame match - hexdump(len=0): [NULL] nl80211: Register frame type=0xd0 nl_handle=0x13e6140 nl80211: Register frame match - hexdump(len=0): [NULL] nl80211: Register frame command failed (type=208): ret=-114 (Operation already in progress) nl80211: Register frame match - hexdump(len=0): [NULL] nl80211: Failed to set interface wlan0 into AP mode netlink: Operstate: linkmode=0, operstate=6 nl80211: Set mode ifindex 5 iftype 2 (STATION) nl80211 driver initialization failed. # systemctl start hostapd Job for hostapd.service failed. See 'systemctl status hostapd.service' and 'journalctl -xn' for details. # systemctl status hostapd.service hostapd.service - Hostapd IEEE 802.11 AP, IEEE 802.1X/WPA/WPA2/EAP/RADIUS Authenticator Loaded: loaded (/usr/lib/systemd/system/hostapd.service; disabled) Active: failed (Result: exit-code) since jue 2013-03-21 01:05:39 CET; 3s ago Process: 10999 ExecStart=/usr/bin/hostapd /etc/hostapd/hostapd.conf -P /run/hostapd.pid -B (code=exited, status=1/FAILURE) mar 21 01:05:39 arch64 systemd[1]: Starting Hostapd IEEE 802.11 AP, IEEE 802.1X/WPA/WPA2/EAP/RADIUS Authenticator... mar 21 01:05:39 arch64 systemd[1]: hostapd.service: control process exited, code=exited status=1 mar 21 01:05:39 arch64 systemd[1]: Failed to start Hostapd IEEE 802.11 AP, IEEE 802.1X/WPA/WPA2/EAP/RADIUS Authenticator. mar 21 01:05:39 arch64 systemd[1]: Unit hostapd.service entered failed state mar 21 01:05:39 arch64 hostapd[10999]: Configuration file: /etc/hostapd/hostapd.conf mar 21 01:05:39 arch64 hostapd[10999]: nl80211: Failed to set interface wlan0 into AP mode mar 21 01:05:39 arch64 hostapd[10999]: nl80211 driver initialization failed. # journalctl -xn -- Logs begin at dom 2012-10-21 14:09:02 CEST, end at jue 2013-03-21 01:05:39 CET. -- mar 21 01:05:31 arch64 dbus[502]: [system] Successfully activated service 'org.freedesktop.nm_dispatcher' mar 21 01:05:36 arch64 systemd[1]: Stopped Hostapd IEEE 802.11 AP, IEEE 802.1X/WPA/WPA2/EAP/RADIUS Authenticator. -- Subject: Unit hostapd.service has finished shutting down -- Defined-By: systemd -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel -- Documentation: http://www.freedesktop.org/wiki/Software/systemd/catalog/9d1aaa27d60140bd96365438aad20286 -- -- Unit hostapd.service has finished shutting down. mar 21 01:05:39 arch64 systemd[1]: Starting Hostapd IEEE 802.11 AP, IEEE 802.1X/WPA/WPA2/EAP/RADIUS Authenticator... -- Subject: Unit hostapd.service has begun with start-up -- Defined-By: systemd -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel -- Documentation: http://www.freedesktop.org/wiki/Software/systemd/catalog/7d4958e842da4a758f6c1cdc7b36dcc5 -- -- Unit hostapd.service has begun starting up. mar 21 01:05:39 arch64 systemd[1]: hostapd.service: control process exited, code=exited status=1 mar 21 01:05:39 arch64 systemd[1]: Failed to start Hostapd IEEE 802.11 AP, IEEE 802.1X/WPA/WPA2/EAP/RADIUS Authenticator. -- Subject: Unit hostapd.service has failed -- Defined-By: systemd -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel -- Documentation: http://www.freedesktop.org/wiki/Software/systemd/catalog/be02cf6855d2428ba40df7e9d022f03d -- -- Unit hostapd.service has failed. -- -- The result is failed. mar 21 01:05:39 arch64 systemd[1]: Unit hostapd.service entered failed state mar 21 01:05:39 arch64 NetworkManager[497]: (wlan0): supplicant interface state: disconnected -> disabled mar 21 01:05:39 arch64 hostapd[10999]: Configuration file: /etc/hostapd/hostapd.conf mar 21 01:05:39 arch64 hostapd[10999]: nl80211: Failed to set interface wlan0 into AP mode