You are not logged in.

#1 2014-01-12 03:19:05

jakobnator
Member
Registered: 2014-01-12
Posts: 1

wpa_supplicant help

Just installed arch by following a youtube guide. I was able to connect to the internet via wifi the first time but when I restarted I couldn't. I have tried every possible way to connect to WPA2 wifi each with different errors so I am just going to ask for help on the wpa_supplicant method.

so after a fresh start I type

 # wpa_supplicant -B -i wlan0 -c /etc/wpa_supplicant.conf -D nl80211 

which yields

 Successfully initialized wpa_supplicant 

then I

 dhcpcd wlan0 

which then times out after waiting for carrier.

My wpa_supplicant.conf contains

 
ctrl_interface=DIR=/run/wpa_supplicant
network={
ssid="MyRouter"
#psk="password"
psk=passwordhash
}

obviously changed for security reasons.

EDIT: tried it again and getting an attempted association and then

Failed to initiate AP scan
Trying to Assiociate with 44:94:fc:84:88:10(SSID blabllba freq=2437 Mhz)
ioctl[SIOCSIWFREQ]: Device or resource busy
ioctl[SIOCSIWSSID]: Devuce or resource busy
Association request to the driver failed
Associated with 44:94:fc:84:88:10
CTRL-EVENT-DISCONNECTED bssid=44:94:fc:84:88:10 reason = 0

^might not be completely word for word

EDIT: Fixed it needed to end all the processes that interfered with WPA2 now how can I get wpa_supplicant to start at boot?

Last edited by jakobnator (2014-01-12 05:46:05)

Offline

#2 2014-01-12 06:41:30

frank604
Member
From: BC, Canada
Registered: 2011-04-20
Posts: 1,219

Re: wpa_supplicant help

All your questions should of been solved by reading the Beginner's Guide -> https://wiki.archlinux.org/index.php/Beginners'_Guide

Read the wiki, it actually teaches you how to setup and use.  Also, the search button on the forum is great in finding similar questions/answers. Good luck!

Offline

#3 2014-01-12 07:24:21

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: wpa_supplicant help

You should use wpa_passphrase to generate a valid wpa_supplicant.conf.  I have read in that wpa_supplicant is picky about whitespace in the wpa_supplicant.conf so if you make it by hand there is a good chance that it might not work.  Though I have always just used wpa_passphrase, so I cannot speak to the accuracy of that statement.

Offline

#4 2014-01-12 09:12:31

Alber
Member
From: Spain - España
Registered: 2011-11-11
Posts: 227

Re: wpa_supplicant help

Your edit (jakobnator) says it's fixed.
To enable at boot, use systemctl enable service:
https://wiki.archlinux.org/index.php/Wp … th_systemd

Edit: I don't know the bug's current state, I can't acces to the link. You can read about another options in https://wiki.archlinux.org/index.php/Wi … atic_setup

Last edited by Alber (2014-01-12 09:21:32)


Because not all of us are native English speakers, try no to use slang or abbreviations, thank you.

Offline

#5 2014-01-12 09:38:39

xtraroot
Member
Registered: 2013-12-17
Posts: 59

Re: wpa_supplicant help

Move wpa_supplicant.conf to /etc

and enable dhcpcd@wlan0.service

Offline

Board footer

Powered by FluxBB