2 Replies Latest reply on Mar 30, 2017 10:39 PM by Electrumpet

    wpa_supplicant.conf breaks with multiple networks in jubilinux


      Recently flashed my edison with jubilinux and am trying to configure wpa_supplicant.conf to use multiple networks. My /etc/network/interfaces file is set up correctly with the following lines:


      auto wlan0
      iface wlan0 inet dhcp
          wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf


      everything works fine when only one network is configured in wpa_supplicant.conf, but when I add a second network (even a test network with a simple ssid and psk), "ifup wlan0" yields the following:


      wpa_supplicant: /sbin/wpa_supplicant daemon failed to start
      run-parts: /etc/network/if-pre-up.d/wpasupplicant exited with return code 1
      Failed to bring up wlan0.


      Commenting out or deleting the second network from wpa_supplicant.conf allows wlan0 to come up.


      Any help would be appreciated.