Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
wpa_supplicant not matching SSID
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
justin_brody
Apprentice
Apprentice


Joined: 26 Jan 2005
Posts: 220

PostPosted: Wed Jul 27, 2016 1:39 pm    Post subject: wpa_supplicant not matching SSID Reply with quote

Hello!

I am trying to set up my wpa_supplicant.conf to automatically connect to a network. Here's the relevant lines from the file:
Code:

network={
        ssid="GoucherWIFI"
        scan_ssid=1
        eap=PEAP
        identity="XXXXXXXXXXXXXXXXX"
        password="XXXXXXXXXXXXXXXXX"
        priority=5
}

It somehow doesn't match GoucherWIFI though. When I run
Code:

wpa_supplicant -Dnl80211 -iwlan0 -C/var/run/wpa_supplicant/ -c/etc/wpa_supplicant/wpa_supplicant.conf -dd

I get the following line in the output
Quote:

wlan0: 0: 02:18:5a:ab:c0:90 ssid='GoucherWIFI' wpa_ie_len=26 rsn_ie_len=24 caps=0x1111 level=-55 freq=5745
wlan0: skip - SSID mismatch


If I scan for the network and connect using wpa_gui it works fine; just not sure why the config file isn't matching the SSID. Anyone have any thoughts??
Back to top
View user's profile Send private message
toralf
Developer
Developer


Joined: 01 Feb 2004
Posts: 3648
Location: Hamburg

PostPosted: Wed Jul 27, 2016 2:03 pm    Post subject: Reply with quote

I curious, what happens if you omit scan_ssid=, eap= and priority=
I'm asking, b/c here just those 3 lines are ok,rg.: :
Code:
network={
        ssid="chaos_im_aether"
        psk="blafablafa"
        key_mgmt=WPA-PSK
}
Back to top
View user's profile Send private message
justin_brody
Apprentice
Apprentice


Joined: 26 Jan 2005
Posts: 220

PostPosted: Wed Jul 27, 2016 4:50 pm    Post subject: Reply with quote

Thanks for the thought toralf! Unfortunately commenting those out keeps the same behavior.

I just noticed that there's a line earlier in the output
Quote:

Priority group 5
id=0 ssid='xxx'
id=4 ssid='GoucherWIFI'
id=5 ssid='xxx'
id=6 ssid='xxx'


which seems to indicate that it does know that SSID. Strange!
Back to top
View user's profile Send private message
xilinx
n00b
n00b


Joined: 29 Dec 2015
Posts: 11

PostPosted: Wed Jul 27, 2016 6:27 pm    Post subject: Reply with quote

May it helps, my wpa_supplicant.conf looks like:

Code:

ctrl_interface=DIR=/var/run/wpa_supplicant
ctrl_interface_group=wheel
update_config=1
ap_scan=1


network={
        ssid="2StNB_219"
        key_mgmt=WPA-PSK
        psk="***********"
        priority=3
}
 
...




what's the output of $wpa_cli scan_results
Back to top
View user's profile Send private message
justin_brody
Apprentice
Apprentice


Joined: 26 Jan 2005
Posts: 220

PostPosted: Wed Jul 27, 2016 7:11 pm    Post subject: Reply with quote

Thanks for the tip xilinx! I'm away from the network I'm trying to use now, but your post makes me wonder if I want to try ap_scan=2. I'll give it a shot and report back tomorrow; along with $wpa_cli scan_results.

Many thanks!
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