Hi,

I'd like to setup an adhoc wireless connection. I created the
following config file /etc/wpa_supplicant.conf:

ctrl_interface=/var/run/wpa_supplicant
network={
       ssid="adhoc-vinc17"
       mode=1
       key_mgmt=NONE
       auth_alg=SHARED
       wep_key0=1234567812
       wep_tx_keyidx=0
       priority=5
}

According to the documentation, mode=1 corresponds to adhoc.

(Note: I must use WEP because the other device (N810) only
supports that for adhoc.)

But I get the following:

# wpa_supplicant -iwlan0 -c/etc/wpa_supplicant.conf -d
Initializing interface 'wlan0' 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'
ctrl_interface='/var/run/wpa_supplicant'
Priority group 5
   id=0 ssid='adhoc-vinc17'
Interface wlan0 set UP - waiting a second for the driver to complete 
initialization
SIOCGIWRANGE: WE(compiled)=22 WE(source)=21 enc_capa=0xf
  capabilities: key_mgmt 0xf enc 0xf flags 0x0
WEXT: Operstate: linkmode=1, operstate=5
[...]
State: DISCONNECTED -> SCANNING
Starting AP scan (broadcast SSID)
Trying to get current scan results first without requesting a new scan to speed 
up initial association
Received 1118 bytes of scan results (3 BSSes)
CTRL-EVENT-SCAN-RESULTS 
Selecting BSS from priority group 5
Try to find WPA-enabled AP
0: 00:1d:6a:98:ce:a5 ssid='Livebox-62A1' wpa_ie_len=22 rsn_ie_len=0 caps=0x11
   skip - SSID mismatch
1: 16:a9:4c:04:e0:35 ssid='adhoc-vinc17' wpa_ie_len=0 rsn_ie_len=0 caps=0x12
   skip - no WPA/RSN IE
2: 00:1a:6b:ca:4e:69 ssid='Livebox-cc10' wpa_ie_len=0 rsn_ie_len=0 caps=0x11
   skip - no WPA/RSN IE
Try to find non-WPA AP
0: 00:1d:6a:98:ce:a5 ssid='Livebox-62A1' wpa_ie_len=22 rsn_ie_len=0 caps=0x11
   skip - SSID mismatch
1: 16:a9:4c:04:e0:35 ssid='adhoc-vinc17' wpa_ie_len=0 rsn_ie_len=0 caps=0x12
   skip - IBSS (adhoc) network
2: 00:1a:6b:ca:4e:69 ssid='Livebox-cc10' wpa_ie_len=0 rsn_ie_len=0 caps=0x11
   skip - SSID mismatch
No suitable AP found.
Setting scan request: 0 sec 0 usec
Starting AP scan (broadcast SSID)
ioctl[SIOCSIWSCAN]: Device or resource busy
Scan requested (ret=-1) - scan timeout 5 seconds
Failed to initiate AP scan.

Why is IBSS skipped?

-- 
Vincent Lefèvre <vinc...@vinc17.org> - Web: <http://www.vinc17.org/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/>
Work: CR INRIA - computer arithmetic / Arenaire project (LIP, ENS-Lyon)


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to