<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Dan Williams wrote:<br>
<br>
Is that possible in wpa_supplicant-0.6.9 ? I am right about my question
and the configuration is correct.<br>
<br>
I have created a network in which iwconfig displays like -<br>
<br>
&nbsp; &nbsp;&nbsp; &nbsp; &nbsp;&nbsp; ESSID:"UJJAL"&nbsp; Nickname:""<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Mode:Ad-Hoc&nbsp; Frequency:2.437 GHz&nbsp; Cell: 02:21:01:4D:70:31&nbsp;&nbsp; <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Bit Rate:54 Mb/s&nbsp;&nbsp; Tx-Power=9 dBm&nbsp;&nbsp; <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Retry limit:9&nbsp;&nbsp; RTS thr=2347 B&nbsp;&nbsp; Fragment thr=2346 B&nbsp;&nbsp; <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Encryption key:&lt;too big&gt;&nbsp;&nbsp; Security mode:open<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Power Management:off<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Link Quality:0/100&nbsp; Signal level:-98 dBm&nbsp; Noise level:-98 dBm<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Rx invalid nwid:0&nbsp; Rx invalid crypt:0&nbsp; Rx invalid frag:110771<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Tx excessive retries:12&nbsp; Invalid misc:260&nbsp;&nbsp; Missed beacon:0<br>
<br>
I want to join with this network. Is there any application, if
wpa_supplicant will not work, which can join to this network?<br>
<br>
Thanks,<br>
Ujjal Roy<br>
<blockquote cite="mid:1257491553.18712.1.camel@localhost.localdomain"
 type="cite">
  <pre wrap="">On Fri, 2009-11-06 at 12:20 +0530, Ujjal Roy wrote:
  </pre>
  <blockquote type="cite">
    <pre wrap="">Hi All,

I have an IBSS(start) network(Ad-Hoc WPA-PSK) with the following
configuration -

ssid="ADHOC_WPA_PSK"
key_mgmt=WPA-PSK
pairwise=TKIP
group=TKIP
passphrase="1234567890"
    </pre>
  </blockquote>
  <pre wrap=""><!---->
That configuration is wrong, at least for 0.6.x and less.  You want:

mode=1
key_mgmt=WPA-NONE
pairwise=NONE
group=TKIP

Dan

  </pre>
  <blockquote type="cite">
    <pre wrap="">Now, my question is - can wpa_supplicant join with the above IBSS
network?
The following configuration is for the wpa_supplicant -

##### Example wpa_supplicant configuration file
###############################
update_config=1
ctrl_interface=/var/run/wpa_supplicant
eapol_version=2
ap_scan=1
fast_reauth=1

# Example blocks:
# Simple case: WPA-PSK, PSK as an ASCII passphrase, allow all valid
ciphers
network={
    ssid="ADHOC_WPA_AP"
    mode=1
    proto=WPA
    key_mgmt=WPA-PSK
    pairwise=TKIP
    group=TKIP
    psk="1234567890"
    priority=1
}

Please reply with your comments as early as possible, because I have
no other known application which can test this block of network.

Thanks,
Ujjal Roy
    </pre>
    <blockquote type="cite">
      <pre wrap="">On Fri, Oct 30, 2009 at 03:10:26AM +0530, Rajan Vijayaraghavan wrote:

  
      </pre>
      <blockquote type="cite">
        <pre wrap="">The config file for wpa_supplicant is like this:
    
        </pre>
      </blockquote>
      <pre wrap="">  
      </pre>
      <blockquote type="cite">
        <pre wrap="">eap=FAST
pac_file="c:\dirofwpasupp\fast-mschapv2.pac"
phase1="fast_provisioning=1"
phase2="auth=mschapv2"
    
        </pre>
      </blockquote>
      <pre wrap="">That is supposed to be phase2="auth=MSCHAPV2"

  
      </pre>
      <blockquote type="cite">
        <pre wrap="">The pem files are stored both the in the server and the client. After the
HostAPD is started on the linux machine, wpa_supplicant is used to connect
the client to the network. I am getting an error message like

"EAP-FAST: No Pac File 'c:\dirofwpasupp\fast-mschapv2.pac' - assume no PAC
entries have been provisioned.
    
        </pre>
      </blockquote>
      <pre wrap="">That is not an error message.

  
      </pre>
      <blockquote type="cite">
        <pre wrap="">CTRL-EVENT-EAP-METHOD EAP vendor 0 method 43 (FAST) selected.
    
        </pre>
      </blockquote>
      <pre wrap="">And neither is that one.

  
      </pre>
      <blockquote type="cite">
        <pre wrap="">CTRL-EVENT-EAP-FAILURE EAP authentication failed.

Can somebody please let me know if the above configuration is correct?
    
        </pre>
      </blockquote>
      <pre wrap="">I noticed one error in the wpa_supplicant configuration. If fixing that
does not resolve the problem, I would suggest taking a look at
wpa_supplicant debug log (run it with -dd on command line).

  
      </pre>
      <blockquote type="cite">
        <pre wrap="">I captured the packets in the air between the Access Point and the Station:
The EAP FAST REQUEST packet from AP to STA has the EAP FAST start bit set.
The SSL Secure Sockets Layer shows as "Unrecognized SSL Layer" - SSL Data
Cannot be Recognized".
    
        </pre>
      </blockquote>
      <pre wrap="">The tool that you used to parse the message does not seem to be able to
handle the EAP-FAST Start message correctly (it does not actually
include any SSL data).

  
      </pre>
      <blockquote type="cite">
        <pre wrap="">Where does the PAC file get created? On the Linux machine that runs the
hostapd or the windows machine that runs the wpa_supplicant.
Would it be created automatically on the client?
    
        </pre>
      </blockquote>
      <pre wrap="">The PAC file itself is created on the client. The PAC key stored in this
file is generated by the authentication server (hostapd in this case).

  
      </pre>
      <blockquote type="cite">
        <pre wrap="">Also how do I use Juniper Access Client to work in EAP FAST method. I
checked with Juniper document but to no avail. Any helpful pointer would be
great.
    
        </pre>
      </blockquote>
      <pre wrap="">That would be a question for Juniper, not this mailing list..

  
      </pre>
    </blockquote>
    <pre wrap="">_______________________________________________
HostAP mailing list
<a class="moz-txt-link-abbreviated" href="mailto:HostAP@lists.shmoo.com">HostAP@lists.shmoo.com</a>
<a class="moz-txt-link-freetext" href="http://lists.shmoo.com/mailman/listinfo/hostap">http://lists.shmoo.com/mailman/listinfo/hostap</a>
    </pre>
  </blockquote>
  <pre wrap=""><!---->
  </pre>
</blockquote>
<br>
</body>
</html>