Gentoo Archives: gentoo-user

From: Meino.Cramer@×××.de
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] To Wifi or not to Wifi...
Date: Tue, 28 Jul 2015 19:31:22
Message-Id: 20150728193058.GB4380@solfire
In Reply to: Re: [gentoo-user] To Wifi or not to Wifi... by Todd Goodman
1 Todd Goodman <tsg@×××××××××.net> [15-07-28 21:16]:
2 > * Meino.Cramer@×××.de <Meino.Cramer@×××.de> [150728 14:44]:
3 > [..SNIP..]
4 > > Hi Todd,
5 > >
6 > > ok, I've fixed that...now it displays another error:
7 > >
8 > > >/usr/sbin/hostapd /etc/hostapd/hostapd.conf
9 > > Configuration file: /etc/hostapd/hostapd.conf
10 > > wlan0: interface state UNINITIALIZED->COUNTRY_UPDATE
11 > > Using interface wlan0 with hwaddr 14:cc:20:17:24:49 and ssid "<my ssid>"
12 > > VLAN: vlan_set_name_type: SET_VLAN_NAME_TYPE_CMD name_type=2 failed: Package not installed
13 > > wlan0: interface state COUNTRY_UPDATE->ENABLED
14 > > wlan0: AP-ENABLED
15 > > wlan0: STA ac:9e:17:e7:c7:bd IEEE 802.11: authenticated
16 > > wlan0: STA ac:9e:17:e7:c7:bd IEEE 802.11: associated (aid 1)
17 > > WPA: wpa_sm_step() called recursively
18 > > wlan0: STA ac:9e:17:e7:c7:bd IEEE 802.11: deauthenticated due to local deauth request
19 > > wlan0: STA ac:9e:17:e7:c7:bd IEEE 802.11: authenticated
20 > > wlan0: STA ac:9e:17:e7:c7:bd IEEE 802.11: associated (aid 1)
21 > > WPA: wpa_sm_step() called recursively
22 > > wlan0: STA ac:9e:17:e7:c7:bd IEEE 802.11: deauthenticated due to local deauth request
23 > > wlan0: STA ac:9e:17:e7:c7:bd IEEE 802.11: authenticated
24 > > wlan0: STA ac:9e:17:e7:c7:bd IEEE 802.11: associated (aid 1)
25 > > WPA: wpa_sm_step() called recursively
26 > > wlan0: STA ac:9e:17:e7:c7:bd IEEE 802.11: deauthenticated due to local deauth request
27 > >
28 > >
29 > > The vlan thingy seems to be a missing CONFIG in the kernel I use...I
30 > > am currently backing a new one with this option set.
31 > >
32 > > But what is that
33 > > "WPA: wpa_sm_step() called recursively"
34 > > message telling me?
35 > > The device accessing the AP is an ASUS Memo Pad 7 ME176CX tablet...
36 > >
37 > > Best regards,
38 > > Meino
39 >
40 > Hi Meino,
41 >
42 > Looking at the code it looks like the "WPA: wpa_sm_step() called
43 > recursively" message is due to the WPA state machine of hostapd
44 > currently running a step in its state machine and that step then trying
45 > to run another step in the state machine. It seems like that's an a
46 > hostapd problem, probably triggered by the authentication issues.
47 >
48 > Can you post your hostapd.conf file (with passwords and other personal
49 > information redacted?)
50 >
51 > It still seems like something with authentication isn't quite right.
52 >
53 > Also, have you seen https://github.com/oblique/create_ap
54 >
55 > There's even Gentoo instructions for pulling it from an overlay. It
56 > might be interesting to see what kind of config file that script creates
57 > (and if it works.)
58 >
59 > Regards,
60 >
61 > Todd
62 >
63 >
64
65 Hi Todd,
66
67 thanks for all your help and patience... :))
68
69 The recursive(recursive(recursive).problem.).problem).problem has
70 been solved by rebooting my PC (due to the new kernel) and restarting
71 the tablet PC.
72
73 Now I am fighting against dhcpd...as sson as I want to start that
74 beast its telling me that dhcpd.ldap is missing. This was not
75 installed (at least as an example) by emerge. I have no idea what
76 is to get into that file.
77
78 I will check create_ap...may be it is more intelligent than me in
79 writing config-files ;)
80
81 But unfortunately I have to stop my journey here for today...it is
82 late here (9:00 pm) and I have to get out early tommorrow (4:00 am).
83
84 But /I want/ to get this running finally.
85 We will see.
86 As soon I have something new, I will post more of the contents
87 of my harddisk ;)
88
89 Best regards and thanks again! 8)
90 Meino

Replies

Subject Author
Re: [gentoo-user] To Wifi or not to Wifi... Todd Goodman <tsg@×××××××××.net>