This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

WPA supplicant configuration for wl18xx

Expert 1985 points


Hi

In reference to wiki ti page "Connect to Secure AP using WPA Supplicant", is there any way to have a common configuration for wpa supplicant irrespective of authentication protocol [WPA/WPA2/WEP/Enterprise].

In our use case, only SSID and password are given by user. I would like to know the possibility of configuring wpa_supplicant.conf in such a way that, it should support all the authentication protocols.

Any suggestions would be really appreciated.

Thanks & Regards,

Ijaz Fazily 

  • Hi Ijaz,

    You can take a look at the Linux man page at: linux.die.net/.../wpa_supplicant.conf
    There is an option but it is not recommended (see below).

    ***
    Catch all example that allows more or less all configuration modes. The configuration options are used based on what security policy is used in the selected SSID. This is mostly for testing and is not recommended for normal use.

    ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=wheel
    network={
    ssid="example"
    scan_ssid=1
    key_mgmt=WPA-EAP WPA-PSK IEEE8021X NONE
    pairwise=CCMP TKIP
    group=CCMP TKIP WEP104 WEP40
    psk="very secret passphrase"
    eap=TTLS PEAP TLS
    identity="user@example.com"
    password="foobar"
    ca_cert="/etc/cert/ca.pem"
    client_cert="/etc/cert/user.pem"
    private_key="/etc/cert/user.prv"
    private_key_passwd="password"
    phase1="peaplabel=0"
    ca_cert2="/etc/cert/ca2.pem"
    client_cert2="/etc/cer/user.pem"
    private_key2="/etc/cer/user.prv"
    private_key2_passwd="password"
    }
    ***

    Regards,
    Gigi Joseph.
  • Hi Gigi,

    Thank you very much for the response. I have one more doubt to clarify. If we know the SSID, is there any method to know the security policy used?.


    Regards,
    Ijaz Fazily
  • Hi Ijaz,

    The beacon frame/probe response should contain this information. You can do a scan and find the entry with the SSID.

    Regards,
    Gigi Joseph.