You are not logged in.

#1 2013-11-23 01:49:55

T.T.
Member
Registered: 2013-11-22
Posts: 4

wpa_supplicant issues

I'm currently having some trouble getting wpa_supplicant to work properly. I've followed the WPA supplicant page, and it still fails.
I've tried just about everything that I can find, but I have not been able to fix this problem.

If I run wifi-menu I get:

:: wlan0-linksys down                                                  [ DONE ] 
:: wlan0-linksys up                                                    [ BUSY ]
 Successfully initialized wpa_supplicant

 > WPA Authentication/Association Failed
                                                                       [FAILED]

also, running wpa_cli gives:

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.



Interactive mode

Could not connect to wpa_supplicant: (null) - re-trying

I'm assuming the card itself works because I'm able to pick up networks.

Thanks in advance.

Offline

#2 2013-11-23 02:10:10

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,338
Website

Re: wpa_supplicant issues

What are the results of the commands in the wiki?

Specifically, have you used wpa_passphrase to generate a config file?  Have you run wpa_supplicant with the flags in the wiki passing that configuration file?  If so, what output does it give you?


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#3 2013-11-23 05:30:46

T.T.
Member
Registered: 2013-11-22
Posts: 4

Re: wpa_supplicant issues

yes. I followed the wiki for the config

wpa_supplicant -B -i wlan0 -c /etc/wpa_supplicant/wpa_supplicant.conf

gives

Successfully initialized wpa_supplicant

oddly enough though, this time when tried wifi-menu, I get:

:: wlan0-linksys up                                                    [ BUSY ]
 Successfully initialized wpa_supplicant
ctrl_iface exists and seems to be in use - cannot override it
Delete '/run/wpa_supplicant/wlan0' manually if it is not used anymore
Failed to initialize control interface '/run/wpa_supplicant'.
You may have another wpa_supplicant process already running or the file was
left by an unclean termination of wpa_supplicant in which case you will need
to manually remove this file before starting wpa_supplicant again.

 > wpa_supplicant did not start, possible configuration error
                                                                                          [FAILED]

 

Offline

#4 2013-11-23 11:57:38

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,338
Website

Re: wpa_supplicant issues

If wpa_supplicant was successful, why did you then run wifi-menu?


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#5 2013-11-23 18:00:50

T.T.
Member
Registered: 2013-11-22
Posts: 4

Re: wpa_supplicant issues

is wpa_supplicant able to handle the connecting of the network? I thought I had to start wpa_suppplicant, then use wifi-menu to connect.
if that is the case, you may have found the issue  smile

Offline

#6 2013-11-23 18:09:16

T.T.
Member
Registered: 2013-11-22
Posts: 4

Re: wpa_supplicant issues

I read through that wiki page again. This time I noticed that after starting wpa_supplicant I needed to run:

dhcpcd wlan0

Sadly that failed. Its output is:

dhcpcd[780]: version 6.1.0 starting
dhcpcd[783]: wlan0: starting wpa_supplicant
dhcpcd[780]: wlan0: waiting for carrier
dhcpcd[780]: timed out
dhcpcd[780]: exited

Not sure how much that tells you. I'm not even sure what the carrier is.

Offline

Board footer

Powered by FluxBB