You are not logged in.

#1 2012-04-12 15:09:25

bobman321123
Member
Registered: 2012-04-12
Posts: 21

How to set up a WPA/WPA2 network

How do I set up a WPA/WPA2 network in Archlinux?
I know the ssid and password, I just can't figure out how to configure it....
Thanks!
--bobman


TELL me how to fix it and I'll be back in a week, same problem.
TEACH me how to fix it, and I'll be good from then on.
Oh, and WHY the fix works would also be appreciated.

Offline

#2 2012-04-12 15:29:58

loafer
Member
From: the pub
Registered: 2009-04-14
Posts: 1,772

Re: How to set up a WPA/WPA2 network

What have you tried?


All men have stood for freedom...
For freedom is the man that will turn the world upside down.
Gerrard Winstanley.

Offline

#3 2012-04-12 15:33:38

bobman321123
Member
Registered: 2012-04-12
Posts: 21

Re: How to set up a WPA/WPA2 network

I've tried

wpa_passkey wilrout "password here">/etc/wpasupplicant.conf

Then I tried

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

but that did nothing.

As a point of reference, I do NOT have netcfg installed, and since I need the internet to get that..... paradox.


TELL me how to fix it and I'll be back in a week, same problem.
TEACH me how to fix it, and I'll be good from then on.
Oh, and WHY the fix works would also be appreciated.

Offline

#4 2012-04-12 15:43:53

loafer
Member
From: the pub
Registered: 2009-04-14
Posts: 1,772

Re: How to set up a WPA/WPA2 network

What is the output of:

iwconfig wlan0

All men have stood for freedom...
For freedom is the man that will turn the world upside down.
Gerrard Winstanley.

Offline

#5 2012-04-12 15:56:04

bobman321123
Member
Registered: 2012-04-12
Posts: 21

Re: How to set up a WPA/WPA2 network

-bash: iwconfig: command not found

TELL me how to fix it and I'll be back in a week, same problem.
TEACH me how to fix it, and I'll be good from then on.
Oh, and WHY the fix works would also be appreciated.

Offline

#6 2012-04-12 16:05:35

loafer
Member
From: the pub
Registered: 2009-04-14
Posts: 1,772

Re: How to set up a WPA/WPA2 network

It looks like you do not have wireless_tools installed.

Check with "pacman -Qi wireless_tools".

You will have to connect via ethernet then install the package (or download it to another computer).

Then everything else you need is here:

https://wiki.archlinux.org/index.php/Wifi

edit:  You may not actually need  wireless_tools.  Follow the steps in the Wiki article and see what the results are.

Last edited by loafer (2012-04-12 16:22:14)


All men have stood for freedom...
For freedom is the man that will turn the world upside down.
Gerrard Winstanley.

Offline

#7 2012-04-12 16:23:47

sevenfourk
Member
Registered: 2008-02-21
Posts: 185

Re: How to set up a WPA/WPA2 network

You can try out net-profiles, which worked for me like a charm.  And add @net-profiles to DAEMONS=() in /etc/rc.conf.  Well it's all in the WIKI.


No cause is lost if there is but one fool left to fight for it.

Offline

#8 2012-04-12 16:59:15

bobman321123
Member
Registered: 2012-04-12
Posts: 21

Re: How to set up a WPA/WPA2 network

I tried installing wireless_tools with

pacman -S wireless_tools

but got a long string off errors (which I don't know how to paste here other than writing them all out...)


TELL me how to fix it and I'll be back in a week, same problem.
TEACH me how to fix it, and I'll be good from then on.
Oh, and WHY the fix works would also be appreciated.

Offline

#9 2012-04-12 17:08:45

bobman321123
Member
Registered: 2012-04-12
Posts: 21

Re: How to set up a WPA/WPA2 network

Oop, nevermind about the above post. But I do get the same errors now when trying to upgrade pacman *shrug* Oh well.


TELL me how to fix it and I'll be back in a week, same problem.
TEACH me how to fix it, and I'll be good from then on.
Oh, and WHY the fix works would also be appreciated.

Offline

#10 2012-04-12 18:46:17

bobman321123
Member
Registered: 2012-04-12
Posts: 21

Re: How to set up a WPA/WPA2 network

After following the wiki, I've gotten stuck on the step which has me trying to use dhcpcd (I think that's the name) for wlan0, but it keeps waiting to associate with the network, which keeps timing out. Help?


TELL me how to fix it and I'll be back in a week, same problem.
TEACH me how to fix it, and I'll be good from then on.
Oh, and WHY the fix works would also be appreciated.

Offline

#11 2012-04-12 18:50:33

jordz
Member
Registered: 2006-02-01
Posts: 250

Re: How to set up a WPA/WPA2 network

Do you have a Atheros card with 3.3.1? https://bugs.archlinux.org/task/29340?project=1

If so patch the kernel or downgrade to 3.2.14

Last edited by jordz (2012-04-12 18:50:57)

Offline

#12 2012-04-12 19:36:33

bobman321123
Member
Registered: 2012-04-12
Posts: 21

Re: How to set up a WPA/WPA2 network

A. How do I see what kernel version I have?  or does 3.3.1 refer to the chipset?
B. How do I patch the kernel or downgrade? (And yes, I'm an extreme arch noob)


TELL me how to fix it and I'll be back in a week, same problem.
TEACH me how to fix it, and I'll be good from then on.
Oh, and WHY the fix works would also be appreciated.

Offline

#13 2012-04-12 19:48:05

loafer
Member
From: the pub
Registered: 2009-04-14
Posts: 1,772

Re: How to set up a WPA/WPA2 network

Please do some research.  You can easily tell the kernel version with the pacman command I posted above.  You could also use a command called "uname".  Look it up.


All men have stood for freedom...
For freedom is the man that will turn the world upside down.
Gerrard Winstanley.

Offline

#14 2012-04-12 19:57:29

bobman321123
Member
Registered: 2012-04-12
Posts: 21

Re: How to set up a WPA/WPA2 network

Seeing as I didn't entirely understand his instructions (if he was refering to chipset or kernel), and from my past experience that following instructions that I've misunderstood can go badly, I think my clarification was justified.


TELL me how to fix it and I'll be back in a week, same problem.
TEACH me how to fix it, and I'll be good from then on.
Oh, and WHY the fix works would also be appreciated.

Offline

#15 2012-04-12 20:02:57

loafer
Member
From: the pub
Registered: 2009-04-14
Posts: 1,772

Re: How to set up a WPA/WPA2 network

The bug report referenced does clarify it's the kernel.  As for downgrading look in the Common Problems and Issues sticky at the top of Newbie Corner.


edit:  Assuming you have the affected card.

Last edited by loafer (2012-04-12 20:06:12)


All men have stood for freedom...
For freedom is the man that will turn the world upside down.
Gerrard Winstanley.

Offline

#16 2012-04-12 20:09:29

bobman321123
Member
Registered: 2012-04-12
Posts: 21

Re: How to set up a WPA/WPA2 network

Yes, I do have an Athros card.


TELL me how to fix it and I'll be back in a week, same problem.
TEACH me how to fix it, and I'll be good from then on.
Oh, and WHY the fix works would also be appreciated.

Offline

#17 2012-04-12 20:16:42

jordz
Member
Registered: 2006-02-01
Posts: 250

Re: How to set up a WPA/WPA2 network

And if you are running kernel 3.3.1, read the bug report. Easiest solution; downgrade your kernel to 3.2.14, look at the Common Problems as loafer said.

If you did that, just follow the wiki to setup a wireless connection.

Offline

Board footer

Powered by FluxBB