Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
wpa_supplicant doesn`t work
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
XanderGentoo
n00b
n00b


Joined: 15 Feb 2014
Posts: 1

PostPosted: Sat Feb 15, 2014 6:42 pm    Post subject: wpa_supplicant doesn`t work Reply with quote

Hi!

I have a problem. My wpa_supplicant doesn`t work, it happened suddenly, I did nothing.

Symptoms - pc can`t get an ip address, some errors with wpa_cli:

Code:

~ # wpa_cli
wpa_cli v2.0
Copyright (c) 2004-2012, Jouni Malinen <j@w1.fi> and contributors

This software may be distributed under the terms of the BSD license.
See README for more details.


Selected interface 'wlo1'

Interactive mode

<4>Failed to initiate AP scan
<4>Failed to initiate AP scan
<4>Failed to initiate AP scan
<3>CTRL-EVENT-SCAN-RESULTS
<3>Trying to associate with d8:eb:97:10:4c:ce (SSID='Tr0l0l0' freq=2412 MHz)
<3>Association request to the driver failed
<3>Associated with d8:eb:97:10:4c:ce
<3>WPA: Key negotiation completed with d8:eb:97:10:4c:ce [PTK=TKIP GTK=TKIP]
<3>CTRL-EVENT-CONNECTED - Connection to d8:eb:97:10:4c:ce completed [id=0 id_str=]
<4>WPA: Invalid EAPOL-Key MIC - dropping packet
<3>CTRL-EVENT-DISCONNECTED bssid=d8:eb:97:10:4c:ce reason=0
<4>Failed to initiate AP scan
<4>Failed to initiate AP scan
<4>Failed to initiate AP scan
<4>Failed to initiate AP scan
<3>CTRL-EVENT-SCAN-RESULTS
<3>Trying to associate with d8:eb:97:10:4c:ce (SSID='Tr0l0l0' freq=2412 MHz)
<3>Association request to the driver failed
<3>Associated with d8:eb:97:10:4c:ce
<4>WPA: Invalid EAPOL-Key MIC when using TPTK - ignoring TPTK
<4>WPA: Could not verify EAPOL-Key MIC - dropping packet
<3>WPA: Key negotiation completed with d8:eb:97:10:4c:ce [PTK=TKIP GTK=TKIP]
<3>CTRL-EVENT-CONNECTED - Connection to d8:eb:97:10:4c:ce completed [id=0 id_str=]
<3>CTRL-EVENT-DISCONNECTED bssid=d8:eb:97:10:4c:ce reason=0
<4>Failed to initiate AP scan
<4>Failed to initiate AP scan
<4>Failed to initiate AP scan
<4>Failed to initiate AP scan
<3>CTRL-EVENT-SCAN-RESULTS
<3>Trying to associate with d8:eb:97:10:4c:ce (SSID='Tr0l0l0' freq=2412 MHz)
<3>Association request to the driver failed
<3>Associated with d8:eb:97:10:4c:ce
<4>WPA: Invalid EAPOL-Key MIC when using TPTK - ignoring TPTK
<4>WPA: Could not verify EAPOL-Key MIC - dropping packet
<3>WPA: Key negotiation completed with d8:eb:97:10:4c:ce [PTK=TKIP GTK=TKIP]
<3>CTRL-EVENT-CONNECTED - Connection to d8:eb:97:10:4c:ce completed [id=0 id_str=]
<3>CTRL-EVENT-DISCONNECTED bssid=d8:eb:97:10:4c:ce reason=0
<3>CTRL-EVENT-SCAN-RESULTS
<3>Trying to associate with d8:eb:97:10:4c:ce (SSID='Tr0l0l0' freq=2412 MHz)
<3>Association request to the driver failed
<3>Associated with d8:eb:97:10:4c:ce
<4>WPA: Invalid EAPOL-Key MIC when using TPTK - ignoring TPTK
<4>WPA: Could not verify EAPOL-Key MIC - dropping packet
<3>WPA: Key negotiation completed with d8:eb:97:10:4c:ce [PTK=TKIP GTK=TKIP]
<3>CTRL-EVENT-CONNECTED - Connection to d8:eb:97:10:4c:ce completed [id=0 id_str=]
<3>CTRL-EVENT-DISCONNECTED bssid=d8:eb:97:10:4c:ce reason=0
<4>Failed to initiate AP scan
<4>Failed to initiate AP scan
<4>Failed to initiate AP scan
<4>Failed to initiate AP scan
<3>CTRL-EVENT-SCAN-RESULTS
<3>Trying to associate with d8:eb:97:10:4c:ce (SSID='Tr0l0l0' freq=2412 MHz)
<3>Association request to the driver failed
<3>Associated with d8:eb:97:10:4c:ce
<3>WPA: Key negotiation completed with d8:eb:97:10:4c:ce [PTK=TKIP GTK=TKIP]
<3>CTRL-EVENT-CONNECTED - Connection to d8:eb:97:10:4c:ce completed [id=0 id_str=]
<4>WPA: Invalid EAPOL-Key MIC - dropping packet
<3>CTRL-EVENT-DISCONNECTED bssid=d8:eb:97:10:4c:ce reason=0
<3>CTRL-EVENT-SCAN-RESULTS
<3>Trying to associate with d8:eb:97:10:4c:ce (SSID='Tr0l0l0' freq=2412 MHz)
<3>Association request to the driver failed
<3>Associated with d8:eb:97:10:4c:ce
<4>WPA: Invalid EAPOL-Key MIC when using TPTK - ignoring TPTK
<4>WPA: Could not verify EAPOL-Key MIC - dropping packet
<3>WPA: Key negotiation completed with d8:eb:97:10:4c:ce [PTK=TKIP GTK=TKIP]
<3>CTRL-EVENT-CONNECTED - Connection to d8:eb:97:10:4c:ce completed [id=0 id_str=]
<3>CTRL-EVENT-DISCONNECTED bssid=d8:eb:97:10:4c:ce reason=0
<4>Failed to initiate AP scan
<4>Failed to initiate AP scan
<4>Failed to initiate AP scan
<4>Failed to initiate AP scan
<3>CTRL-EVENT-SCAN-RESULTS
<3>Trying to associate with d8:eb:97:10:4c:ce (SSID='Tr0l0l0' freq=2412 MHz)
<3>Association request to the driver failed
<3>Associated with d8:eb:97:10:4c:ce
<3>WPA: Key negotiation completed with d8:eb:97:10:4c:ce [PTK=TKIP GTK=TKIP]
<3>CTRL-EVENT-CONNECTED - Connection to d8:eb:97:10:4c:ce completed [id=0 id_str=]
<3>CTRL-EVENT-DISCONNECTED bssid=d8:eb:97:10:4c:ce reason=0
<3>CTRL-EVENT-SCAN-RESULTS


