Gentoo Archives: gentoo-user

From: Todd Goodman <tsg@×××××××××.net>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] To Wifi or not to Wifi...
Date: Tue, 28 Jul 2015 19:07:15
Message-Id: 20150728190706.GR15480@ns1.bonedaddy.net
In Reply to: Re: [gentoo-user] To Wifi or not to Wifi... by Meino.Cramer@gmx.de
1 * Meino.Cramer@×××.de <Meino.Cramer@×××.de> [150728 14:44]:
2 [..SNIP..]
3 > Hi Todd,
4 >
5 > ok, I've fixed that...now it displays another error:
6 >
7 > >/usr/sbin/hostapd /etc/hostapd/hostapd.conf
8 > Configuration file: /etc/hostapd/hostapd.conf
9 > wlan0: interface state UNINITIALIZED->COUNTRY_UPDATE
10 > Using interface wlan0 with hwaddr 14:cc:20:17:24:49 and ssid "<my ssid>"
11 > VLAN: vlan_set_name_type: SET_VLAN_NAME_TYPE_CMD name_type=2 failed: Package not installed
12 > wlan0: interface state COUNTRY_UPDATE->ENABLED
13 > wlan0: AP-ENABLED
14 > wlan0: STA ac:9e:17:e7:c7:bd IEEE 802.11: authenticated
15 > wlan0: STA ac:9e:17:e7:c7:bd IEEE 802.11: associated (aid 1)
16 > WPA: wpa_sm_step() called recursively
17 > wlan0: STA ac:9e:17:e7:c7:bd IEEE 802.11: deauthenticated due to local deauth request
18 > wlan0: STA ac:9e:17:e7:c7:bd IEEE 802.11: authenticated
19 > wlan0: STA ac:9e:17:e7:c7:bd IEEE 802.11: associated (aid 1)
20 > WPA: wpa_sm_step() called recursively
21 > wlan0: STA ac:9e:17:e7:c7:bd IEEE 802.11: deauthenticated due to local deauth request
22 > wlan0: STA ac:9e:17:e7:c7:bd IEEE 802.11: authenticated
23 > wlan0: STA ac:9e:17:e7:c7:bd IEEE 802.11: associated (aid 1)
24 > WPA: wpa_sm_step() called recursively
25 > wlan0: STA ac:9e:17:e7:c7:bd IEEE 802.11: deauthenticated due to local deauth request
26 >
27 >
28 > The vlan thingy seems to be a missing CONFIG in the kernel I use...I
29 > am currently backing a new one with this option set.
30 >
31 > But what is that
32 > "WPA: wpa_sm_step() called recursively"
33 > message telling me?
34 > The device accessing the AP is an ASUS Memo Pad 7 ME176CX tablet...
35 >
36 > Best regards,
37 > Meino
38
39 Hi Meino,
40
41 Looking at the code it looks like the "WPA: wpa_sm_step() called
42 recursively" message is due to the WPA state machine of hostapd
43 currently running a step in its state machine and that step then trying
44 to run another step in the state machine. It seems like that's an a
45 hostapd problem, probably triggered by the authentication issues.
46
47 Can you post your hostapd.conf file (with passwords and other personal
48 information redacted?)
49
50 It still seems like something with authentication isn't quite right.
51
52 Also, have you seen https://github.com/oblique/create_ap
53
54 There's even Gentoo instructions for pulling it from an overlay. It
55 might be interesting to see what kind of config file that script creates
56 (and if it works.)
57
58 Regards,
59
60 Todd

Replies

Subject Author
Re: [gentoo-user] To Wifi or not to Wifi... Meino.Cramer@×××.de