View previous topic :: View next topic |
Author |
Message |
justin_brody Apprentice
Joined: 26 Jan 2005 Posts: 283
|
Posted: Wed Jul 27, 2016 1:39 pm Post subject: wpa_supplicant not matching SSID |
|
|
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 |
|
|
toralf Developer
Joined: 01 Feb 2004 Posts: 3920 Location: Hamburg
|
Posted: Wed Jul 27, 2016 2:03 pm Post subject: |
|
|
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 |
|
|
justin_brody Apprentice
Joined: 26 Jan 2005 Posts: 283
|
Posted: Wed Jul 27, 2016 4:50 pm Post subject: |
|
|
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 |
|
|
xilinx n00b
Joined: 29 Dec 2015 Posts: 11
|
Posted: Wed Jul 27, 2016 6:27 pm Post subject: |
|
|
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 |
|
|
justin_brody Apprentice
Joined: 26 Jan 2005 Posts: 283
|
Posted: Wed Jul 27, 2016 7:11 pm Post subject: |
|
|
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 |
|
|
|