~ # less /etc/wpa_supplicant/wpa_supplicant.conf
Code:

ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=0
ap_scan=1

#Home
network={
ssid="Tr0l0l0"
psk=cb20ff6b2fb04d5933d2dc37aefb57311baf1dffc8a723d0b9c27ab2eac66425
}


Code:

~ # cat /etc/conf.d/net
modules="wpa_supplicant"
wpa_supplicant_wlo1="-Dwext"
config_enp0s25="dhcp"
config_wlo1="dhcp"



thanks for the help
Back to top
View user's profile Send private message
wrc1944
Advocate
Advocate


Joined: 15 Aug 2002
Posts: 3210
Location: Gainesville, Florida

PostPosted: Mon Feb 17, 2014 7:11 pm    Post subject: Reply with quote

If you're running ~Arch, it might be this:

I had to drop back to the previous version (wpa_supplicant-2.0-r2:0) by putting this in /etc/package.mask, and re-merging:
Code:
 >=net-wireless/wpa_supplicant-2.1


Then I quit wpa_supplicant, and restarted it, and in several seconds it reconnected by itself- running normally again.

Apparently the update has a problem, at least with my system. I masked it on all my systems, until I see another update show up, then I'll try again.
_________________
Main box- AsRock x370 Gaming K4
Ryzen 1700, 3.0GHz, 16GB GSkill Flare DDR4 3200mhz
Samsung SATA 1000GB, Radeon HD R7 350 2GB DDR5
Gentoo ~amd64 plasma, glibc-2.29-r2, gcc-8.3.0-r1 kernel-5.0.7-gentoo USE=experimental
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum