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 18:21:18
Message-Id: 20150728182106.GO15480@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:08]:
2 [..SNIP..]
3 > Hi Todd,
4 >
5 > I unblocked with rfkill and I am a step further:
6 > The SSID is shown on my tablet together with a
7 > boobastic signal strength (no wonder: distance is below 30 cm...;)
8 > BUT: No connect...:
9 >
10 > I start hostapd by hand since wpa_supplicant seems to be hardcoded
11 > somewhere...
12 >
13 > Now I got this (stderr of hostapd)
14 >
15 > wlan0: interface state COUNTRY_UPDATE->ENABLED
16 > wlan0: AP-ENABLED
17 > wlan0: STA ac:9e:17:e7:c7:bd IEEE 802.11: authenticated
18 > wlan0: STA ac:9e:17:e7:c7:bd IEEE 802.11: associated (aid 1)
19 > wlan0: AP-STA-CONNECTED ac:9e:17:e7:c7:bd
20 > wlan0: STA ac:9e:17:e7:c7:bd RADIUS: starting accounting session 55B7C32D-00000000
21 > wlan0: STA ac:9e:17:e7:c7:bd WPA: pairwise key handshake completed (RSN)
22 > wlan0: AP-STA-DISCONNECTED ac:9e:17:e7:c7:bd
23 > wlan0: STA ac:9e:17:e7:c7:bd IEEE 802.11: disassociated
24 > wlan0: STA ac:9e:17:e7:c7:bd IEEE 802.11: deauthenticated due to inactivity (timer DEAUTH/REMOVE)
25 > wlan0: STA ac:9e:17:e7:c7:bd IEEE 802.11: authenticated
26 > wlan0: STA ac:9e:17:e7:c7:bd IEEE 802.11: associated (aid 1)
27 > wlan0: AP-STA-CONNECTED ac:9e:17:e7:c7:bd
28 > wlan0: STA ac:9e:17:e7:c7:bd RADIUS: starting accounting session 55B7C32D-00000001
29 > wlan0: STA ac:9e:17:e7:c7:bd WPA: pairwise key handshake completed (RSN)
30 > wlan0: AP-STA-DISCONNECTED ac:9e:17:e7:c7:bd
31 > wlan0: STA ac:9e:17:e7:c7:bd IEEE 802.11: disassociated
32 > wlan0: STA ac:9e:17:e7:c7:bd IEEE 802.11: deauthenticated due to inactivity (timer DEAUTH/REMOVE)
33 > wlan0: STA ac:9e:17:e7:c7:bd IEEE 802.11: authenticated
34 > wlan0: STA ac:9e:17:e7:c7:bd IEEE 802.11: associated (aid 1)
35 > wlan0: AP-STA-CONNECTED ac:9e:17:e7:c7:bd
36 > wlan0: STA ac:9e:17:e7:c7:bd RADIUS: starting accounting session 55B7C32D-00000002
37 > wlan0: STA ac:9e:17:e7:c7:bd WPA: pairwise key handshake completed (RSN)
38 > wlan0: AP-STA-DISCONNECTED ac:9e:17:e7:c7:bd
39 > wlan0: STA ac:9e:17:e7:c7:bd IEEE 802.11: disassociated
40 > wlan0: STA ac:9e:17:e7:c7:bd IEEE 802.11: deauthenticated due to inactivity (timer DEAUTH/REMOVE)
41 > wlan0: STA ac:9e:17:e7:c7:bd IEEE 802.11: authenticated
42 > wlan0: STA ac:9e:17:e7:c7:bd IEEE 802.11: associated (aid 1)
43 > wlan0: AP-STA-CONNECTED ac:9e:17:e7:c7:bd
44 > wlan0: STA ac:9e:17:e7:c7:bd RADIUS: starting accounting session 55B7C32D-00000003
45 > wlan0: STA ac:9e:17:e7:c7:bd WPA: pairwise key handshake completed (RSN)
46 >
47 > What's happening here...?
48 >
49 > I am sure, it is a layer 8 failure.... ;)
50 > (me)
51 >
52 > Best regards,
53 > Meino
54
55 Hi Meino,
56
57 Again, I'm not sure, but it looks like hostapd is set up to do WPA with EAP
58 (WPA-Enterprise) which uses a RADIUS backend.
59
60 Is it possible that you want to make sure your hostapd configuration
61 file is configured for WPA-PSK (something like:)
62
63 auth_algs=1 # 1=wpa, 2=wep, 3=both
64 wpa=2 # WPA2 only
65 wpa_key_mgmt=WPA-PSK
66 rsn_pairwise=CCMP
67 wpa_passphrase=somepassword
68
69 Sorry if you already posted that you have that already. I've lost track
70 of what your hostapd configuration file has in it.
71
72 Regards,
73
74 Todd

Replies

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