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 18:44:03
Message-Id: 20150728184345.GD4386@solfire
In Reply to: Re: [gentoo-user] To Wifi or not to Wifi... by Todd Goodman
1 Todd Goodman <tsg@×××××××××.net> [15-07-28 20:24]:
2 > * Meino.Cramer@×××.de <Meino.Cramer@×××.de> [150728 14:08]:
3 > [..SNIP..]
4 > > Hi Todd,
5 > >
6 > > I unblocked with rfkill and I am a step further:
7 > > The SSID is shown on my tablet together with a
8 > > boobastic signal strength (no wonder: distance is below 30 cm...;)
9 > > BUT: No connect...:
10 > >
11 > > I start hostapd by hand since wpa_supplicant seems to be hardcoded
12 > > somewhere...
13 > >
14 > > Now I got this (stderr of hostapd)
15 > >
16 > > wlan0: interface state COUNTRY_UPDATE->ENABLED
17 > > wlan0: AP-ENABLED
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 > > wlan0: AP-STA-CONNECTED ac:9e:17:e7:c7:bd
21 > > wlan0: STA ac:9e:17:e7:c7:bd RADIUS: starting accounting session 55B7C32D-00000000
22 > > wlan0: STA ac:9e:17:e7:c7:bd WPA: pairwise key handshake completed (RSN)
23 > > wlan0: AP-STA-DISCONNECTED ac:9e:17:e7:c7:bd
24 > > wlan0: STA ac:9e:17:e7:c7:bd IEEE 802.11: disassociated
25 > > wlan0: STA ac:9e:17:e7:c7:bd IEEE 802.11: deauthenticated due to inactivity (timer DEAUTH/REMOVE)
26 > > wlan0: STA ac:9e:17:e7:c7:bd IEEE 802.11: authenticated
27 > > wlan0: STA ac:9e:17:e7:c7:bd IEEE 802.11: associated (aid 1)
28 > > wlan0: AP-STA-CONNECTED ac:9e:17:e7:c7:bd
29 > > wlan0: STA ac:9e:17:e7:c7:bd RADIUS: starting accounting session 55B7C32D-00000001
30 > > wlan0: STA ac:9e:17:e7:c7:bd WPA: pairwise key handshake completed (RSN)
31 > > wlan0: AP-STA-DISCONNECTED ac:9e:17:e7:c7:bd
32 > > wlan0: STA ac:9e:17:e7:c7:bd IEEE 802.11: disassociated
33 > > wlan0: STA ac:9e:17:e7:c7:bd IEEE 802.11: deauthenticated due to inactivity (timer DEAUTH/REMOVE)
34 > > wlan0: STA ac:9e:17:e7:c7:bd IEEE 802.11: authenticated
35 > > wlan0: STA ac:9e:17:e7:c7:bd IEEE 802.11: associated (aid 1)
36 > > wlan0: AP-STA-CONNECTED ac:9e:17:e7:c7:bd
37 > > wlan0: STA ac:9e:17:e7:c7:bd RADIUS: starting accounting session 55B7C32D-00000002
38 > > wlan0: STA ac:9e:17:e7:c7:bd WPA: pairwise key handshake completed (RSN)
39 > > wlan0: AP-STA-DISCONNECTED ac:9e:17:e7:c7:bd
40 > > wlan0: STA ac:9e:17:e7:c7:bd IEEE 802.11: disassociated
41 > > wlan0: STA ac:9e:17:e7:c7:bd IEEE 802.11: deauthenticated due to inactivity (timer DEAUTH/REMOVE)
42 > > wlan0: STA ac:9e:17:e7:c7:bd IEEE 802.11: authenticated
43 > > wlan0: STA ac:9e:17:e7:c7:bd IEEE 802.11: associated (aid 1)
44 > > wlan0: AP-STA-CONNECTED ac:9e:17:e7:c7:bd
45 > > wlan0: STA ac:9e:17:e7:c7:bd RADIUS: starting accounting session 55B7C32D-00000003
46 > > wlan0: STA ac:9e:17:e7:c7:bd WPA: pairwise key handshake completed (RSN)
47 > >
48 > > What's happening here...?
49 > >
50 > > I am sure, it is a layer 8 failure.... ;)
51 > > (me)
52 > >
53 > > Best regards,
54 > > Meino
55 >
56 > Hi Meino,
57 >
58 > Again, I'm not sure, but it looks like hostapd is set up to do WPA with EAP
59 > (WPA-Enterprise) which uses a RADIUS backend.
60 >
61 > Is it possible that you want to make sure your hostapd configuration
62 > file is configured for WPA-PSK (something like:)
63 >
64 > auth_algs=1 # 1=wpa, 2=wep, 3=both
65 > wpa=2 # WPA2 only
66 > wpa_key_mgmt=WPA-PSK
67 > rsn_pairwise=CCMP
68 > wpa_passphrase=somepassword
69 >
70 > Sorry if you already posted that you have that already. I've lost track
71 > of what your hostapd configuration file has in it.
72 >
73 > Regards,
74 >
75 > Todd
76 >
77
78 Hi Todd,
79
80 ok, I've fixed that...now it displays another error:
81
82 >/usr/sbin/hostapd /etc/hostapd/hostapd.conf
83 Configuration file: /etc/hostapd/hostapd.conf
84 wlan0: interface state UNINITIALIZED->COUNTRY_UPDATE
85 Using interface wlan0 with hwaddr 14:cc:20:17:24:49 and ssid "<my ssid>"
86 VLAN: vlan_set_name_type: SET_VLAN_NAME_TYPE_CMD name_type=2 failed: Package not installed
87 wlan0: interface state COUNTRY_UPDATE->ENABLED
88 wlan0: AP-ENABLED
89 wlan0: STA ac:9e:17:e7:c7:bd IEEE 802.11: authenticated
90 wlan0: STA ac:9e:17:e7:c7:bd IEEE 802.11: associated (aid 1)
91 WPA: wpa_sm_step() called recursively
92 wlan0: STA ac:9e:17:e7:c7:bd IEEE 802.11: deauthenticated due to local deauth request
93 wlan0: STA ac:9e:17:e7:c7:bd IEEE 802.11: authenticated
94 wlan0: STA ac:9e:17:e7:c7:bd IEEE 802.11: associated (aid 1)
95 WPA: wpa_sm_step() called recursively
96 wlan0: STA ac:9e:17:e7:c7:bd IEEE 802.11: deauthenticated due to local deauth request
97 wlan0: STA ac:9e:17:e7:c7:bd IEEE 802.11: authenticated
98 wlan0: STA ac:9e:17:e7:c7:bd IEEE 802.11: associated (aid 1)
99 WPA: wpa_sm_step() called recursively
100 wlan0: STA ac:9e:17:e7:c7:bd IEEE 802.11: deauthenticated due to local deauth request
101
102
103 The vlan thingy seems to be a missing CONFIG in the kernel I use...I
104 am currently backing a new one with this option set.
105
106 But what is that
107 "WPA: wpa_sm_step() called recursively"
108 message telling me?
109 The device accessing the AP is an ASUS Memo Pad 7 ME176CX tablet...
110
111 Best regards,
112 Meino

Replies

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