create_ap
create_ap copied to clipboard
Failed to set beacon parametrers
I have Alfa NHA running on a RPI2 and it is giving me this problem: Failed to set beacon parametrers The OS is Archlinux ARM - linux 4.4.24-2-ARCH
Supported interface modes:
* IBSS
* managed
* AP
* AP/VLAN
* monitor
* mesh point
* P2P-client
* P2P-GO
* outside context of a BSS
.........
valid interface combinations:
* #{ managed, P2P-client } <= 2, #{ AP, mesh point, P2P-GO } <= 2,
total <= 2, #channels <= 1
I should have AP support.. but the second part should tell me something else about that...
sudo ./create_ap wlan0 eth0 trin3t-test ......
Config dir: /tmp/create_ap.wlan0.conf.9HHFUWHC
PID: 1425
Creating a virtual WiFi interface... ap0 created.
Sharing Internet using method: nat
hostapd command-line interface: hostapd_cli -p /tmp/create_ap.wlan0.conf.9HHFUWHC/hostapd_ctrl
Configuration file: /tmp/create_ap.wlan0.conf.9HHFUWHC/hostapd.conf
Using interface ap0 with hwaddr 00:c0:ca:xx:xx:xx and ssid "trin3t-test"
ap0: interface state UNINITIALIZED->ENABLED
ap0: AP-ENABLED
ap0: STA 84:10:0d:xx:xx:xx IEEE 802.11: authenticated
ap0: STA 84:10:0d:xx:xx:xx IEEE 802.11: associated (aid 1)
ap0: AP-STA-CONNECTED 84:10:0d:xx:xx:xx
ap0: STA 84:10:0d:xx:xx:xx RADIUS: starting accounting session EFC3C64866xxxxxx
ap0: STA 84:10:0d:xx:xx:xx WPA: pairwise key handshake completed (RSN)
ap0: AP-STA-DISCONNECTED 84:10:0d:xx:xx:xx
Failed to set beacon parameters
ap0: INTERFACE-DISABLED
Failed to set beacon parameters
^Cap0: interface state ENABLED->DISABLED
ap0: AP-DISABLED
Doing cleanup.. nl80211: deinit ifname=ap0 disabled_11b_rates=0
done
Did you get it fixed?
nope!
FYI, something similar happens to me after a while, not immediately:
Using interface ap0 with hwaddr 34:02:86:44:36:90 and ssid "fenrir"
ap0: interface state UNINITIALIZED->ENABLED
ap0: AP-ENABLED
ap0: STA b4:f1:da:b4:f0:8d IEEE 802.11: authenticated
ap0: STA b4:f1:da:b4:f0:8d IEEE 802.11: associated (aid 1)
ap0: AP-STA-CONNECTED b4:f1:da:b4:f0:8d
ap0: STA b4:f1:da:b4:f0:8d RADIUS: starting accounting session D0612749D8F22268
ap0: STA b4:f1:da:b4:f0:8d WPA: pairwise key handshake completed (RSN)
ap0: STA 7c:d9:5c:a7:9c:f8 IEEE 802.11: authenticated
ap0: STA 7c:d9:5c:a7:9c:f8 IEEE 802.11: associated (aid 2)
ap0: AP-STA-CONNECTED 7c:d9:5c:a7:9c:f8
ap0: STA 7c:d9:5c:a7:9c:f8 RADIUS: starting accounting session 67F9D18119CEBFF4
ap0: STA 7c:d9:5c:a7:9c:f8 WPA: pairwise key handshake completed (RSN)
ap0: AP-STA-DISCONNECTED 7c:d9:5c:a7:9c:f8
ap0: AP-STA-DISCONNECTED b4:f1:da:b4:f0:8d
Failed to set beacon parameters
ap0: INTERFACE-DISABLED
^Cap0: interface state ENABLED->DISABLED
ap0: AP-DISABLED
ap0: CTRL-EVENT-TERMINATING
nl80211: deinit ifname=ap0 disabled_11b_rates=0