WPA_supplicant trouble connecting client to AP
Francisco Cuesta
ndarkness
Tue May 14 06:06:26 PDT 2013
Hello,
I'm experiencing some issues trying to connect a client to an AP. In
the side of the AP everything seems ok, but when I set the client I
don't know why its state doesn't change from DISCONNECTED as it can be
seen on the wpa_supplicant output below.
I call wpa_supplicant like this
wpa_supplicant -dd -B -P /var/run/wifi-wlan1.pid -D nl80211 -i wlan1
-c /var/run/wpa_supplicant-wlan1.conf
where the configuration file is like
ctrl_interface=/var/run/wpa_supplicant-wlan1
network={
scan_ssid=1
ssid="irt-ah-inria-siebe"
bssid=64:70:02:3E:A7:82
key_mgmt=NONE
fixed_freq=1
}
The above command retrieves this
wpa_supplicant v2.0-devel
random: Trying to read entropy from /dev/random
Successfully initialized wpa_supplicant
Initializing interface 'wlan1' conf
'/var/run/wpa_supplicant-wlan1.conf' driver 'nl80211' ctrl_interface
'N/A' bridge 'N/A'
Configuration file '/var/run/wpa_supplicant-wlan1.conf' ->
'/var/run/wpa_supplicant-wlan1.conf'
Reading configuration file '/var/run/wpa_supplicant-wlan1.conf'
ctrl_interface='/var/run/wpa_supplicant-wlan1'
Line: 3 - start of a new network block
scan_ssid=1 (0x1)
ssid - hexdump_ascii(len=18):
69 72 74 2d 61 68 2d 69 6e 72 69 61 2d 73 69 65
62 65
BSSID - hexdump(len=6): 64 70 02 3e a7 82
key_mgmt: 0x4
fixed_freq=1 (0x1)
Priority group 0
id=0 ssid='irt-ah-inria-siebe'
nl80211: interface wlan1 in phy phy1
nl80211: Set mode ifindex 35 iftype 2 (STATION)
nl80211: Subscribe to mgmt frames with non-AP handle 0x615bb8
nl80211: Register frame type=0xd0 nl_handle=0x615bb8
nl80211: Register frame match - hexdump(len=2): 08 01
nl80211: Register frame type=0xd0 nl_handle=0x615bb8
nl80211: Register frame match - hexdump(len=1): 06
nl80211: Register frame type=0xd0 nl_handle=0x615bb8
nl80211: Register frame match - hexdump(len=2): 0a 07
netlink: Operstate: linkmode=1, operstate=5
nl80211: Using driver-based off-channel TX
nl80211: Use separate P2P group interface (driver advertised support)
nl80211: TDLS supported
nl80211: TDLS external setup
nl80211: driver param='(null)'
nl80211: Regulatory information - country=US
nl80211: 2402-2472 @ 40 MHz
nl80211: 5170-5250 @ 40 MHz
nl80211: 5250-5330 @ 40 MHz
nl80211: 5490-5600 @ 40 MHz
nl80211: 5650-5710 @ 40 MHz
nl80211: 5735-5830 @ 40 MHz
wlan1: Own MAC address: XX:XX:XX:XX
wpa_driver_nl80211_set_key: ifindex=35 alg=0 addr=(nil) key_idx=0
set_tx=0 seq_len=0 key_len=0
wpa_driver_nl80211_set_key: ifindex=35 alg=0 addr=(nil) key_idx=1
set_tx=0 seq_len=0 key_len=0
wpa_driver_nl80211_set_key: ifindex=35 alg=0 addr=(nil) key_idx=2
set_tx=0 seq_len=0 key_len=0
wpa_driver_nl80211_set_key: ifindex=35 alg=0 addr=(nil) key_idx=3
set_tx=0 seq_len=0 key_len=0
wpa_driver_nl80211_set_key: ifindex=35 alg=0 addr=(nil) key_idx=4
set_tx=0 seq_len=0 key_len=0
wpa_driver_nl80211_set_key: ifindex=35 alg=0 addr=(nil) key_idx=5
set_tx=0 seq_len=0 key_len=0
wlan1: RSN: flushing PMKID list in the driver
nl80211: Flush PMKIDs
wlan1: Setting scan request: 0 sec 100000 usec
wlan1: Added interface wlan1
wlan1: State: DISCONNECTED -> DISCONNECTED
wpa_driver_nl80211_set_operstate: operstate 0->0 (DORMANT)
netlink: Operstate: linkmode=-1, operstate=5
Daemonize..
Any hint, why is my wlan1 always disconnected??
Thanks in advance,
regards
More information about the Hostap
mailing list