LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Troubles with wpa_supplicant (https://www.linuxquestions.org/questions/linux-software-2/troubles-with-wpa_supplicant-4175611921/)

vanbreukelingen 08-14-2017 05:15 AM

Troubles with wpa_supplicant
 
Having set up Arch linux (Antergos), now trying to use WPS push button on my local wlan (wlan repeater).

wlo1 is ok, but when trying to use wpa_gui, I normally get the message: "Can't connect to wpa_supplicant". Edited the wpa_supplicant file, restarted wpa_supplicant: -D option does not work for "ath9k", using "wext" or "nl80211", giving me the following.

Code:

sudo wpa_supplicant -D nl80211 -i wlo1 -c /etc/wpa_supplicant/wpa_supplicant.conf   
Successfully initialized wpa_supplicant
wlo1: SME: Trying to authenticate with 1c:a5:32:e5:48:bd (SSID='vanbreukelingen' freq=2412 MHz)
wlo1: Trying to associate with 1c:a5:32:e5:48:bd (SSID='vanbreukelingen' freq=2412 MHz)
wlo1: CTRL-EVENT-ASSOC-REJECT bssid=1c:a5:32:e5:48:bd status_code=18
wlo1: SME: Deauth request to the driver failed

At least I can successfully start wpa_gui, can push the button and AP mode is ok. But wlo1 is not working anymore, connecting with NetworkManager - is connecting, but the wifi sign doesn't show on devices. With Ubuntu 17.04 it worked well without troubles.

Any hints?

business_kid 08-14-2017 12:14 PM

Error 18 is Cross-device link :-o.

How many wifi devices have you? What happens if you invoke wpa_supplicant with no -D option?

AwesomeMachine 08-14-2017 02:51 PM

It's status code 18.

Edit:
Code:

wlo1: CTRL-EVENT-ASSOC-REJECT bssid=1c:a5:32:e5:48:bd status_code=18

business_kid 08-14-2017 04:55 PM

Quote:

Originally Posted by AwesomeMachine (Post 5748249)
It's status code 18.

What's that?

justmy2cents 08-15-2017 01:58 PM

Try ps -aux|grep wpa_supp then kill that pid.

vanbreukelingen 08-16-2017 03:50 PM

I configured it via web browser! WPS is insecure anyway. There are10devices on that Router.


All times are GMT -5. The time now is 03:30 PM.