wpa_supplicant in head

rmgls at free.fr rmgls at free.fr
Sun Nov 18 22:32:10 PST 2007




>> Date: Sun, 18 Nov 2007 16:53:56 +0100
>> 
>> 
>> Hi all,
>>  
>> I investigated a little more, with my connection problem.
>> in fact, even with a world and a kernel of this morning, i cannot connect
>> to my AP, because this one is hidden, (the ssid is not transmitted in his frames).
>> and wpa_supplicant does not recognize it even indicating his bssid.
>> when it is not hidden, all works fine with all machines.
>> the problem occurs only when the AP is hidden.
>> Something has changed between the 30-9-2007 and the 27-10, date of my update.
>> i can confirm that world and kernel of 30-9 connected quite well even
>> with a hidden AP.
>> 
>> Here is the config:
>> 
>> Current, on two machines, (one laptop with the iwi driver,
>> and one smp with ath builtin on the motherboard.
>> i use wpa_supplicant with both, and nothing has changed in the config.
>> of course the config_file points to the ssid and psk is correct.
>> wpa_supplicant -d see the mac address but reports a bad ssid "" (hidden),
>> but the ssid of the AP is present.
>> 
>> With some help perhaps i can investigate furthermore and solve the problem.
>> Thanks in advance.
>
>This looks just too obvious, so it is probably not the answer. Do you
>have "scan_ssid=1" in the network definition in
>/etc/wpa_supplicant.conf? It is required for unadvertised APs, even if
>the ssid is specified.
>
>Here is the (sanitized) entry for my home net which does not advertise
>(WEP, not WPA):
>network={
>        ssid="xyz1234"
>        scan_ssid=1
>        key_mgmt=NONE
>        wep_key0=0123456789ABCDEF0123456789
>        wep_tx_keyidx=0
>}

> R. Kevin Oberman, Network Engineer
>Energy Sciences Network (ESnet)
>Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
>E-mail: oberman at es.net			Phone: +1 510 486-8634


Hi Kevin,

Shanks for your answer and Sorry for the late reply, but i tried
all conbinations in the config_file...

there are two problems in fact,

1 as stated in a similar thread (re wpa_supplicant spam...)
the wpa_supplicant of our base system blank the ssid. this one from the port
collection does not blank it.

2 no carrier after configuring all.

here is my commands and their result:
=========
wpa_supplicant -d -iiwi0 -c /etc/wpa_supplicant.conf
Initializing interface 'iwi0' conf '/etc/wpa_supplicant.conf' driver 'default' ctrl_interface 'N/A' bridge 'N/A'
Configuration file '/etc/wpa_supplicant.conf' -> '/etc/wpa_supplicant.conf'
Reading configuration file '/etc/wpa_supplicant.conf'
Priority group 0
   id=0 ssid='HOME'
Initializing interface (2) 'iwi0'
EAPOL: SUPP_PAE entering state DISCONNECTED
EAPOL: KEY_RX entering state NO_KEY_RECEIVE
EAPOL: SUPP_BE entering state INITIALIZE
EAP: EAP entering state DISABLED
EAPOL: External notification - portEnabled=0
EAPOL: External notification - portValid=0
Own MAC address: 00:19:c4:aa:af:6e
wpa_driver_bsd_set_wpa: enabled=1
wpa_driver_bsd_set_wpa_internal: wpa=3 privacy=1
wpa_driver_bsd_del_key: keyidx=0
wpa_driver_bsd_del_key: keyidx=1
wpa_driver_bsd_del_key: keyidx=2
wpa_driver_bsd_del_key: keyidx=3
wpa_driver_bsd_set_countermeasures: enabled=0
wpa_driver_bsd_set_drop_unencrypted: enabled=1
Setting scan request: 0 sec 100000 usec
Added interface iwi0
State: DISCONNECTED -> SCANNING
Starting AP scan (specific SSID)
Scan SSID - hexdump_ascii(len=7):     HOME
Trying to get current scan results first without requesting a new scan to speed up initial association
Received 0 bytes of scan results (0 BSSes)
Scan results: 0
Selecting BSS from priority group 0
Try to find WPA-enabled AP
Try to find non-WPA AP
No suitable AP found.
Setting scan request: 0 sec 0 usec
Starting AP scan (broadcast SSID)
Received 0 bytes of scan results (5 BSSes)
Scan results: 5
Selecting BSS from priority group 0
Try to find WPA-enabled AP
1: c6:18:70:1d:1f:9c ssid='' wpa_ie_len=28 rsn_ie_len=0 caps=0x11
   skip - SSID mismatch
=========
		ifconfig iwi0
iwi0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
	inet 192.168.0.2 netmask 0xffffff00 broadcast 192.168.0.255
	media: IEEE 802.11 Wireless Ethernet autoselect
	status: no carrier
	ssid HOME channel 11 (2462 Mhz 11g)
	authmode WPA1+WPA2/802.11i privacy ON deftxkey UNDEF bmiss 10
	scanvalid 60 bgscan bgscanintvl 300 bgscanidle 250 roam:rssi11g 7
	roam:rate11g 5 protmode CTS roaming MANUAL
==========

Best regards

raoul rmgls at free.fr


More information about the freebsd-current mailing list