wpa_supplicant.conf Error

Discussion in 'Other technical not related to ADSBx Feeding' started by Michael Stanway, Jul 6, 2020.

  1. Michael Stanway

    Michael Stanway New Member

    Hi All. I have carried out a clean install of the latest version of ADSBx Custom Pi Image and it all installed fine. I plan to use this RPi as a portable feed at air display sites. I can feed via a LAN cable OK. However, it doesn't matter what format, encoding, etc, of the wpa_supplicant.conf file I use the wifi will not run.

    Going into the Pi desktop and using option 2 to setup the wifi gives me "Could not communicate with wpa_supplicant". Anyone have any ideas? I'm sure it's something simple but Google has failed me for the last 4 hours:-(
     
  2. wiedehopf

    wiedehopf Administrator Staff Member

    do you have the country set?
     
  3. wiedehopf

    wiedehopf Administrator Staff Member

    ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
    update_config=1
    country=GB

    network={
    ssid="SchoolNetworkSSID"
    psk="passwordSchool"
    }


    The above is all you need.
     
  4. Michael Stanway

    Michael Stanway New Member

    Thanks for the replies. This is what I am using:

    ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
    country=GB
    update_config=1

    network={
    ssid=“HomeNetSSID”
    psk="a********z"
    }

    Is the order of the lines relevant?
     
  5. wiedehopf

    wiedehopf Administrator Staff Member

  6. Jhonny Monclair

    Jhonny Monclair Active Member

    Maybe it sounds stupid but...try to set the "country=GB" as first line of the file...