Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
wireless with WPA2 and AES - can't connect
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
emc
Guru
Guru


Joined: 02 Jul 2004
Posts: 552
Location: Cracow, Poland

PostPosted: Sun Nov 06, 2011 1:39 pm    Post subject: wireless with WPA2 and AES - can't connect Reply with quote

I try connect to my wlan with WPA2 and AES. My netbook is dualboot and under windows I connect without problems but under gentoo authentication fails.
Here is my wpa_supplicant.conf
Code:
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=wheel
update_config=1
ap_scan=1

network={
   ssid="Elwood"
   psk=<pass_generated_wps_password>
   priority=55
   proto=RSN
   pairwise=CCMP
   group=CCMP
   key_mgmt=WPA-PSK
   auth_alg=OPEN
}

I try differnet setting from simplest to more complex like. No progress.

If I switch to TPIK or WPA I see no problems with connection, but thing is I need WPA2/AES get working.

Did I miss something in kernel configuration or is just wps_supplicant problem
Back to top
View user's profile Send private message
nlsa8z6zoz7lyih3ap
Guru
Guru


Joined: 25 Sep 2007
Posts: 383
Location: Canada

PostPosted: Sun Nov 06, 2011 8:40 pm    Post subject: Reply with quote

I can't answer your question regarding wpa_supplicant, but I still have a comment.

I have never had any success working directly with wpa_supplicant
but have had good results working with wicd, which will pull in wpa_supplicant when your run:

emerge wicd
Back to top
View user's profile Send private message
emc
Guru
Guru


Joined: 02 Jul 2004
Posts: 552
Location: Cracow, Poland

PostPosted: Mon Nov 07, 2011 10:39 am    Post subject: Reply with quote

I had wicd emerged already. So, should I clean up wpa_suplicatnt conf and use configs form wicd, or remove wps_supplicat from boot runlevel. Anyway I try in setup connection in GUI but I have authentication error.
Back to top
View user's profile Send private message
mr.sande
Tux's lil' helper
Tux's lil' helper


Joined: 26 Apr 2010
Posts: 82
Location: Norway

PostPosted: Mon Nov 07, 2011 2:27 pm    Post subject: Re: wireless with WPA2 and AES - can't connect Reply with quote

emc wrote:

Here is my wpa_supplicant.conf
Code:
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=wheel
update_config=1
ap_scan=1

network={
   ssid="Elwood"
   psk=<pass_generated_wps_password>
   priority=55
   proto=RSN
   pairwise=CCMP
   group=CCMP
   key_mgmt=WPA-PSK
   auth_alg=OPEN
}

I try differnet setting from simplest to more complex like. No progress.


You said you have tried multiple configs. When I used wpa_supplicant directly I used a minimal config a la
Code:
network={
   ssid="Elwood"
   psk=<pass_generated_wps_password>
}


I also see that you list your password as "pass_generated_wps_password", where wps stands for WiFi Protected Setup?
I don't know how WPS works with wpa_supplicant, or if its even supported. You might have better luck with just setting your
router up with a pre-shared key.
Back to top
View user's profile Send private message
pigeon768
l33t
l33t


Joined: 02 Jan 2006
Posts: 679

PostPosted: Mon Nov 07, 2011 10:55 pm    Post subject: Re: wireless with WPA2 and AES - can't connect Reply with quote

Quote:
Code:
   psk=<pass_generated_wps_password>
   [...]
   key_mgmt=WPA-PSK
Which is it? PSK or WPS?

try:
Code:
network={
   ssid="Elwood"
   psk="pre_shared_key"
   key_mgmt=WPA-PSK
}
Simpler the better. You need quotes around plaintext passwords; you do not need quotes around hex pass..keys?

edit: those should be the only five lines in the entire wpa_supplicant.conf file. You don't need the three initialization lines or whatever.
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